Add or edit an MCP server entry in mcptoon's config correctly — stdio/streamable-http/sse shapes, command rules, placeholders, and validation.
npx skills add https://github.com/activeing123/mcptoon --skill authoring
All servers live in ~/.mcptoon/config.json under mcpServers. Edit there,
never in agent-side files, then run mcptoon sync.
stdio (local process):
{
"filesystem": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/data"],
"env": {"NODE_ENV": "production"}
}
}
streamable-http / sse (remote):
{
"remote-tools": {
"type": "streamable-http",
"url": "https://example.com/mcp"
}
}
command is ONE executable token: a bare name (npx, uvx, mcptoon) or a./-relative path inside a plugin. Never a shell string, never bash -c.
command are forbidden; use PATH or ./ relative.args is a list of strings. Shell metacharacters belong in args, not incommand.
Agent Plugins are installed under ~/.mcptoon/plugins/<plugin>/ and merged
automatically with "<plugin>:<server>" names. Their paths can use
placeholders, expanded at install time:
${PLUGIN_ROOT} — the installed plugin directory${PLUGIN_DATA} — the plugin's persistent data directory (survives upgrades)Plugin-managed entries should be edited by updating the plugin (reinstall with
--force), not by hand-editing the merged config.
mcptoon doctor # catches syntax, missing binaries, bad urls
mcptoon list # confirm the server is visible
mcptoon health # per-server connectivity, exit 1 if anything is dead
If you generated the entry from documentation, prefer `mcptoon install --npm /
--pip / --url` over hand-writing JSON — it fills the correct shape for you.
tools by description.
SKILL.md (Agent Plugins), keep the body actionable:concrete commands, exact flags, no marketing text.
Take activeing123/authoring from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.