mcp-tool-dev

mcp-tool-dev is a skill for Claude Code from andisab/swe-marketplace. It costs 158 tokens per session (1,523 once invoked), scanned A, original, MIT.

Instructions for creating individual MCP tools, which are functions an AI agent can call through the Model Context Protocol.

In plain words
What is it for?
It supports adding a single tool to an existing or new MCP server, including its JSON input schema and asynchronous handler. It is not intended for building a complete multi-tool server.
Why use it?
It helps developers define tool names, inputs, descriptions, handlers, validation, and error handling consistently.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the context-engineering plugin — 7 skills, 1 agent shipped together

Good fit It supports adding a single tool to an existing or new MCP server, including its JSON input schema and asynchronous handler. It is not intended for building a complete multi-tool server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andisab/swe-marketplace/mcp-tool-dev
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 andisab/swe-marketplace --skill mcp-tool-dev
Clone the repo
git clone --depth 1 https://github.com/andisab/swe-marketplace

Made for: Claude Code.

Or install context-engineering, the plugin that ships this one along with the rest of its 7 skills, 1 agent.

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 mcp-tool-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/andisab/swe-marketplace/mcp-tool-dev/github.svg)](https://agentmods.dev/skills/andisab/swe-marketplace/mcp-tool-dev)
Your own site
<a href="https://agentmods.dev/skills/andisab/swe-marketplace/mcp-tool-dev"><img src="https://agentmods.dev/badge/skills/andisab/swe-marketplace/mcp-tool-dev/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 mcp-tool-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/andisab/swe-marketplace/mcp-tool-dev"><img src="https://agentmods.dev/badge/skills/andisab/swe-marketplace/mcp-tool-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 158 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,523 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 pass 7 Sept 2026
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.00158 $0.01523
Opus 5 $0.00079 $0.00762
Sonnet 5 $0.00032 $0.00305
Haiku 4.5 $0.00016 $0.00152

Measured 10d ago against content hash 5e5fd32b4a56, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mcp-tool-dev 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 10d 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.

plugins/context-engineering/skills/mcp-tool-dev/SKILL.md · 179 lines

How it starts

The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Tool Creation

Create individual MCP tool functions that follow Anthropic's tool design best practices and the Model Context Protocol specification.

What MCP Tools Are

An MCP tool is a single function exposed via the Model Context Protocol that an LLM can invoke. Each tool has:

  • Name: Verb-noun format (search_documents, get_user, create_issue)
  • Description: 3-4 sentences explaining what the tool does, when to use it, and when not to
  • Input schema: JSON Schema defining parameters with clear descriptions
  • Handler: Async function that processes the input and returns MCP content blocks

Tools can be standalone (single-file utilities) or part of an MCP server (grouped related tools).

When to Use This Skill

  • Creating a single tool function for an existing or new MCP server
  • Designing tool schemas and descriptions
  • Implementing tool input validation and error handling
  • Adding capabilities to a FastMCP server

When NOT to Use

  • Building a complete multi-tool MCP server from scratch — use mcp-server-dev instead
  • Creating Claude Code agents, skills, or commands — use their respective creation skills

Tool Anatomy

Every MCP tool consists of four parts:

1. Name

Use snake_case with verb-noun pattern. Be specific — search_files_by_content beats search.

2. Description

Write 3-4 sentences covering:

  1. What the tool does (capability statement)
  2. When to use it (primary use cases)
  3. When NOT to use it (scope boundaries, suggest alternatives)
  4. Key behavior notes (pagination, rate limits, return format)

Good descriptions prevent misuse and reduce wasted calls. Include parameter semantics — if "query" means regex vs full-text vs exact match, say so.

3. Input Schema

Define parameters using JSON Schema with:

  • Clear description for each parameter explaining expected format and semantics
  • enum constraints where values are known
  • default values for optional parameters
  • Required vs optional distinction

Read the full file on GitHub · 179 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 179 lines · 158 tokens per session scan A 5e5fd32b4a56

Subscribe to this mod's changes

mcp-tool-dev is a skill published in the GitHub repository andisab/swe-marketplace (21 stars, last pushed 22d ago), licensed MIT. It adds 158 tokens to every session and 1,523 once invoked, about $0.0008 per session on Opus 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.