Skip to main content
Glama
nanameru

Next.js Docs MCP

by nanameru

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
get_all_docsA

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusion or overlap between tools. The tool 'get_all_docs' has a single, clear purpose: to provide all Next.js documentation URLs for AI agents. This eliminates any ambiguity in tool selection.

Naming Consistency5/5

Since there is only one tool, naming consistency is inherently perfect. The tool name 'get_all_docs' follows a clear verb_noun pattern (get + all_docs), which is straightforward and descriptive, leaving no room for inconsistency.

Tool Count2/5

A single tool for a documentation server is too few for the apparent scope, as it only provides URLs without direct operations like searching, filtering, or fetching specific content. This forces agents to handle all complexity externally, making the tool surface thin and limiting functionality.

Completeness2/5

The tool surface is severely incomplete for a documentation server. It lacks essential operations such as searching documentation, fetching content directly, or accessing specific sections. While it provides URLs, agents must implement additional steps to retrieve and process content, creating gaps that could lead to inefficiencies or failures.

Maintenance

ActivityInactive
ResponsivenessNo issues