Web search MCP / VS Code
Web search MCP server for VS Code (GitHub Copilot)
Copilot’s agent in VS Code now reads MCP servers from the native Copilot files. Add Ristria there and its web lookups come back as cited passages instead of whole pages.
Set it up
- Create an API key in the console.
- Add the entry above to ~/.copilot/mcp-config.json and export RISTRIA_API_KEY.
- Open the chat in agent mode and check that the Ristria tools are listed.
{
"mcpServers": {
"ristria": {
"type": "http",
"url": "https://api.ristria.com/mcp",
"headers": { "Authorization": "Bearer ${RISTRIA_API_KEY}" },
"tools": ["*"]
}
}
}Then, in the shell that starts VS Code:
export RISTRIA_API_KEY="<YOUR_API_KEY>"This is the portable Copilot format (mcpServers, ${NAME} references). The same file is read by the GitHub Copilot CLI. If COPILOT_HOME is set, the file lives there instead of ~/.copilot.
Hosted endpoint: https://api.ristria.com/mcp (Streamable HTTP, key as a bearer token). Checked against VS Code: MCP configuration reference on 2026-12-04.
Tips for VS Code
.vscode/mcp.json is the old format
VS Code’s documentation now points new Copilot setups to ~/.copilot/mcp-config.json or a workspace-root .mcp.json, and calls the servers format of .vscode/mcp.json deprecated. A team-wide .mcp.json takes the same entry; keep the key in the environment, not in the file.
What your agent gets
Each search returns the passages that answer the query, with the source URL of each, instead of the whole pages. On our benchmark of 30 Oct 2026 the answer the agent read was 85% lighter than the full pages of the same results (median). With one search per question, an open model answered 90.2% of SimpleQA Verified correctly. Method and limits are on the benchmarks page.
| Tool | What it does | Credits |
|---|---|---|
| search | Basic or advanced, BM25 passages included | 1 credit |
| extract | One URL: HTML, /llms.txt or PDF | 1 credit |
| map | robots.txt, sitemaps and link discovery | 1 credit, up to 200 URLs |
| find_similar | Seed title and key terms, lexical and entity overlap | 1 credit |
| research | mini: 2 sub-queries and a follow-up search · pro: 4 sub-queries and deeper extraction; cited sources and passages, no written report | 3 credits mini · 5 credits pro |
Free plan: 1,500 credits a month. Try every endpoint and MCP tool. A card check unlocks the credits, with no charge. Credits renew every month. Every tool and its options are in the tools reference; plans are on the pricing page.