Cursor
Learn how to configure Cursor editor to access Vaadin documentation through the Model Context Protocol server
Cursor is an AI-powered code editor with native HTTP MCP support, making it easy to integrate with the Vaadin MCP server for enhanced documentation access.
Configuration
-
Open Cursor Settings
-
Navigate to Features → Beta → Model Context Protocol
-
Enable MCP support
-
Add the server configuration to
~/.cursor/mcp.json:
Source code
JSON
{
"mcpServers": {
"vaadin": {
"url": "https://mcp.vaadin.com/docs"
}
}
}After adding the configuration, restart Cursor to load the MCP server.
|
Note
|
The MCP configuration file location may vary depending on your operating system:
|
Verify the Setup
After restarting Cursor:
-
Open the AI chat panel
-
Ask a question about Vaadin development (e.g., "Show how to create a form in Vaadin")
-
Cursor automatically queries the Vaadin MCP server for relevant documentation