MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
Add a new tool to the MoneyMatter MCP server. An agent skill from letehaha/moneymatter.
$ npx skills add letehaha/moneymatter --skill add-mcp-tool -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install letehaha/moneymatter add-mcp-tool --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/letehaha/moneymatter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-mcp-tool .claude/skills/add-mcp-tool && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "add-mcp-tool" agent skill from https://github.com/letehaha/moneymatter/tree/dev/.claude/skills/add-mcp-tool into .claude/skills/add-mcp-tool/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-mcp-tool", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/letehaha/moneymatter/tree/dev/.claude/skills/add-mcp-toolType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add letehaha/moneymatter --skill add-mcp-tool -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install letehaha/moneymatter add-mcp-tool --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/letehaha/moneymatter.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/add-mcp-tool .agents/skills/add-mcp-tool && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-mcp-tool" agent skill from https://github.com/letehaha/moneymatter/tree/dev/.claude/skills/add-mcp-tool into .agents/skills/add-mcp-tool/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-mcp-tool", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add letehaha/moneymatter --skill add-mcp-tool -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install letehaha/moneymatter add-mcp-tool --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/letehaha/moneymatter.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/add-mcp-tool .cursor/skills/add-mcp-tool && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-mcp-tool" agent skill from https://github.com/letehaha/moneymatter/tree/dev/.claude/skills/add-mcp-tool into .cursor/skills/add-mcp-tool/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-mcp-tool", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/letehaha/moneymatter.git --path .claude/skills/add-mcp-tool--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add letehaha/moneymatter --skill add-mcp-tool -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install letehaha/moneymatter add-mcp-tool --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/letehaha/moneymatter.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/add-mcp-tool .gemini/skills/add-mcp-tool && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-mcp-tool" agent skill from https://github.com/letehaha/moneymatter/tree/dev/.claude/skills/add-mcp-tool into .gemini/skills/add-mcp-tool/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-mcp-tool", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install letehaha/moneymatter add-mcp-toolInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add letehaha/moneymatter --skill add-mcp-tool -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/letehaha/moneymatter.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/add-mcp-tool .github/skills/add-mcp-tool && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-mcp-tool" agent skill from https://github.com/letehaha/moneymatter/tree/dev/.claude/skills/add-mcp-tool into .github/skills/add-mcp-tool/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-mcp-tool", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add letehaha/moneymatter --skill add-mcp-tool -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install letehaha/moneymatter add-mcp-tool --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/letehaha/moneymatter.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/add-mcp-tool .opencode/skills/add-mcp-tool && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-mcp-tool" agent skill from https://github.com/letehaha/moneymatter/tree/dev/.claude/skills/add-mcp-tool into .opencode/skills/add-mcp-tool/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-mcp-tool", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-mcp-toolAdd a new tool to the MoneyMatter MCP server. An agent skill from letehaha/moneymatter.
Add MCP Tool is an agent skill from letehaha/moneymatter. Add a new tool to the MoneyMatter MCP server. Auto-triggers when the user asks to "add MCP tool", "new MCP tool", "expose X via MCP", or when exposing any existing backend service to MCP clients. Handles every metafile the drift tests check.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol. The repository describes itself as: Open-source, self-hosted budget tracker and personal finance app. Bank sync, multi-currency, investments, and a built-in MCP server for Claude and ChatGPT. The licence is AGPL-3.0.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 3e49eef. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteEditGrepGlobBashFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
mcp.moneymatter.appFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add MCP Tool loads about 1.9k tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 669 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Write, Edit, Grep, Glob, BashAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from letehaha/moneymatter at commit 3e49eef, republished under its AGPL-3.0 licence (© letehaha). 669 words, ~1,866 tokens.
.claude/skills/add-mcp-tool/SKILL.md (or your agent's skills folder).Adds a new tool to the MCP server at https://mcp.moneymatter.app/mcp without breaking any drift check.
packages/frontend/public/.well-known/mcp/server-card.json needs to growEach MCP tool is a thin wrapper over an existing backend service:
Service (@services/...)
↓ called by
MCP tool file (packages/backend/src/services/mcp/tools/<name>.ts)
↓ registered in
createMcpServer() (packages/backend/src/services/mcp/server.ts)Three metafiles stay in sync via drift tests:
packages/frontend/public/.well-known/mcp/server-card.json — machine-readable tool listpackages/frontend/public/skills/connect-moneymatter/SKILL.md — human-readable agent skillpackages/frontend/public/.well-known/agent-skills/index.json — contains sha256 of the SKILL.md aboveWhen adding tool my_new_tool:
Path: packages/backend/src/services/mcp/tools/my-new-tool.ts (kebab-case filename)
Use this template verbatim. Adjust imports, tool name, description, inputSchema, service call, and tool: string in trackMcpToolUsed.
import { trackMcpToolUsed } from '@js/utils/posthog';
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { myService } from '@services/path/to/my-service';
import { z } from 'zod';
import { getUserId, jsonContent } from './helpers';
const inputSchema = {
someId: z.number().describe('...'),
optionalFilter: z.string().optional().describe('...'),
};
export function registerMyNewTool(server: McpServer) {
server.registerTool(
'my_new_tool',
{
description: 'What it returns and when an agent should call it. One sentence plus a hint on key fields.',
inputSchema,
},
async (args, extra) => {
const userId = getUserId({ extra });
trackMcpToolUsed({ userId, tool: 'my_new_tool', clientId: extra.authInfo?.clientId });
const result = await myService({ userId, ...args });
return jsonContent({ data: result });
},
);
}Rules:
server-card.json.register<PascalCase>. File is <kebab-case>.ts.inputSchema is a plain object of Zod schemas (no outer z.object(...)), declared as a module-scope const, never inline inside registerTool(). Every MCP session builds its own McpServer, so an inline shape is rebuilt per session (zod v4 schemas are ~30 KB each).inputSchema and drop the args parameter — handler becomes async (extra) => {...}.getUserId({ extra }) first — it enforces auth and returns userId.trackMcpToolUsed({ userId, tool, clientId: extra.authInfo?.clientId }) immediately after.jsonContent({ data }). Money instances auto-serialize to decimals via toJSON() in JSON.stringify.z.enum([...]) for enum args — match the style in search-transactions.ts.new Date(args.date) if the underlying service expects a Date.server.tsAdd the import (alphabetical) and call it inside createMcpServer():
import { registerMyNewTool } from './tools/my-new-tool';
// ...
registerMyNewTool(server);server-card.jsonPath: packages/frontend/public/.well-known/mcp/server-card.json
Append to the tools[] array:
{
"name": "my_new_tool",
"description": "Short third-person description. Match what clients see."
}The name MUST match the string in step 1 exactly. The drift test compares sorted arrays by string equality.
Path: packages/frontend/public/skills/connect-moneymatter/SKILL.md
Add a row to the "Available tools" table under the correct conceptual group (accounts vs investments vs analytics vs categories/tags). Use the SAME column layout (keep table alignment padded).
If the new tool introduces a new data convention (e.g. investments vs regular transactions), also add a bullet under "Data conventions".
shasum -a 256 packages/frontend/public/skills/connect-moneymatter/SKILL.mdTake the hex digest and update it in packages/frontend/public/.well-known/agent-skills/index.json:
{
"skills": [
{
"name": "connect-moneymatter",
...
"sha256": "<paste digest here>"
}
]
}Forgetting this step breaks agent-skills-drift.unit.ts.
cd packages/backend
npm run test:unit -- --testPathPattern='mcp/(server-card-drift|agent-skills-drift)'Expect 7 passing assertions across 2 suites. If any fail:
tools array mismatch → name in source and server-card.json don't match. Check for typos.every tool has a non-empty description → description missing in server-card.json.sha256 matches → re-run shasum -a 256 and paste again.every skill URL resolves → SKILL.md file path is wrong.Delegate to the test-runner subagent (per CLAUDE.md rules).
Delegate to the linter subagent. Existing MCP tool files may show 4 TS1005-style errors from an ioredis env issue — that's pre-existing noise and not caused by new tools. Real errors look different (unused imports, mistyped service args, wrong Zod shape).
getUserId or skip trackMcpToolUsed. These are enforced across all existing tools.raw: true or reach past the service layer. Use the @services/* function as-is.extra.authInfo.serverInfo.version unless the change is breaking (removing/renaming a tool, removing a field). Adding a new tool is additive and needs no version bump. The drift test compares serverInfo.version to the version constant in server.ts — keep them identical either way.connected-apps.e2e.ts.Representative tools to copy from:
tools/get-user-profile.tstools/get-accounts.tstools/search-transactions.tstools/get-balance-history.tsHelpers available from ./helpers:
getUserId({ extra }) — throws if unauthenticatedjsonContent({ data }) — wraps in MCP content envelopeparseScopes({ scopes }) — only useful in auth-adjacent code, not individual toolsAnalytics: trackMcpToolUsed lives at @js/utils/posthog. It's a no-op outside production.
© letehaha, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/add-mcp-tool of letehaha/moneymatter.
Open the folder on GitHubat commit 3e49eef
Add MCP Tool next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add MCP Tool this skillletehaha/moneymatter | 162 | — | ~1.9k | Automated safety check: Notes | AGPL-3.0 | |
| MCP Server Builderanthropics/skills | 180k | 63 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server BuildershareAI-lab/learn-claude-code | 78k | 4 repos | ~1.2k | Automated safety check: Pass | MIT | |
| MCP Integration for Pluginsanthropics/claude-plugins-official | 38k | 11 repos | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Crush Configurationcharmbracelet/crush | 29k | — | ~3.7k | Automated safety check: Pass | Custom licence | |
| Context Mode Output Sandboxmksglu/context-mode | 26k | — | ~4.1k | Automated safety check: Pass | Custom licence |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
shareAI-lab/learn-claude-code
Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.
anthropics/claude-plugins-official
Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.
charmbracelet/crush
Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
warpdotdev/warp
Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.
letehaha/moneymatter
Deep-dive specification planner. An agent skill from letehaha/moneymatter.
letehaha/moneymatter
Hunt "AI slop" in this codebase — duplication, reinvented wheels, over-engineering, defensive cruft, dead code, comment slop, performance antipatterns.
letehaha/moneymatter
Frontend conventions and component usage rules. An agent skill from letehaha/moneymatter.
letehaha/moneymatter
Occasional i18n catch-up: strip unused en keys, then fill any uk translations that slipped through via i18n-editor subagents.
letehaha/moneymatter
Creates backend e2e tests for new or existing endpoints. An agent skill from letehaha/moneymatter.
letehaha/moneymatter
Smart PRD generator. An agent skill from letehaha/moneymatter.
Works with
Categories
Add a new tool to the MoneyMatter MCP server. An agent skill from letehaha/moneymatter. Add MCP Tool is an agent skill from letehaha/moneymatter. Add a new tool to the MoneyMatter MCP server.
Add MCP Tool fits situations like: the user asks to add MCP tool; expose X via MCP; exposing any existing backend service to MCP clients.
Run `npx skills add letehaha/moneymatter --skill add-mcp-tool -a claude-code`. Or copy the skill folder (.claude/skills/add-mcp-tool in letehaha/moneymatter) into .claude/skills/add-mcp-tool in your project. Claude Code loads it when a task matches its description.
Run `npx skills add letehaha/moneymatter --skill add-mcp-tool -a codex`. Or copy the skill folder (.claude/skills/add-mcp-tool in letehaha/moneymatter) into .agents/skills/add-mcp-tool in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add letehaha/moneymatter --skill add-mcp-tool -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-mcp-tool, .gemini/skills/add-mcp-tool, .github/skills/add-mcp-tool and .opencode/skills/add-mcp-tool in your project.
Going by SKILL.md and its folder, Add MCP Tool needs the command-line tools its instructions call (npm). Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob, Bash.
SKILL.md names 1 domain. In commands or code: mcp.moneymatter.app; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Add MCP Tool is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add MCP Tool: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Crush Configuration (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
letehaha (a GitHub user) maintains it in letehaha/moneymatter, which has 162 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 9, 2026.
Source: letehaha/moneymatter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.