Skip to content
Development
Command

/add-tool

Add a new tool to an existing MCP server with proper schema and handler.

From plugin
rohitg00-claude-code-toolkit
2.8k199 skills138 agents199 commands
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

Command definition

add-tool.md
name: add-tool
description: Add a new tool to an existing MCP server with proper schema and handler.

Add a new tool to an existing MCP server with proper schema and handler.

Steps

1. Understand the tool requirements: 2. Define the tool schema: 3. Implement the tool handler: 4. Register the tool with the MCP server: 5. Add input validation: 6. Write a test for the tool handler. 7. Update the server documentation with the new tool.

Format

Tool: <name>
Description: <what it does>
Parameters:
  - <name>: <type> (<required|optional>) - <description>

Rules

  • Tool names must be unique within the server.
  • Descriptions must be clear enough for an AI to use the tool correctly.
  • All required parameters must be validated before execution.
@rohitg00
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

2.8k40 skills138 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.8k
Star history of rohitg00/awesome-claude-code-toolkit on GitHub, a chart by star-history.com

Other commands on rohitg00-claude-code-toolkit.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command