Claude Code
- Recommended: Install via the Vaadin Agent Marketplace
- Manual Configuration
- Verify the Setup
- Useful CLI Commands
- Resources
Claude Code is Anthropic’s official CLI tool for agentic coding. It provides native support for HTTP-based MCP servers, making it straightforward to connect to the Vaadin MCP server.
Recommended: Install via the Vaadin Agent Marketplace
The easiest way to set up Claude Code for Vaadin development is the Vaadin Agent Marketplace plugin. A single plugin installs both the Vaadin MCP server and a set of Vaadin development skills. When you use the plugin, you don’t need to configure the MCP server manually as described below.
Installing the plugin requires a recent version of Claude Code with plugin support.
-
Add the marketplace:
Source code
terminal
/plugin marketplace add vaadin/agent-marketplace -
Install the plugin:
Source code
terminal
/plugin install vaadin-skills@vaadin-marketplace
Alternatively, run /plugin and select vaadin-skills from the marketplace browser.
To update the plugin later, refresh the marketplace and update from the plugin manager:
Source code
terminal
/plugin marketplace update vaadin-marketplaceIf you prefer to connect only the MCP server, without the bundled skills, follow the manual configuration instructions below instead.
Manual Configuration
The recommended way to add the MCP server on its own is Claude Code’s built-in CLI.
Global Configuration
To add the Vaadin MCP server globally (available in all projects):
Source code
terminal
claude mcp add --transport http vaadin https://mcp.vaadin.com/docs --scope userProject-Scoped Configuration
To add the server only for the current project, navigate to your project directory and run:
Source code
terminal
claude mcp add --transport http vaadin https://mcp.vaadin.com/docs --scope projectThis creates a .mcp.json file in your project root.
|
Tip
|
Use claude mcp add --help for all available options.
|
After adding the server, restart Claude Code to load it.
Editing the Configuration File
Alternatively, add the server to Claude Code’s configuration directly. User-scoped servers are stored in ~/.claude.json, while project-scoped servers go in a .mcp.json file in your project root. Add a vaadin entry under mcpServers:
Source code
JSON
{
"mcpServers": {
"vaadin": {
"type": "http",
"url": "https://mcp.vaadin.com/docs"
}
}
}|
Tip
|
You can add multiple MCP servers to the configuration. Each server needs a unique name in the |
Verify the Setup
After restarting Claude Code:
-
Start a new conversation
-
Ask a question about Vaadin development (e.g., "How to create a Button in Vaadin?")
-
Claude Code automatically uses the Vaadin MCP server to fetch relevant documentation
You can verify that the MCP server is connected by running the /mcp command in Claude Code, which lists each connected server along with its available tools.