036511ab3e
Broadens both reach (more tools) and content types (an MCP server), continuing the multi-platform story. Windsurf + Aider: - build-exports.mjs gains two platforms: exports/windsurf/*.md (workspace rules, trigger: model_decision) and exports/aider/*.md (conventions for `aider --read`). Now 5 platforms (ChatGPT, Gemini, Cursor, Windsurf, Aider). - install.sh + bin/cli.mjs install both (windsurf -> .windsurf/rules, aider -> .aider/skills with a --read hint); generated README index is excluded from copies. - One-line windsurf-install.sh / aider-install.sh wrappers for parity. MCP server (new content type): - mcp/server.mjs — zero-dependency stdio MCP server exposing list_skills, search_skills, get_skill. Published as a second bin (pm-claude-skills-mcp). Logs to stderr; reads bundled skills/ at startup. mcp/README.md documents client config. Also: README hero "See it in action" demo placement (ready to swap in a GIF; recording guide in web/docs-assets/README.md), Works-With table + exports + install docs updated, CHANGELOG Unreleased. package.json files/bin updated. Claude-Session: https://claude.ai/code/session_016JWn5jRD5tcEFKrubjQ6Px Co-authored-by: Claude <noreply@anthropic.com>
46 lines
1.4 KiB
Markdown
46 lines
1.4 KiB
Markdown
# MCP Server
|
|
|
|
A zero-dependency [Model Context Protocol](https://modelcontextprotocol.io) server that exposes this skill library to any MCP client (Claude Desktop, Cline, etc.). Instead of installing 172 files, your assistant can **search and pull skills on demand**.
|
|
|
|
## Tools
|
|
|
|
| Tool | What it does |
|
|
|---|---|
|
|
| `list_skills` | List every skill (name, tier, one-line description). Optional `tier` filter. |
|
|
| `search_skills` | Keyword search across name, description, and body — returns the best matches. |
|
|
| `get_skill` | Return the full instructions for one skill by name, ready to apply. |
|
|
|
|
## Configure it
|
|
|
|
**Claude Desktop** — add to `claude_desktop_config.json`:
|
|
|
|
```json
|
|
{
|
|
"mcpServers": {
|
|
"pm-claude-skills": {
|
|
"command": "npx",
|
|
"args": ["-y", "pm-claude-skills-mcp"]
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
**From a local clone** (no npm install):
|
|
|
|
```json
|
|
{
|
|
"mcpServers": {
|
|
"pm-claude-skills": {
|
|
"command": "node",
|
|
"args": ["/absolute/path/to/pm-claude-skills/mcp/server.mjs"]
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
Restart the client. Then ask it to *"search the skills for customer churn"* or *"get the rice-prioritisation skill and apply it to my backlog"* — it calls the tools automatically.
|
|
|
|
## How it works
|
|
|
|
Pure Node standard library, MCP stdio transport (newline-delimited JSON-RPC 2.0). It reads the bundled `skills/` at startup and serves them in-memory; all logging goes to stderr so it never corrupts the protocol stream. No network, no data leaves your machine.
|