If you created a new category file, import and call its register*Tools() function here
Existing categories (market-data, account, trading, cardano, strategy) are already wired up
Update README.md
Add the tool to the tools table with name, description, and parameters
Assign a pricing tier: free (list_exchanges only), read ($0.001), or write ($0.01)
Add pricing in src/payment/index.ts
Add the tool name to the appropriate tier in TOOL_PRICING
Add unit test in src/tests/
Mock the exchange connector via getConnectorSafe()
Test parameter validation and expected output shape
Do NOT
Create new files under src/ for a single tool — add to the matching category file
Use require() — this project is ESM (NodeNext)
Skip npm run typecheck after changes
1---2name: new-tool3description: Adding a New MCP Tool4---5# Adding a New MCP Tool67Follow this exact pattern when adding a new tool. Do not invent new registration patterns or file structures.89## Steps10111. **Implement in `src/tools/<category>.ts`**12 - Define a Zod schema for the tool's parameters using validators from `src/utils/validators.ts`13 - Add the handler inside the existing `register*Tools(server, exchangeManager)` function14 - Return `{ content: [{ type: 'text', text: JSON.stringify(...) }] }`15162. **Register in `src/tools/index.ts`**17 - If you created a new category file, import and call its `register*Tools()` function here18 - Existing categories (market-data, account, trading, cardano, strategy) are already wired up19203. **Update README.md**21 - Add the tool to the tools table with name, description, and parameters22 - Assign a pricing tier: free (`list_exchanges` only), read ($0.001), or write ($0.01)23244. **Add pricing in `src/payment/index.ts`**25 - Add the tool name to the appropriate tier in `TOOL_PRICING`26275. **Add unit test in `src/tests/`**28 - Mock the exchange connector via `getConnectorSafe()`29 - Test parameter validation and expected output shape3031## Do NOT32- Create new files under `src/` for a single tool — add to the matching category file33- Use `require()` — this project is ESM (NodeNext)34- Skip `npm run typecheck` after changes
Run npx skillmds@latest add qbt-labs/new-tool in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Adding a New MCP Tool It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
QBT-Labs (@qbt-labs) published this skill. Their other Agent Skills are listed on their SkillMD profile.