add_tool
Add a new tool to an existing MCP server by generating the required module, service stub, test file, and updating server configuration.
Instructions
Add a new tool to an existing scaffolded MCP server. Pass the project directory and a JSON tool definition. Creates the tool module, service stub, test, and updates server.py.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | ||
| tool | Yes |