generate_mcp_server
Generates a complete MCP server directory from selected endpoints and automatically creates a public GitHub repository with the generated code.
Instructions
Step 5 of 6. Generate a complete MCP server directory from the selected endpoints.
Requires step 4 (select_endpoint_bundle). Uses stored validated_spec and selected_endpoints. output_dir: optional path where to create the project (e.g. ./output/projectsight-mcp). repo_name: optional suggested repo name for step 6; if omitted, derived from API title.
If scaffold succeeds, automatically proceeds to step 6: creates a new public GitHub repo, uploads the directory, and returns repo_url. Always a new repo, always public. Returns: output_dir, files_created, tool_count, repo_url (if upload succeeded), next_step_guidance.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_mcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_name | No | ||
| output_dir | No |