nuxt-mcp-dev

MCP server from your Nuxt dev server helping models to understand your Nuxt app better.
97,799 911
Install
npm install nuxt-mcp-dev
Latest Version:0.3.2
Vue:3
License:MIT
Last Updated:Mar 1, 2026
Links: GitHub  ·  npm
Maintainer: antfu

nuxt-mcp-dev

npm version npm downloads bundle JSDocs License

MCP server helping models to understand your Nuxt app better.

[!IMPORTANT] Experimental. Use with caution.

// nuxt.config.ts

export default defineNuxtConfig({
  modules: ['nuxt-mcp-dev'],
})

Then the MCP server will be available at http://localhost:3000/__mcp/sse.

💡 When using VSCode, Cursor, Windsurf, Claude Code, the module will automatically update the config files for you.

Module Hooks

For other modules to provide additional information to MCP, you can use the mcp:setup hook.

// src/module.ts

export default defineNuxtModule({
  meta: {
    name: 'my-module',
  },
  async setup(options, nuxt) {
    nuxt.hook('mcp:setup', ({ mcp }) => {
      // Setup your MCP tools here
      // For example
      mcp.tool('get-nuxt-root', 'Get the Nuxt root path', {}, async () => {
        return {
          content: [{
            type: 'text',
            text: nuxt.options.rootDir,
          }],
        }
      })
    })
  },
})

Sponsors

License

MIT License © Anthony Fu

Related Packages

vite-plugin-vue-mcp

MCP server helping models to understand your Vue app better.

96,210 578
@scayle/storefront-nuxt

Nuxt integration for the SCAYLE Commerce Engine and Storefront API

152,903
nuxt-tsconfig-stub

Stub Nuxt's generated tsconfig.json at installation

70,835 24
rsbuild-plugin-vue-mcp

Rsbuild/Rspack MCP plugin based on Vue DevTools

66,844 0
kuranuxt

Look at the Nuxt 3 documentation to learn more.

871 0

Version History

Version Released License
0.3.2 MIT
0.3.1 MIT
0.3.0 MIT
0.0.0 MIT