# Build an MCP server with Nuxt

**Published:** April 2, 2026 | **Authors:** Hugo Richard, Ben Sabic

---

Developers building AI features with [Nuxt](https://nuxt.com/) can now create Model Context Protocol (MCP) servers directly within their applications using the [Nuxt MCP Toolkit](https://mcp-toolkit.nuxt.dev/).

**Install the module**

```yaml
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](https://mcp-toolkit.nuxt.dev/advanced/code-mode) that lets models orchestrate multiple tool calls in a single execution.

Read the [documentation](https://mcp-toolkit.nuxt.dev/getting-started/installation) or the [walkthrough guide](https://vercel.com/kb/guide/how-to-build-an-mcp-server-with-nuxt) to start building.

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)