Skills MCP

Skills MCP

Transform any AI agent into a domain expert by giving it access to modular, reusable skills through the Model Context Protocol. Brings Claude's Skills format to any MCP-compatible agent, allowing you to create skills once and use them everywhere.

Category
访问服务器

README

Skills MCP

Transform any AI agent into a domain expert by giving it access to modular, reusable skills through the Model Context Protocol.

Inspired by Claude Skills: This MCP server brings Claude's Skills pattern to any MCP-compatible agent.

  • What: An MCP server that brings Claude's Skills format to any MCP-compatible agent
  • Why: Create skills once, use them everywhere—across Claude, VS Code, Cursor, and any MCP tool
  • How: Point the server at your skills directory and agents discover them automatically

Quick Setup

The fastest way to get started is with npx. Choose your platform:

<details> <summary><strong>Claude Code</strong></summary>

Create .mcp.json in your project or ~/.claude.json globally:

{
  "mcpServers": {
    "skills-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "skills-mcp", "-s", "/absolute/path/to/skills"]
    }
  }
}

</details>

<details> <summary><strong>Claude for Desktop</strong></summary>

Create ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "skills-mcp": {
      "command": "npx",
      "args": ["-y", "skills-mcp", "-s", "/absolute/path/to/skills"]
    }
  }
}

</details>

<details> <summary><strong>Cursor</strong></summary>

Create .cursor/mcp.json in your project or ~/.cursor/mcp.json globally:

{
  "mcpServers": {
    "skills-mcp": {
      "command": "npx",
      "args": ["-y", "skills-mcp", "-s", "/absolute/path/to/skills"]
    }
  }
}

</details>

<details> <summary><strong>VS Code</strong></summary>

Create .vscode/mcp.json in your project:

{
  "servers": {
    "skills-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "skills-mcp", "-s", "/absolute/path/to/skills"]
    }
  }
}

</details>

Replace /absolute/path/to/skills with your actual skills directory path.

Try It Out

  1. Start the MCP server in your agent
  2. Recommended: Run the /init-skills prompt at the start of each session to provide background guidance on the Skills MCP workflow
  3. Alternative: Simply ask the agent to complete a task—it will discover and use skills when needed

That's it! Your agent can now discover and use skills.

Get Example Skills

Want to try it out with ready-made skills? Anthropic maintains a collection of example skills that you can bring into your project instantly using npx degit:

# Get the skill creator skill
npx degit anthropics/skills/skill-creator skills/skill-creator

# Get the MCP builder skill
npx degit anthropics/skills/mcp-builder skills/mcp-builder

These commands will download the skills directly into your skills/ directory without any git history. Browse the Anthropic skills repository to see all available examples.

Agent Instructions Setup

Want Skills MCP guidance always available in your agent's context? Export the instructions:

Recommended: Use AGENTS.md for broad agent support:

npx -y skills-mcp instructions >> AGENTS.md

For agents without AGENTS.md support:

# Claude Code
npx -y skills-mcp instructions >> CLAUDE.md

When to Use Instructions File vs /init-skills Prompt

  • Use instructions export if you want skills guidance always present in every conversation
  • Use /init-skills prompt if you want to minimize context usage and only load guidance when needed

Both approaches use the same content—choose based on your preference for context management.


Understanding Skills

<details> <summary><strong>What are Skills?</strong></summary>

Skills are modular, self-contained packages that transform general-purpose AI agents into specialized experts. Think of them as "onboarding guides" for specific domains or tasks—they provide procedural knowledge that no model can fully possess.

Example: A PDF Processing Skill might include:

  • Instructions for extracting text and filling forms
  • Python scripts for reliable PDF operations
  • Reference documentation for advanced use cases
  • Template files for generating documents

Instead of explaining PDF processing in every conversation, you install the skill once and the agent knows when and how to use it.

</details>

<details> <summary><strong>Why Skills MCP?</strong></summary>

While Claude has native Skills support built-in, this MCP server brings that same capability to other agents:

  • Universal compatibility: Any MCP-compatible agent can now use Claude Skills
  • Unified management: Single skills directory works across all agents and platforms
  • Optional for Claude: When using Claude Desktop or Claude Code, you can disable this server and use native Skills instead
  • Progressive disclosure: Skills load information in stages, minimizing context usage

Key benefit: Create skills once in Claude's format, use them everywhere—whether with Claude's native support or via MCP in VS Code, Cursor, and other tools.

</details>

<details> <summary><strong>How Skills Work</strong></summary>

