← All workflows
Agent development / Workflow kit

Build and evaluate an MCP tool

A local, read-only tool with a fixture-backed evaluation and a documented client call.

Install the skills

From the project you want to work in, use Node.js 22.20 or later, npm and Git. Run the block below to copy the selected skills into .claude/skills/. Existing copies with the same names can be replaced.

Project terminal
npx --yes skills@1.10.0 add anthropics/skills@6e83444ffacecd38b93d1be8381967de84a427f6 --skill mcp-builder skill-creator --agent claude-code --copy --yes

Start Claude Code in that project and enter /skills to check the installed names.

Try it on your project

Bring along · A small API contract, sanitized example responses and a local MCP SDK project. Live Claude API calls require your own credentials. Claude Code includes /claude-api for client-side SDK questions.

  1. Design one read operation with an explicit input schema and a predictable failure response.
  2. Exercise it from a client using fixtures, recording the tool request and the returned result.
  3. Write a small skill that teaches the call and compare it with a baseline on ambiguous prompts.
Starter prompt
Build one local MCP tool for the read operation in this API contract. Use fixture data. Document how an Anthropic SDK client could call it, then draft a skill and three eval prompts. Include a case where the tool should stay unused.

Check the result

A valid input returns the expected fixture, an invalid input produces a useful error, and the eval records when the tool should be called.