get_logs
path to the dev log file (browser console + server output)
How to use it
Project documentation lists get_logs for the Next Devtools MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Next Devtools MCP
npx add-mcp next-devtools-mcp@latestOther tools in Next Devtools MCP (10)
Gateway. Point the agent at the agent-browser CLI for browser automation.
current build, runtime, and type errors
routes, pages, component metadata
project structure, config, dev server URL
resolve a Server Action ID to its source file
Call a runtime tool on a discovered server (errors, routes, logs, Server Actions).
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