Skip to content
Back to skills

Authoring

ASecurity

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

  • 447 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 2, 2026
ai-agentsgoshellbashnodedocumentation

Works with

  • mcp

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add activeing123/mcptoon --skill authoring --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Authoring?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Authoring
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/activeing123-authoring/badge)](https://www.skillsdirectory.com/skills/activeing123-authoring)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: authoring
description: Add or edit an MCP server entry in mcptoon's config correctly — stdio/streamable-http/sse shapes, command rules, placeholders, and validation.
---

# 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         # 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.

## Good tool hygiene (for server authors)

- Prefer fewer, well-described tools over many overlapping ones; agents pick
  tools by description.
- When a server ships a `SKILL.md` (Agent Plugins), keep the body actionable:
  concrete commands, exact flags, no marketing text.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.