Home / GitMCP for Next.js MCP / Setup guides / Claude Code
How to add the GitMCP for Next.js MCP server to Claude Code
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).
Claude Code setup
claude mcp add --transport http gitmcp-nextjs https://gitmcp.io/vercel/next.js- Run the command, then run claude mcp get gitmcp-nextjs to confirm it connected.
We ran the hands-on test in a reference client, not in Claude Code. This config follows Claude 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 Cursor
- 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