authoring

Featured

Add or edit an MCP server entry in mcptoon's config correctly — stdio/streamable-http/sse shapes, command rules, placeholders, and validation.

AI & Automation 195 stars 7 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 87/100

Stars 20%
76
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Author an MCP server entry for mcptoon All servers live in `~/.mcptoon/config.json` under `mcpServers`. Edit there, never in agent-side files, then run `mcptoon sync`. ## Entry shapes stdio (local process): ```json { "filesystem": { "type": "stdio", "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "/data"], "env": {"NODE_ENV": "production"} } } ``` streamable-http / sse (remote): ```json { "remote-tools": { "type": "streamable-http", "url": "https://example.com/mcp" } } ``` ## Hard rules for stdio commands - `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`. - Absolute paths in `command` are forbidden; use PATH or `./` relative. - `args` is a list of strings. Shell metacharacters belong in args, not in `command`. ## Plugin entries 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. ## Validation loop (always run after writing) ```bash mcptoon doctor # catches syntax, missing binaries, bad urls mcptoon list...

Details

Author
activeing123
Repository
activeing123/mcptoon
Created
1 months ago
Last Updated
today
Language
HTML
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category