July 15, 2026 · 6 min read
VS Code added Model Context Protocol support in GitHub Copilot's agent mode starting in version 1.99. Once you wire up an MCP server, Copilot can call external tools — searching documentation, querying APIs, checking indexed knowledge — directly inside a Copilot Chat conversation. No extension to install, no additional subscription.
This guide shows how to connect AgentReady so that GitHub Copilot can query any indexed website from inside VS Code — useful for library docs, internal tools, or any site that isn't in Copilot's training data.
MCP support in VS Code means GitHub Copilot agent mode can call MCP tools during a conversation. When you ask Copilot something that requires external data — “what does the Supabase docs say about realtime subscriptions?” — Copilot can call an MCP tool that retrieves the answer from indexed content rather than falling back to (potentially stale) training data.
The tools are visible to Copilot automatically once the MCP server is registered. You don't need to invoke them explicitly — Copilot decides when to call them based on what your question needs.
MCP support requires VS Code 1.99 or later and the GitHub Copilot extension. Check with Help → About in the menu bar. Update via Help → Check for Updates if needed.
MCP tools are only available in Copilot Chat agent mode. Make sure you're using agent mode (@workspace or the agent toggle in the chat panel) rather than inline completions.
You can configure MCP servers at two scopes — workspace (project-level) or user (global):
Workspace scope — create .vscode/mcp.json in your project root:
{
"servers": {
"agentready": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@agentreadyweb/mcp"]
}
}
}Commit this file so every developer on the project gets AgentReady's tools in their Copilot sessions automatically.
User scope — open VS Code settings (Cmd+,), search for MCP, and click Edit in settings.json. Add under the mcp.servers key:
"mcp.servers": {
"agentready": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@agentreadyweb/mcp"]
}
}Open Copilot Chat (Ctrl+Alt+I / Cmd+Shift+I) and switch to agent mode. You should see AgentReady's tools listed in the tools panel (the wrench icon in the chat input bar). The three tools are:
list_sites — shows all indexed sitesask_site — queries a site with a natural-language questionsubmit_site — indexes a new site for the first timeIf you don't see them: open the Command Palette (Cmd+Shift+P), run MCP: List Servers, and check the AgentReady entry shows as running.
With the server running, ask Copilot questions that reference external docs:
# Copilot Chat (agent mode)
What does the Tailwind docs say about container queries?
Check the Supabase docs — how do I set up Row Level Security for a multi-tenant app?
How does Stripe handle idempotency keys according to their docs?
What's the Next.js App Router way to handle dynamic routes with search params?Copilot will call ask_sitewith the inferred domain and question. You'll see the tool call in the chat alongside the response, including which pages were cited.
If you ask about a site that isn't indexed yet, ask Copilot to submit it first: “use AgentReady to index prisma.io/docs.” The first query after indexing takes about 60 seconds.
The config format and file locations differ, but the runtime behaviour is the same — both run the MCP server as a local subprocess and pass tool calls over stdio. A few practical differences:
~/.cursor/mcp.json; VS Code scans .vscode/mcp.json and the user settings file. Both support workspace-level config, which is useful for team sharing.The workspace config approach (.vscode/mcp.json) is the right way to share MCP tools across a team. Add it to your dotfiles or project repo and every developer gets the tools without any individual setup. The @agentreadyweb/mcp package is pulled via npx at startup — no global installation required.
Sites indexed by AgentReady are shared across all clients. If one team member submits a site, it's immediately queryable by everyone using the same MCP server — whether they're in VS Code, Cursor, Claude Desktop, or Claude Code.
Index a site now and query it from VS Code Copilot in under a minute.
Index your first site →