> Markdown version of [Cursor](https://vaadin.com/docs/v25/building-apps/agentic-development/mcp/supported-tools/cursor). Section index: [llms.txt](https://vaadin.com/docs/v25/building-apps/llms.txt)

# Cursor

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.

## <a id="configuration"></a>Configuration

Cursor reads MCP servers from an `mcp.json` file. Choose where to save it:

- **This project:** `.cursor/mcp.json` in the project root. Everyone who opens the project in Cursor gets the server, so commit the file to share it.

- **All your projects:** `~/.cursor/mcp.json` in your home directory (`%USERPROFILE%\.cursor\mcp.json` on Windows).

Add the following configuration to the file:

```json
{
  "mcpServers": {
    "vaadin": {
      "url": "https://mcp.vaadin.com/docs"
    }
  }
}
```

Create the file if it doesn’t exist. If it already has an `mcpServers` entry, add `vaadin` to it. Restart Cursor afterwards.

## <a id="verify-the-setup"></a>Verify the Setup

After restarting Cursor:

1. Open the AI chat panel

2. Ask a question about Vaadin development (e.g., "Show how to create a form in Vaadin")

3. Cursor automatically queries the Vaadin MCP server for relevant documentation

## <a id="resources"></a>Resources

- [Cursor MCP Documentation](https://cursor.com/docs/mcp)
