MCP Server

MCP Server

Learn about the Model Context Protocol server included with Nuxt AI.

Nuxt AI includes a built-in Model Context Protocol (MCP) server that provides development tools specifically designed to enhance your AI development workflow.

What is MCP?

The Model Context Protocol (MCP) is a standard for communication between AI models and tools. It allows AI assistants like Claude, GPT, and others to interact with your codebase through a set of defined tools.

📚 Learn More: Explore the official MCP documentation for a comprehensive introduction to the protocol.

The MCP server included with Nuxt AI provides a set of tools that can be used by AI assistants to:

  1. Query your codebase - Access information about your application structure
  2. Generate documentation - Help create and maintain documentation
  3. Manage AI rules - Create and configure rules for AI assistants
  4. Test AI integrations - Validate AI features in your application

Server Features

The Nuxt AI MCP server includes several features that make AI development easier:

Tools

List of tools available in the MCP server.

Getting Started

To use the MCP server, you need to:

  1. Make sure it's enabled in your configuration (it's enabled by default in development)
  2. Access the MCP server interface at the configured path (default: /mcp)

Learn more about configuring the MCP server in the Configuration section.

Make sure your Nuxt development server is running (npm run dev) before attempting to connect to the MCP server.