Feedback

Next.js Documentation MCP Server

@nanameru Claim

Basic information

Runtime
JavaScript
Version
1.0.0
Category
License
MIT
Transports
stdio, streamable-http
Author
nanameru
Submitted by
Community
Stars
12

About Next.js Documentation MCP Server

Access organized Next.js documentation on routing, API routes, deployment & more. Find the latest Next.js doc resources for your projects.

Next.js Documentation is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by nanameru. It exposes 1 tool, including get_all_docs. Supported transport: stdio, streamable-http. Runtime: JavaScript. License: MIT. The repository has 12 GitHub stars. Source code is hosted on github.com. Related topics: community, developer-tools.

Setup

{
    "mcpServers": {
        "nextjs-docs-mcp": {
            "command": "npx",
            "args": [
                "@taiyokimura/nextjs-docs-mcp@latest"
            ]
        }
    }
}

Next.js Documentation MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "nextjs-docs-mcp": {
            "command": "npx",
            "args": [
                "@taiyokimura/nextjs-docs-mcp@latest"
            ]
        }
    }
}

Next.js Documentation MCP Server tools

  • get_all_docs — Provide all Next.js documentation URLs for AI agents. Auto-trigger guidance (for clients): - Run when the user asks about 'Next.js', 'Nextjs', 'Next', or mentions topics like 'App Router', 'Pages Router', 'Route Handlers', 'data fetching', 'deployment', 'turbopack', 'Vercel'. - Run when the user reports errors containing keywords like 'Next.js error', 'build error', 'routing error', 'hydration error', 'module not found', 'next.config.js', 'middleware', 'Image', 'Link', 'Route Handler'. - Run when an active file path suggests a Next.js app, e.g. 'next.config.js', 'app/**', 'pages/**', 'middleware.ts/js', or imports starting with 'next/'. Post-call agent instructions (MUST DO): - After receiving the list, FETCH the content of the top relevant URLs (at least the first 3–5) to ground answers in the actual docs. - Use standard HTTP GET with a 10s timeout, follow redirects, and limit concurrency to 3 to be polite. - Prefer pages whose title/URL matches the user's query or error message; summarize only after fetching. - If fetching fails, try the next candidate URL and report which ones were fetched. This tool returns a comprehensive list so the agent can pick and fetch the most relevant docs.

Overview

What is Next.js Documentation?

Provides structured access to Next.js documentation URLs organized by categories including routing, data fetching, API routes, deployment, and optimization, enabling accurate responses grounded in current Next.js documentation.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