Integrations

GitHub Copilot

Connect Contxt to GitHub Copilot via MCP. Copilot Chat can query your project's memory to give context-aware suggestions.

MCP support in GitHub Copilot is in preview and requires VS Code 1.99+ with the Copilot Chat extension.

Prerequisites

  • VS Code 1.99 or later
  • GitHub Copilot Chat extension
  • MCP support enabled in VS Code settings
  • Contxt CLI installed and authenticated

Enable MCP in VS Code

Add to your VS Code settings.json:

{
  "github.copilot.chat.experimental.mcpServers": {
    "contxt": {
      "command": "contxt",
      "args": ["mcp"]
    }
  }
}

Reload VS Code after saving. The Contxt tools will appear in the Copilot Chat tool picker.

Using Contxt in Copilot Chat

In Copilot Chat, use the #contxt_suggest tool reference or ask Copilot to load your project context:

Example prompt

"Use the contxt tools to load my project decisions, then help me refactor this service"