Skills use a three-level progressive disclosure system to manage context efficiently:

  1. Metadata (~100 tokens): Name and description loaded at startup
  2. Instructions (~5k tokens): Main SKILL.md content loaded when skill is triggered
  3. Resources (loaded as needed): References, scripts, and assets accessed on-demand

This means you can install dozens of skills without context penalty—agents only load what they need, when they need it.

</details>


Creating Skills

<details> <summary><strong>Quick Start: Basic Skill Structure</strong></summary>

Skills follow Anthropic's convention-based format from Claude Skills:

skill-name/
├── SKILL.md              # Required: Skill metadata and instructions
├── references/           # Optional: Documentation loaded as needed
├── scripts/              # Optional: Executable code
└── assets/               # Optional: Templates and files for output

SKILL.md Format

---
name: Skill Name
description: What this skill does and when to use it (be specific!)
---

# Skill Name

## Instructions

[Step-by-step guidance for the agent]

## Examples

[Concrete usage examples]

Tips for writing good skills:

  • Make descriptions specific about WHEN to use the skill
  • Use imperative/infinitive form in instructions ("To do X, use Y")
  • Keep SKILL.md under 5k words; move detailed docs to references/
  • Bundle scripts for deterministic operations
  • Include templates in assets/ for files used in output

For more details, see the Skills specification.

</details>


Advanced Usage

<details> <summary><strong>Command Line Options</strong></summary>

Arguments

  • -s, --skills-dir: Path to skills directory (required, can be specified multiple times, must be absolute paths)

Multiple Skills Directories

When specifying multiple skills directories, all directories are scanned for skills. If multiple skills with the same ID are found across different directories, a warning will be logged and the last loaded skill will be used.

Example configuration with multiple directories:

{
  "servers": {
    "skills-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "skills-mcp",
        "-s",
        "/path/to/skills1",
        "-s",
        "/path/to/skills2"
      ]
    }
  }
}

Testing the Server

You can test the server manually using stdio:

npx skills-mcp --skills-dir /absolute/path/to/skills

The server will start and wait for JSON-RPC messages on stdin. Press Ctrl+C to stop the server.

</details>

<details> <summary><strong>Security Considerations</strong></summary>

⚠️ Important: Skills provide agents with instructions and executable code. Only use skills from trusted sources—those you created yourself or obtained from Anthropic.

A malicious skill can:

  • Direct agents to invoke tools in harmful ways
  • Execute code with the agent's privileges
  • Access or expose sensitive data

Treat skills like software installation: Only install from trusted sources, especially in production systems with access to sensitive data or critical operations.

For more details, see the Security Considerations section in the spec.

</details>


API Reference

<details> <summary><strong>Available Tools</strong></summary>

list_skills

Lists all available skills with their metadata.

Output:

{
  "skills": [
    {
      "id": "pdf-processing",
      "name": "PDF Processing",
      "description": "Extract text and tables from PDF files..."
    }
  ]
}

get_skill

Retrieves the full skill content and absolute path.

Input:

{
  "id": "pdf-processing"
}

Output:

{
  "path": "/Users/username/.claude/skills/pdf-processing/SKILL.md",
  "name": "PDF Processing",
  "description": "Extract text and tables...",
  "content": "# PDF Processing\n\n## Quick start\n..."
}

</details>

<details> <summary><strong>Available Prompts</strong></summary>

init-skills

Provides informational guidance about the Skills MCP workflow. This prompt:

  • Explains what skills are and how they're structured
  • Outlines the progressive disclosure model (load only what you need, when you need it)
  • Describes the step-by-step workflow for discovering, loading, and using skills
  • Clarifies that the MCP is a minimal wrapper—agents handle all file operations

When to use: Run at the start of a conversation to provide background context. The prompt is informational only—it doesn't trigger any immediate actions. Agents will use skills when they encounter tasks that match available skill descriptions.

</details>

<details> <summary><strong>How It Works</strong></summary>

The Skills MCP follows a minimal wrapper design that leverages the full capabilities of modern AI agents:

What the server provides:

  • Skill discovery and metadata
  • Skill content with absolute file paths
  • Skills-specific context formatting

What agents handle (using their existing tools):

  • Reading referenced files (references/, scripts/, assets/)
  • Executing scripts
  • Searching and navigating directories

Example workflow:

  1. Agent calls list_skills and finds "PDF Processing"
  2. Agent calls get_skill and receives /path/to/pdf-processing/SKILL.md
  3. Skill mentions references/FORMS.md for advanced features
  4. Agent constructs full path and reads it: /path/to/pdf-processing/references/FORMS.md
  5. Agent executes scripts: cd /path/to/pdf-processing && python scripts/fill_form.py

This design keeps the MCP server simple while giving agents maximum flexibility.

</details>


Learn More

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选