nextjs_call
Call a runtime tool on a discovered server (errors, routes, logs, Server Actions).
How to use it
nextjs_call is exposed by the Next Devtools MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the nextjs_call tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Next Devtools MCP
npx add-mcp next-devtools-mcp@latestOther tools in Next Devtools MCP (11)
(optional) — arguments object, only if the tool requires them
Gateway. Point the agent at the agent-browser CLI for browser automation.
current build, runtime, and type errors
path to the dev log file (browser console + server output)
routes, pages, component metadata
project structure, config, dev server URL
resolve a Server Action ID to its source file
Gateway. Point the agent at version-accurate docs in nodemodules/next/dist/docs/.
Discover running Next.js dev servers and list each one's runtime MCP tools.
(required) — dev server port
(required) — runtime tool to invoke