generate_mcp_server
Generate a complete MCP server directory from selected API endpoints, then automatically create and upload it to a new public GitHub repository.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | ||
| repo_name | No |