MCP server for automatically creating GitHub repositories after Codex generates code, then committing, publishing, syncing, pulling, and cloning code safely.
Single tool 'github_repository' with comprehensive discriminated union schema covering 10 distinct actions (baseline, safe_sync, pause, resume, create, create_and_publish, publish, sync, pull, clone, status). Tool description is present but generic (95 chars). All parameters have type definitions and descriptions. Schema is well-structured with Zod validation. However, descriptions lack LLM-optimized guidance on WHEN to use each action, dependencies between actions, and recovery paths for common failures. Output schemas are not documented, LLM cannot predict response structure. Error handling exists but is minimal (userFacingError wrapper). Tool name 'github_repository' is a noun, not a verb, violates naming convention (should be 'manage_github_repository' or split into verb-prefixed tools). Discriminated union design is sound but makes this effectively 10 tools under one name, complicating LLM reasoning.
Use this when the user asks Codex to create code and then automatically create a GitHub repository, commit the generated project, push it, publish code, sync changes, pull, clone, or check repository status. Select the operation with action.
Tool name is a noun ('github_repository'), not a verb. Violates pattern:tool naming convention. LLMs infer intent from action verbs (get_, create_, update_, delete_). A noun name forces LLM to read full description to understand what happens.
Tool description (95 chars) is generic and does not explain WHEN to use each of the 10 actions or dependencies between them. LLM cannot determine if 'baseline' should precede 'safe_sync' or if 'create_and_publish' is idempotent. Descriptions should be 50-200 chars and action-specific.
Output schemas are not documented. LLM cannot predict response structure (e.g., does 'create' return {repository: {...}} or {url, name, owner}?). This forces agents to guess field names for downstream operations.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 52 | 2026-07-28+ | v2 |
Discriminated union with 10 actions under one tool name violates pattern:tool (one tool = one responsibility). LLM must reason about which action to pick, increasing error likelihood. Consider splitting into manage_github_repo_baseline, manage_github_repo_sync, etc., or use separate tools per action.
Error handling is minimal. userFacingError() wrapper exists but no guidance on retryability, user-fixable vs fatal errors, or recovery steps. E.g., 'Repository already has origin' error should suggest 'Use action=publish or action=sync instead', this is present in code but not in tool description.