generate_mcp_server
Create a production-ready MCP server with dual-mode architecture, including tests and documentation. Define tools, parameters, and project metadata to generate a complete project.
Instructions
Generate a complete MCP server project with dual-mode architecture
This is the main generation tool. Consider using search_tools or get_tool_info first to understand the full workflow, or use the generated Claude commands for guided assistance.
Args: project_name: Project name (e.g., 'my-mcp-server') description: Project description author: Author name author_email: Author email tools: List of tools this MCP server will provide. Each tool should have: - name: Tool function name - description: What the tool does - parameters: List of parameter objects with name, type, description, required output_dir: Output directory (default: current directory) python_version: Python version for testing (default: '3.10') prefix: Package prefix - 'AUTO' (detect from git), 'NONE', or custom string (default: 'AUTO')
Returns: JSON string with generation result including success status and project path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | ||
| description | Yes | ||
| author | Yes | ||
| author_email | Yes | ||
| tools | Yes | ||
| output_dir | No | ||
| python_version | No | 3.10 | |
| prefix | No | AUTO |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |