Generate Claude Code skill folders from MCP server configurations
npm install @mutemoon/mcp-to-skillGenerate Claude Code skill folders from MCP server configurations. This tool helps reduce context usage by organizing MCP tool schemas into separate files while keeping descriptions readable.
``bash`
npm install -g @mutemoon/mcp-to-skill
`bash`
npx @mutemoon/mcp-to-skill --config
- --config - Path to MCP servers config JSON file--output
- - Output directory for generated skills (default: ./skills)--server
- - (Optional) Generate skill for specific server only
`json`
{
"mcpServers": {
"lowcode": {
"command": "npx",
"args": ["-y", "@skyland/lowcode-mcp"]
},
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path"]
}
}
}
For each MCP server, a skill folder is generated:
``
skills/
└── using-lowcode/
├── SKILL.md # Tool descriptions and usage
├── mcp.json # Server config for call-mcp-tool
└── references/
├── create-view.json # Input schema for create-view tool
└── edit-view.json # Input schema for edit-view tool
``markdown
---
name: using-lowcode
description: Tools provided by the lowcode MCP server
---
Creates a new view component.
Input Schema: create-view.json (approx. 150 words)
- [ ] Use Read skill to read the input schema.
- [ ] Call tools using the call-mcp-tool CLI:
`bash`
npx -y call-mcp-tool@latest --config path/to/skill/mcp.json --tool ``
`bash``Generate skills from your MCP config
npx @mutemoon/mcp-to-skill \
--config ~/.claude/mcp_servers.json \
--output ./my-skills