# agentkernel for Copilot CLI
Use agentkernel as a sandbox backend for GitHub Copilot CLI via MCP.
## Setup
1. Install agentkernel:
```bash
brew tap thrashr888/agentkernel && brew install agentkernel
```
2. Install the MCP config into your project:
```bash
agentkernel plugin install copilot
```
This adds the agentkernel MCP server entry to your `.mcp.json`.
3. Start using agentkernel tools in Copilot CLI. The MCP server exposes:
| `run_command` | Run a command in a temporary sandbox |
| `create_sandbox` | Create a persistent sandbox |
| `exec_in_sandbox` | Execute in an existing sandbox |
| `remove_sandbox` | Remove a sandbox |
| `list_sandboxes` | List all sandboxes |
## How It Works
The `agentkernel mcp-server` command starts a stdio-based MCP server that Copilot CLI connects to. All code execution is routed through agentkernel's microVM sandboxes.
## License
MIT