# Copilot MCP Server Gemini CLI Extension
This extension integrates the GitHub Copilot CLI MCP Server with the Gemini CLI, allowing you to interact with the GitHub Copilot CLI through a set of specialized tools.
## Available Tools:
- `run_copilot(prompt: str, model: str = None, allow_all_tools: bool = True, allow_all_paths: bool = False, silent: bool = True, add_dirs: str = None, allow_tools: str = None, deny_tools: str = None)`: Execute a command or query using the GitHub Copilot CLI.
- `copilot_resume(session_id: str = None, prompt: str = None)`: Resume a previous Copilot CLI session.
- `copilot_with_model(prompt: str, model: str)`: Execute a prompt with a specific AI model.
- `copilot_with_agent(prompt: str, agent: str, model: str = None)`: Execute a prompt with a specific custom agent.
- `copilot_version()`: Get the GitHub Copilot CLI version information.
- `copilot_help(topic: str = None)`: Get help information about Copilot CLI.
- `copilot_with_mcp_config(prompt: str, mcp_config: str, model: str = None)`: Execute a prompt with additional MCP server configuration.
- `copilot_restricted(prompt: str, allow_tools: str = None, deny_tools: str = None)`: Execute a prompt with specific tool permissions.
## Installation:
To use this extension, copy the entire `copilot_mcp_server` directory (which contains `gemini-extension.json` and `GEMINI.md`) to your Gemini CLI extensions directory.
**Example:**
`cp -r /path/to/copilot_mcp_server ~/.gemini/extensions/`
After copying, restart your Gemini CLI session for the changes to take effect.