The module includes a built-in integration with the MCP Inspector, a visual debugging tool that allows you to interactively test and debug your MCP server directly from Nuxt DevTools.


nuxt.config.ts:export default defineNuxtConfig({
modules: ['@nuxtjs/mcp-toolkit'],
devtools: { enabled: true },
})
The inspector automatically connects to your MCP server endpoint with the correct configuration - no setup needed.
The inspector provides a visual interface to:
It's the easiest way to test and validate your MCP server during development.
By default, the inspector uses ports 6274 (UI) and 6277 (proxy). To customize them:
CLIENT_PORT=8080 SERVER_PORT=9000 npm run dev
For advanced configuration options, see the MCP Inspector documentation.