GitHub Copilot CLI integration for Model Context Protocol clients - Full MCP capabilities with Tools, Resources, and Prompts
The server implements 3 tools with basic structures but exhibits critical gaps in naming clarity, parameter descriptions, and output schema documentation. Naming does not consistently follow verb_noun patterns (e.g., 'ask-copilot' uses hyphens, inconsistent with 'copilot-explain' and 'copilot-suggest'). Parameter descriptions exist but are minimal, most lack guidance on constraints, formats, or expected values. Output schemas are undocumented; the code shows promise/stderr capture but does not specify what structured fields clients should expect. Error handling returns raw stdout/stderr without actionable recovery guidance. The session management system is present but not exposed via tools, suggesting incomplete design. Code quality is reasonable, but tool definitions fall short of production standards.
Ask GitHub Copilot CLI to help with coding tasks, generate commands, explain code, or provide suggestions
Get detailed explanations of code or technical concepts
Get CLI command suggestions for specific tasks
Inconsistent tool naming: 'ask-copilot' uses hyphens while following tools use different styles. Names do not consistently start with clear action verbs or follow verb_noun pattern. LLMs may conflate 'ask-copilot' with 'copilot-explain' as synonymous.
Parameter descriptions are minimal (10-30 chars) and lack actionable constraints. 'The question or task to ask GitHub Copilot CLI' is vague, does it accept natural language, shell commands, code snippets, or all? No format guidance. 'model' enum includes invalid options ('gpt-5' is not a real Claude or GPT model) without explanation of why these are offered.
Output schemas are completely undocumented. Code shows executeCopilotCommand() returns a string (stdout + stderr), but tool consumers have no visibility into what fields, structure, or format to expect.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 41 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 0 | - | v1 |
Error handling returns raw stderr/stdout without actionable guidance. Code shows: 'if stderr includes login → suggest copilot /login' which is good, but other errors (timeouts, malformed responses, process failures) return unstructured text. LLMs cannot parse this to determine if errors are retryable, user-fixable, or fatal.
The 'model' enum contains problematic values: 'claude-sonnet-4.5', 'claude-haiku-4.5', and 'gpt-5'. None of these are documented as real model identifiers. 'gpt-5' does not exist. If these are aliases, they should be explained; if they are errors, they will cause tool failures.
Session management is implemented internally (CopilotSession interface, session history, currentSessionId tracking) but not exposed via tool parameters or documented. LLMs cannot control or inspect sessions, limiting reproducibility and debugging.