ClaudeSkills MCP Server
Exposes Anthropic Claude Agent Skills as MCP tools for discovery, search, and reading skill guidance and assets.
README
Skills MCP — FastMCP stdio server for Claude Agent Skills
This repository provides a FastMCP stdio server that exposes the Anthropic Claude Agent Skills (folders under skills/) as MCP tools. It lets MCP-aware clients (e.g., Claude Desktop, other MCP agent runtimes) discover, search, and read skills and their assets programmatically.
The server entrypoint is the packaged module skills_mcp.server (console script skills-mcp). It scans the skills/ directory for SKILL.md files conforming to the Agent Skills Spec (YAML frontmatter + Markdown body) and exposes a set of read-only tools.
Repository layout
skills/— Collection of Claude skills. Each skill must contain aSKILL.mdwith YAML frontmatter per the Agent Skills Spec. Note: this folder is gitignored by default; the server can optionally git-sync it at startup.skills_mcp/— Packaged server module (entry:skills_mcp.server) exposing skill discovery/search/read as MCP tools over stdio.pyproject.toml— Project metadata and dependencies (managed viauv).
Requirements
- Python
>=3.11 uvpackage manager installed (https://docs.astral.sh/uv/)- A shell to run commands; examples below assume
fish(usesource .venv/bin/activatefor bash/zsh).
Setup with uv
You can either fully sync dependencies from pyproject.toml or install in editable mode:
-
Create a virtual environment and install:
uv venvsource .venv/bin/activate.fishuv pip install -e .
-
Or perform a one-shot sync:
uv sync- Then activate:
source .venv/bin/activate.fish
Package name: skills-mcp The server depends on:
fastmcppyyaml
Both are declared in pyproject.toml.
Running the server (stdio)
The server uses stdio transport by default when executed as a script. From the repository root:
python -m skills_mcp.server- Or via console script after editable install:
skills-mcp(starts stdio server) - CLI/inspection mode:
skills-mcp-cli --list|--detail <NAME>|--search "<QUERY>"|--assets <NAME>|--read <NAME> <PATH>|--serve - Or with module:
python -m skills_mcp.server(use flags above)
When launched by an MCP client (e.g., Claude Desktop), the client will spawn this script and connect via stdio automatically.
Server-level documentation
- Name: ClaudeSkills MCP Server
- Purpose: Exposes Anthropic Claude Agent Skills located in the
skills/folder as MCP tools so agents can discover, search, and read skill guidance and assets. - Transport: stdio by default.
- Background git sync: On startup, a background thread can clone or pull updates into
skills/. Configure via environment:SKILLS_GIT_URL: git URL for the skills repository (optional)SKILLS_GIT_BRANCH: branch name (default:main)SKILLS_DIR: override skills directory (default:<repo_root>/skills)
- Logging: Logs to console and to a rotating file at
logs/skills_mcp_server.logby default. Override withLOG_FILEenvironment variable.
Exposed MCP tools
The server registers the following tools:
-
list_skills() -> list[dict]- Lists all discovered skills with brief metadata.
- Returns entries containing
name,description,license?,allowed_tools?,metadata?, andpath(relative toskills/).
-
get_skill_detail(name: str) -> dict[str, any]- Returns the full parsed content of a single skill by
name, including thebody(markdown) and the frontmatter properties.
- Returns the full parsed content of a single skill by
-
search_skill_index(query: str) -> list[dict]- Case-insensitive substring search across
name,description, and the markdownbody. - Returns brief matches with
name,description,path.
- Case-insensitive substring search across
-
list_skill_assets(name: str) -> list[dict]- Lists non-
SKILL.mdfiles inside the skill’s directory (recursively). - Returns
path(relative to skill),size, andmime_type.
- Lists non-
-
read_skill_asset(name: str, path: str, max_bytes: int = 1048576) -> dict[str, any]- Reads a single file inside the given skill.
- Returns:
encoding:textorbase64data: UTF-8 text or base64-encoded bytesmime_type: best-effort MIME type guesstruncated:trueifmax_bytescut the file
Notes:
- Path traversal is blocked;
pathmust remain within the skill directory. - Text vs. binary detection is based on MIME type and UTF-8 decode capability.
- Large files are truncated to
max_bytes(defaults to 1 MiB).
Claude Desktop / MCP client integration
- Configure your MCP client to launch the console script
skills-mcp(or runpython -m skills_mcp.server) via stdio. - If your client supports a configuration object for MCP servers, specify:
transport:stdiocommand:pythonargs:["-m", "skills_mcp.server"]- Optionally
cwd: repository root - Optionally
env: relevant environment variables (none required by default)
Different clients format this configuration differently; consult your client’s documentation for the exact shape.
Validating skills
Each skill must satisfy the Agent Skills Spec:
- Include a
SKILL.mdstarting with YAML frontmatter delimited by---on its own line at the start and---on its own line when it ends. - Required keys:
name: hyphen-case; must match the folder name containing theSKILL.mddescription: concise guidance for when and how the skill should be used
- Optional keys:
licenseallowed-toolsmetadata
If parsing fails, the server still returns a placeholder entry for the skill and includes an error message under metadata.
Development notes
- Transport: stdio is the default; no extra configuration required.
- Logging: console and rotating file logs at
logs/skills_mcp_server.log(configurable viaLOG_FILE); errors parsing invalid skills are reported but do not stop discovery. - Security: asset reads are constrained to the skill directory; path traversal is rejected.
- MIME types:
guess_typeis used as a best effort; some uncommon types may returnNone.
Tests
- After creating the venv and syncing deps, run:
pytest -q. - Tests live in
tests/and cover discovery, detail retrieval, asset listing/reading.
Troubleshooting
- If your environment complains about missing dependencies, ensure you activated the virtual environment created by
uv venv. - If editable install fails due to missing
README.md, ensure this file exists (it should now). - If your MCP client cannot find or start the server, check that the
command/argspaths and working directory are correct and that Python>=3.11is used.
Open questions and potential improvements
To tailor this server to your workflow, it would help to clarify:
- Should we also expose the skills as MCP resources (e.g., each
SKILL.mdand related assets available viaresource://URIs)? - Do you want an HTTP/SSE transport option alongside stdio for remote usage?
- Should we add indexing/caching for faster
search_skill_indexon large collections? - Any access-control requirements (e.g., filtering certain skills, enforcing
allowed-tools)? - Should we enforce stricter validation for nested skill structures (e.g.,
document-skills/docx) or allow folder naming exceptions? - Would you like optional rendering helpers (e.g., HTML previews, markdown normalization, or metadata summaries)?
If you want any of the above, or have specific preferences, let me know and I can extend the server accordingly.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.