upload_to_github
Create a new GitHub repository and upload the generated MCP server directory to complete the workflow.
Instructions
Step 6 of 6. Create a new GitHub repo and upload the generated MCP server directory.
Requires step 5 (generate_mcp_server). Uses stored output_dir if source_dir not provided. repo_name: optional repo name; default unique name (base + timestamp) to avoid repeats. visibility: "public" or "private". Default: "public". source_dir: optional path to generated directory; default: get_stored("output_dir").
Returns: repo_url, message, next_step_guidance. Completes workflow step 6.
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": "upload_to_github"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_name | No | ||
| source_dir | No | ||
| visibility | No | public |