copilot-mcp-server
Direct access to GitHub Copilot MCP server tools for AI-powered development assistance
Best use case
copilot-mcp-server is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Direct access to GitHub Copilot MCP server tools for AI-powered development assistance
Teams using copilot-mcp-server should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/copilot-mcp-server/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How copilot-mcp-server Compares
| Feature / Agent | copilot-mcp-server | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Direct access to GitHub Copilot MCP server tools for AI-powered development assistance
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Copilot MCP Server
When to use this skill:
- When you need direct access to Copilot AI models for specific tasks
- When you want to use Copilot's specialized tools (review, debug, explain, etc.)
- When you need AI assistance outside of the copilot-flow workflow
## Available MCP Tools
### Core Tools
#### ask-copilot
General-purpose AI assistant for coding help, debugging, and architecture design.
```javascript
mcp__plugin__copilot__ask-copilot(
prompt="string", // Required: The question or task for Copilot
context="string", // Optional: Additional context
model="string", // Optional: Specific model to use (default: claude-sonnet-4.5)
allowAllTools=true/false // Optional: Allow Copilot to use all available tools
)
```
#### copilot-review
Professional code review with focus on specific areas.
```javascript
mcp__plugin__copilot__copilot-review(
code="string", // Required: Code to review
focusAreas=["security", "performance", "maintainability", "best-practices"] // Optional: Specific areas to focus
)
```
#### copilot-explain
Get detailed explanations of code snippets.
```javascript
mcp__plugin__copilot__copilot-explain(
code="string", // Required: Code to explain
model="string" // Optional: Model to use
)
```
#### copilot-debug
Debug errors in code with context-aware analysis.
```javascript
mcp__plugin__copilot__copilot-debug(
code="string", // Required: Code with error
error="string", // Required: Error message
context="string" // Optional: Additional context
)
```
#### copilot-refactor
Get suggestions for code refactoring and improvements.
```javascript
mcp__plugin__copilot__copilot-refactor(
code="string", // Required: Code to refactor
goal="string" // Required: Refactoring goal (e.g., "improve performance")
)
```
#### copilot-test-generate
Generate unit tests for existing code.
```javascript
mcp__plugin__copilot__copilot-test-generate(
code="string", // Required: Code to test
framework="string" // Optional: Testing framework (e.g., jest, pytest, mocha)
)
```
#### copilot-suggest
Get CLI command suggestions for specific tasks.
```javascript
mcp__plugin__copilot__copilot-suggest(
task="string", // Required: Task description
model="string" // Optional: Model to use
)
```
### Session Management
#### copilot-session-start
Start a new conversation session with context tracking.
```javascript
mcp__plugin__copilot__copilot-session_start()
```
#### copilot-session-history
Retrieve conversation history for continuity.
```javascript
mcp__plugin__copilot__copilot-session_history(
sessionId="string" // Optional: Specific session ID
)
```
## Model Selection
Choose from available models based on task complexity:
### claude-sonnet-4.5 (default)
- Best for: System design, architecture decisions, code review, performance optimization
- Balance of capability and speed
### claude-opus-4.5
- Best for: Complex problems requiring strict execution
- Highest reasoning capability
### claude-haiku-4.5
- Best for: Quick syntax queries, simple logic questions, API usage
- Fastest response
### gemini-3-pro-preview
- Best for: Flutter, Angular, GCP, Firebase, Google Cloud development
- Google ecosystem specialization
### gpt-5-mini (unlimited usage)
- Best for: Concept explanations, general technical questions, documentation queries
- No usage limits for Pro+ subscribers
### gpt-5.2-codex
- Best for: Complex algorithms, system refactoring, large feature development
- Advanced code generation
### gpt-5.2
- Best for: Complex reasoning with large context
- Highest comprehension
## Usage Examples
### Code Implementation
```javascript
mcp__plugin__copilot__ask-copilot(
prompt="Implement a REST API endpoint for user authentication with JWT",
model="claude-sonnet-4.5",
allowAllTools=true
)
```
### Security Review
```javascript
mcp__plugin__copilot__copilot_review(
code=`function login(username, password) {
const query = \`SELECT * FROM users WHERE username = '\${username}' AND password = '\${password}'\`;
return db.query(query);
}`,
focusAreas=["security", "sql-injection", "authentication"]
)
```
### Error Debugging
```javascript
mcp__plugin__copilot__copilot_debug(
code="const result = await fetchData().json;",
error="TypeError: fetchData(...).json is not a function",
context="Trying to parse JSON response from API"
)
```
### Test Generation
```javascript
mcp__plugin__copilot__copilot_test_generate(
code=`function isPrime(n) {
if (n <= 1) return false;
for (let i = 2; i * i <= n; i++) {
if (n % i === 0) return false;
}
return true;
}`,
framework="jest"
)
```
## Best Practices
### Do
- Be specific in your prompts
- Provide context when available
- Choose appropriate model for task complexity
- Use session management for related queries
- Focus review on specific areas
### Don't
- Use overly broad prompts like "write code"
- Overuse powerful models for simple tasks
- Pass empty parameters
- Ask for review on all areas without focus
- Mix unrelated queries in one session
## Error Handling
If MCP server is unavailable:
1. Check GitHub Copilot CLI authentication
2. Verify MCP server configuration
3. Restart Claude Code or your MCP client
## Integration Notes
- This skill provides direct tool access
- For structured workflow, use copilot-flow-integration skill
- All tools require active GitHub Copilot subscription
- Usage counts towards Copilot API limits
## Keywords
copilot, mcp, ai, code review, debugging, testing, refactoring, github copilot, claude, gpt, geminiRelated Skills
copilotkit
Build AI copilots, chatbots, and agentic UIs in React and Next.js using CopilotKit. Use this skill when the user wants to add an AI assistant, copilot, chat interface, AI-powered textarea, or agentic UI to their app. Covers setup, hooks (useCopilotAction, useCopilotReadable, useCoAgent, useAgent), chat components (CopilotPopup, CopilotSidebar, CopilotChat), generative UI, human-in-the-loop, CoAgents with LangGraph, AG-UI protocol, MCP Apps, and Python SDK integration. Triggers on CopilotKit, copilotkit, useCopilotAction, useCopilotReadable, useCoAgent, useAgent, CopilotRuntime, CopilotChat, CopilotSidebar, CopilotPopup, CopilotTextarea, AG-UI, agentic frontend, in-app AI copilot, AI assistant React, chatbot React, useFrontendTool, useRenderToolCall, useDefaultTool, useCoAgentStateRender, useLangGraphInterrupt, useCopilotChat, useCopilotAdditionalInstructions, useCopilotChatSuggestions, useHumanInTheLoop, CopilotTask, copilot runtime, LangGraphAgent, BasicAgent, BuiltInAgent, CopilotKitRemoteEndpoint, A2UI, MCP Apps, AI textarea, AI form completion, add AI to React app.
copilotkit-pitch-deck
Production-ready CopilotKit pitch deck wizard in main application. Use when enhancing AI conversation features, optimizing Edge Function integration, debugging chat interface, or improving pitch deck generation flow. System is PRODUCTION READY (98/100).
copilot-tui-harness
Expert in the Copilot SDK TUI Harness project. Use for development tasks including architecture, event system, plugins, OpenTUI components, and Copilot SDK integration. Triggers on TUI development, harness events, streaming UI, plugin system, event-driven architecture.
copilot-search
Search the web using Claude Code's WebSearch/WebFetch tools combined with GitHub Copilot CLI to find current documentation, best practices, solutions, and technical information. Use when the user needs to research libraries, find API documentation, troubleshoot errors, or learn about new technologies. Requires Copilot CLI installed.
copilot-sdk
Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.
copilot-sdk-go
Expert guidance for using the GitHub Copilot CLI SDK with Go, including API reference, best practices, and common usage patterns.
copilot-sdk-dotnet
Build applications with GitHub Copilot CLI SDKs for .NET. Use for direct CopilotClient integration or Microsoft Agent Framework. Covers sessions, streaming, tools, MCP, permissions, and multi-agent workflows.
copilot-sdk-copilot-sdk
Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent. Use when: the task directly matches copilot sdk responsibilities within plugin copilot-sdk. Do not use when: a more specific framework or task-focused skill is clearly a better match.
copilot-instructions-blueprint-generator
Technology-agnostic blueprint generator for creating comprehensive copilot-instructions.md files that guide GitHub Copilot to produce code consistent with project standards, architecture patterns, and exact technology versions by analyzing existing codebase patterns and avoiding assumptions.
azure-communication-callingserver-java
Azure Communication Services CallingServer (legacy) Java SDK. Note - This SDK is deprecated. Use azure-communication-callautomation instead for new projects. Only use this skill when maintaining le...
aws-serverless-eda
AWS serverless and event-driven architecture expert based on Well-Architected Framework. Use when building serverless APIs, Lambda functions, REST APIs, microservices, or async workflows. Covers Lambda with TypeScript/Python, API Gateway (REST/HTTP), DynamoDB, Step Functions, EventBridge, SQS, SNS, and serverless patterns. Essential when user mentions serverless, Lambda, API Gateway, event-driven, async processing, queues, pub/sub, or wants to build scalable serverless applications with AWS best practices.
awesome-copilot-root-typescript-mcp-expert
Expert assistant for developing Model Context Protocol (MCP) servers in TypeScript Use when: the task directly matches typescript mcp expert responsibilities within plugin awesome-copilot-root. Do not use when: a more specific framework or task-focused skill is clearly a better match.