Skip to content

Build an MCP server with Nuxt

1 min read

Developers building AI features with Nuxt can now create Model Context Protocol (MCP) servers directly within their applications using the Nuxt MCP Toolkit.

Install the module

npx nuxt module add mcp-toolkit

The module lets you define tools with Zod validation, expose data as resources, and create reusable prompts. It also includes an integrated MCP Inspector for debugging, middleware support, dynamic definitions, session persistence across tool calls, and a Code Mode that lets models orchestrate multiple tool calls in a single execution.

Read the documentation to start building.