Skills

MCP Manager

Manage MCP (Model Context Protocol) servers for openclacky: add, list, probe, remove...

Install

npx skills add clacky-ai/openclacky --skill mcp-manager -g -a claude-code -y
Repository
clacky-ai/openclacky1.2k
Category
AI and agents
Updated
5d ago
License
MIT
Context cost
Mediumabout 2,882 tokens
Runs scripts
No, instructions only

What it does

Manage MCP (Model Context Protocol) servers for openclacky: add, list, probe, remove, reconfigure. Edits ~/.clacky/mcp.json so the user never writes JSON by hand. Trigger on: add mcp, install mcp, setup mcp, configure mcp, mcp list, mcp remove, mcp probe, mcp reconfigure.

MCP Manager Skill

Manage MCP servers for openclacky. The user's MCP configuration lives at ~/.clacky/mcp.json (the same format Claude Desktop and Cursor use). You never ask the user to edit it by hand, you do it for them through the local clacky HTTP API.


Command Parsing

User saysSubcommand
add mcp, install mcp, connect <something>, "I want clacky to read my files / access github / query my db / search the web"add
mcp list, mcp status, "what mcps do I have"list
mcp probe <name>, "what tools does <name> have"probe
mcp remove <name>, mcp delete <name>remove
mcp reconfigure <name>, mcp fix <name>reconfigure

If the intent is unclear, default to add, it's the most common ask.


Server Coordinates

All API calls go to the local clacky server. The host and port are exposed via environment variables:

HOST="${CLACKY_SERVER_HOST:-127.0.0.1}"
PORT="${CLACKY_SERVER_PORT:-7070}"
BASE="http://${HOST}:${PORT}"

All write operations require requests to come from 127.0.0.1 or ::1. They will, because we're running locally.


API Cheat Sheet

ActionCall
List configured serverscurl -s ${BASE}/api/mcp
Add a servercurl -s -X POST ${BASE}/api/mcp -H 'Content-Type: application/json' -d '{...}'
Update a servercurl -s -X PUT ${BASE}/api/mcp/<name> -H 'Content-Type: application/json' -d '{...}'
Remove a servercurl -s -X DELETE ${BASE}/api/mcp/<name>
Probe toolscurl -s -X POST ${BASE}/api/mcp/<name>/probe

Request body for create/update, stdio (local process, default):

{
  "name": "filesystem",
  "command": "npx",
  "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/me/Documents"],
  "env": { "API_KEY": "xxx" },
  "description": "Read/write files in ~/Documents"
}

Request body for create/update, http (remote server, streamable-http):

Read the whole SKILL.md on GitHub

More in AI and agents