Home / GitMCP for Next.js MCP / Setup guides / VS Code
How to add the GitMCP for Next.js MCP server to VS Code (GitHub Copilot)
Server URL: https://gitmcp.io/vercel/next.js
Sign-in: No sign-in. Paste the URL and it connects.
Our hands-on result: Partial 6 of 7 tasks passed, tested Oct 16, 2026 with MCP TypeScript SDK (reference client).
VS Code setup
File: .vscode/mcp.json
{
"servers": {
"gitmcp-nextjs": {
"type": "http",
"url": "https://gitmcp.io/vercel/next.js"
}
}
}- Save the file and click Start above the server entry. VS Code asks you to trust the server.
- No sign-in is needed.
We ran the hands-on test in a reference client, not in VS Code. This config follows VS Code's documented format for remote (Streamable HTTP) servers. If it fails for you, tell us and we will retest.
Known problems and fixes
- MCP tool results too large: context window blown by one call
- MCP tool call times out on slow servers
- MCP search returns results for nonsense queries
Same server, other clients
- GitMCP for Next.js MCP in Claude
- GitMCP for Next.js MCP in Claude Code
- GitMCP for Next.js MCP in Cursor
- GitMCP for Next.js MCP in ChatGPT
Full GitMCP for Next.js test report | Compare all tested connectors | Connector Weather