MCP Server
Nuxt AI includes a built-in Model Context Protocol (MCP) server that provides development tools specifically designed to enhance your AI development workflow.
The MCP server is built on top of nuxt-mcp, a powerful module that provides a way for AI models to interact with your Nuxt application. This integration allows for seamless communication between AI assistants and your nuxt application.
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:
- Query your codebase - Access information about your application structure
- Generate documentation - Help create and maintain documentation
- Manage AI rules - Create and configure rules for AI assistants
- Test AI integrations - Validate AI features in your application
Getting Started
To use the MCP server, you need to:
- Make sure it's enabled in your configuration (it's enabled by default in development)
- Access the MCP server interface at the configured path (default:
/mcp
)
Learn more about configuring the MCP server in the Configuration section.
npm run dev
) before attempting to connect to the MCP server.