AI Skills MCP Server
Compiles skill definitions and serves them to AI agents via MCP, enabling tools for context packing, dependency resolution, and skill searching.
README
AI Skills MCP Server
MCP server that compiles ai-skills skill definitions and serves them to AI agents over the Model Context Protocol. Skills are bundled — zero config required.
npx ai-skills-mcp start
Register in your MCP client config:
{
"mcpServers": {
"ai-skills": {
"command": "npx",
"args": ["ai-skills-mcp", "start"]
}
}
}
How the AI Uses Skills
Skills are not automatically injected into the AI's context. The MCP server exposes tools that the AI chooses to call. The typical flow:
- AI receives a task (e.g. "install python dependencies")
- AI calls
pack_context("install python dependencies")— the server finds relevant skills (uv, anti-global-install, etc.), resolves their transitive dependencies, and returns packed skill content within token limits - AI reads the returned skill instructions and follows them
This requires the AI to know about pack_context. See docs/ai-workflow.md for setup guidance and the skill-loader skill which teaches this pattern.
Commands
| Command | Description |
|---|---|
start |
Start MCP server (stdio or SSE) |
compile |
Compile skills and save registry |
list |
List all compiled skills |
start flags
| Flag | Default | Description |
|---|---|---|
-d, --skills-dir |
(bundled) | Override path to skills directory |
-t, --transport |
stdio |
stdio or sse |
-p, --port |
3000 |
Port for SSE transport |
-r, --registry |
registry.json |
JSON registry path |
--sqlite <path> |
— | Use SQLite registry instead of JSON |
--no-registry |
— | Skip registry persistence |
MCP Tools
| Tool | Description |
|---|---|
list_skills |
List all compiled skills |
get_skill |
Get full compiled skill by name |
search_skills |
Search skills by keyword |
resolve_dependencies |
Get dependency graph for a skill |
pack_context |
Build a context pack for a task |
get_dependents |
Find skills that reference a given skill |
get_stats |
Registry statistics |
MCP Resources
| URI | Description |
|---|---|
skill://{name} |
Full compiled skill |
skill://{name}/deps |
Dependencies of a skill |
skill://{name}/dependents |
Skills that reference this one |
Documentation
| Doc | Description |
|---|---|
| docs/ai-workflow.md | How the AI discovers and uses skills |
| docs/how-it-works.md | Compiler, resolver, packer internals |
| docs/architecture.md | Project design and data flow |
| docs/api.md | Full MCP tool and resource reference |
| docs/skill-format.md | How to write a SKILL.md |
| docs/project-scope.md | Scope, limitations, roadmap |
Architecture
flowchart LR
Skills["skills/"] --> Compiler["SkillCompiler"]
Compiler --> Resolver["DependencyResolver"]
Compiler --> Packer["ContextPacker"]
Compiler --> Registry["Registry"]
Resolver --> MCP["MCP Server"]
Packer --> MCP
Registry --> MCP
MCP --> Tools["7 tools"]
MCP --> Resources["3 resource URIs"]
style Skills fill:#1a1a2e,color:#eee
style Compiler fill:#4a90d9,color:#fff
style Resolver fill:#50b86c,color:#fff
style Packer fill:#e6a020,color:#fff
style Registry fill:#9b59b6,color:#fff
style MCP fill:#1abc9c,color:#fff
style Tools fill:#34495e,color:#eee
style Resources fill:#34495e,color:#eee
See docs/architecture.md for the full import graph and docs/how-it-works.md for the pipeline.
Transports
- stdio (default) — Claude Desktop, Cursor, etc.
- SSE — remote deployments:
--transport sse --port 3000
Registries
- JSON (default) — file-based, easy to debug
- SQLite — persistent, queryable:
--sqlite ./registry.db - Memory — ephemeral,
--no-registry
Development
npm install
npm run build
npm start -- --no-registry
npm test
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.