Connect the Cortex MCP server to GitHub Copilot Chat in VS Code (or any MCP client —
Claude Code, Claude.ai, Cursor). Your AI assistant gets real-time access to code graph
queries and documentation search while you code.
Open VS Code and ensure the GitHub Copilot Chat extension is installed
Create or edit .vscode/mcp.json in your workspace root and paste the configuration below
Reload VS Code — on first use it opens a browser for Microsoft sign-in. No tokens go in the file.
One-time: register your GitHub & Atlassian tokens in the Cortex Portal → Connections to unlock the code-graph and knowledge-base tools
Signed in, not pasted in. The server uses OAuth (Entra ID) —
your client registers itself and signs you in through Microsoft, so no API tokens live in
your config file.
GitHub & Atlassian access is per-user. After signing in, open the
Cortex Portal → Connections and add a
GitHub PAT (repo read) for code-graph tools and an
Atlassian API token for knowledge-base search. Tokens are stored encrypted against your identity.
Administration
Ingestion Workflows
The tools below are used by administrators to ingest and index data into the Knowledge Base. They are not required for querying — end users should use the Chatbot or MCP options above.