add-mcp-tool

add-mcp-tool is a skill for Claude Code from dylanroscover/Embody. It costs 20 tokens per session (378 once invoked), scanned A, original, MIT.

A development procedure for adding an MCP tool to the Envoy server. MCP is a protocol that lets an AI assistant call defined tools; Envoy registers those tools and performs the related TouchDesigner operations.

In plain words
What is it for?
Use it when registering a new tool, adding its TouchDesigner handler, updating contract tests and tool references, documenting it, and restarting Envoy to verify registration.
Why use it?
It keeps the tool's API, main-thread handler, tests, reference documentation, and user documentation synchronized. It also requires input validation and consistent error handling.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it when registering a new tool, adding its TouchDesigner handler, updating contract tests and tool references, documenting it, and restarting Envoy to verify registration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dylanroscover/embody/add-mcp-tool
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dylanroscover/Embody --skill add-mcp-tool
Clone the repo
git clone --depth 1 https://github.com/dylanroscover/Embody

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-mcp-tool

README.md
[![agentmods](https://agentmods.dev/badge/skills/dylanroscover/embody/add-mcp-tool/github.svg)](https://agentmods.dev/skills/dylanroscover/embody/add-mcp-tool)
Your own site
<a href="https://agentmods.dev/skills/dylanroscover/embody/add-mcp-tool"><img src="https://agentmods.dev/badge/skills/dylanroscover/embody/add-mcp-tool/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-mcp-tool

Your own site · 80×15
<a href="https://agentmods.dev/skills/dylanroscover/embody/add-mcp-tool"><img src="https://agentmods.dev/badge/skills/dylanroscover/embody/add-mcp-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 378 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 26
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00378
Opus 5.5 $0.00008 $0.00151
Sonnet 5.5 $0.00004 $0.00076
Haiku 4.5 $0.00002 $0.00038

Measured 3mo ago against content hash aa08eac7e624, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-mcp-tool scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/add-mcp-tool/SKILL.md · 37 lines

What it actually says

Add MCP Tool to Envoy

Steps for adding a new MCP tool:

  1. Add the tool function inside _register_tools() in EnvoyExt.py

    • Function signature and docstring define the MCP schema (parameter names, types, descriptions)
    • Treat these as API contracts - changes break client integrations
    • The tool function queues the operation for main-thread execution
  2. Add a handler case in _onRefresh() for the TD operation

    • This is where the actual TouchDesigner operations execute (on the main thread)
    • Wrap TD operations in try/except, return {'error': str(e)} dicts on failure
    • Validate all inputs before passing to TD
  3. Update EXPECTED_ENVOY_TOOLS in dev/embody/unit_tests/test_agent_contract.py

    • The Tier-1 agent contract test fails on inventory drift in either direction -- same commit as the tool change
    • Tools register on the MCPServer instance at Envoy START -- restart Envoy before believing a mismatch
  4. Update the MCP tools reference

    • Update the /mcp-tools-reference skill in .claude/skills/mcp-tools-reference/SKILL.md
    • Update the corresponding template DAT if it exists
  5. Update documentation

    • Add to the root CLAUDE.md if the tool is significant
    • Update text_claude.md template DAT for user projects
  6. Test via MCP Inspector or Claude Code

    • Verify the tool appears in the tool list
    • Test with valid and invalid inputs
    • Check error handling
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 37 lines · 20 tokens per session scan A aa08eac7e624

Subscribe to this mod's changes

add-mcp-tool is a skill published in the GitHub repository dylanroscover/Embody (225 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 378 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

add-mcp-tool compared with skills from other repositories

add-mcp-tool next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-mcp-tooldylanroscover/EmbodySkill225yesterdayMITA20Claude Code
python-api8beeeaaat/touchdesigner-mcpSkill6422d agoMITA117Claude Code
agentcore-investigationawslabs/mcpSkill10.0k3d agoApache-2.0A52Claude Code, Codex
amazon aurora dsqlawslabs/mcpSkill10.0k3d agoApache-2.0A46Claude Code
x-readerrunesleo/x-readerSkill9964d agoMITA64Claude Code
link-readerrunesleo/x-readerSkill9964d agoMITA76Claude Code
xeepy-python-twitter-guidenirholas/three.wsSkill2872d agoApache-2.0A67Claude Code, Codex