Home / GitMCP for Next.js MCP / Setup guides / Cursor
How to add the GitMCP for Next.js MCP server to Cursor
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).
Cursor setup
File: ~/.cursor/mcp.json (or .cursor/mcp.json in a project)
{
"mcpServers": {
"gitmcp-nextjs": {
"url": "https://gitmcp.io/vercel/next.js"
}
}
}- Save the file. The server shows a green dot in Cursor Settings, then MCP.
We ran the hands-on test in a reference client, not in Cursor. This config follows Cursor'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 VS Code
- GitMCP for Next.js MCP in ChatGPT
Full GitMCP for Next.js test report | Compare all tested connectors | Connector Weather