MCP Skills Manager

MCP Skills Manager

A server that serves reusable markdown skills (instructions, playbooks, references) to agents, with a web UI for editing and organizing skills, profiles, and both HTTP and stdio transports.

Category
访问服务器

README

MCP Skills Manager

An MCP server that serves skills — reusable markdown documents (instructions, playbooks, references) — to agents. Write and organize skills in a web UI; agents load them over MCP.

Every skill is exposed two ways at once:

  • as an MCP tool — calling it returns the skill's markdown body (plus a note listing any bundled supporting files), so an agent can pull a skill on demand;
  • as an MCP resource at skill://<name> — for clients that browse and attach resources.

A list_skills tool on every endpoint returns a JSON catalogue of the available skills — name, description, format, supporting files, and the tool name to call to load each — with no bodies, so an agent can discover what's on offer and decide which skills are worth loading.

The root endpoint /mcp serves all skills. Profiles are named subsets served at their own endpoint /mcp/p/<slug>, so you can hand a specific agent just the skills it needs. Everything is also available over stdio for local clients.

Features

  • 📝 Markdown editor in the web UI with live split-pane preview
  • 🗂️ Skill CRUD — create, rename, edit, and delete skills
  • 🧩 Profiles — group skills into filtered endpoints
  • 📁 Two skill formats — a flat <name>.md file, or a <name>/SKILL.md directory (Claude Code convention) with supporting files
  • 🔌 HTTP and stdio transports
  • 🗃️ Flat-file config — hand-editable on disk, watched and hot-reloaded
  • 🔐 Bearer-token auth guarding the API and MCP endpoints

Quick start

npm install
npm run dev          # server on :3001, web UI on :3000 (proxies to the server)

Open http://localhost:3000. On first run a bearer token is generated into data/config/settings.json and printed to the server logs; paste it into the web UI when prompted.

Production

npm run build        # shared → server → app
npm run start        # HTTP server on :3000, also serving the built web UI

Or with Docker:

docker compose up --build      # mounts ./data at /data, serves on :3000

Connecting an agent

HTTP

Point an MCP client at the streamable-HTTP endpoint:

  • All skills: http://localhost:3000/mcp
  • A profile: http://localhost:3000/mcp/p/<slug>

Send the bearer token as Authorization: Bearer <token>.

stdio

Run the packaged stdio entry (installed as the mcp-skills-stdio bin):

# all skills
mcp-skills-stdio --data-dir /path/to/data

# only a profile's skills
mcp-skills-stdio --data-dir /path/to/data --profile <slug>

Example Claude Desktop / MCP client config:

{
  "mcpServers": {
    "skills": {
      "command": "mcp-skills-stdio",
      "args": ["--data-dir", "/path/to/data", "--profile", "backend"]
    }
  }
}

Skills on disk

Skills live under DATA_DIR/skills/ in either of two shapes:

Flat fileDATA_DIR/skills/commit-messages.md:

---
name: commit-messages
description: Write clear, conventional git commit messages.
---

# Writing good commit messages

...the skill body...

Directory (Claude Code convention) — DATA_DIR/skills/pdf-forms/SKILL.md plus any supporting files (reference.md, scripts, templates). Supporting files are listed on the skill and referenced in the rendered tool output so the agent knows they exist.

The frontmatter name must be a slug: lowercase letters, digits, ., _, - (max 64 chars). description is surfaced as the MCP tool/resource description.

Profiles

A profile is a JSON file at DATA_DIR/config/profiles/<slug>.json:

{
  "name": "Backend",
  "slug": "backend",
  "enabled": true,
  "description": "Skills for backend work.",
  "skills": ["commit-messages", "pdf-forms"]
}

It is served at /mcp/p/backend (HTTP) and via --profile backend (stdio). Disabled profiles return 404. Manage profiles from the Profiles page in the web UI, or edit the files directly — changes are picked up automatically.

Configuration

Everything lives under DATA_DIR (default ./data):

data/
├── config/
│   ├── settings.json          # port, auth token, auth toggle
│   └── profiles/
│       └── <slug>.json        # one file per profile
└── skills/
    ├── <name>.md              # flat-file skill
    └── <name>/                # directory-format skill
        ├── SKILL.md
        └── <supporting files>

Edits on disk are watched (debounced) and hot-reloaded; you can also force a re-read with the Reload button on the Settings page or POST /api/reload.

Environment variables

Variable Default Description
DATA_DIR ./data Root directory for skills and config
PORT 3000 (or settings.json) HTTP listen port
MCP_SKILLS_TOKEN Bearer token; overrides the one in settings.json
SECURE_LOCAL_NET false Set true to disable auth entirely (trusted networks only)

If no token is configured and SECURE_LOCAL_NET is not set, a random token is generated into settings.json on first run and logged.

HTTP API

All routes require the bearer token (unless SECURE_LOCAL_NET=true).

Method Path Description
GET /api/status Version, uptime, skill/profile counts
GET /api/skills List skills (summaries)
POST /api/skills Create a skill
GET /api/skills/:name Get a skill (with body)
PATCH /api/skills/:name Update body/description, or rename
DELETE /api/skills/:name Delete a skill
GET /api/profiles List profiles
POST /api/profiles Create a profile
GET /api/profiles/:slug Get a profile
PATCH /api/profiles/:slug Update a profile
DELETE /api/profiles/:slug Delete a profile
POST /api/reload Re-read all config from disk
ALL /mcp MCP endpoint — all skills
ALL /mcp/p/:slug MCP endpoint — a profile's skills

Architecture

Monorepo with npm workspaces:

  • shared/ — zod schemas and inferred types; the single source of truth for config-file shapes and REST DTOs.
  • server/ — Express 5 + the MCP TypeScript SDK. A ConfigStore owns the flat-file state (atomic writes, chokidar watching); the gateway builds an MCP Server exposing skills as tools and resources over HTTP (stateless StreamableHTTPServerTransport) or stdio.
  • app/ — React 19 + Vite + shadcn/ui + TanStack Router/Query. The markdown editor uses react-markdown + remark-gfm.

See AGENTS.md for development conventions.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选