Select theme:
Radzen Blazor Studio includes a built-in Model Context Protocol (MCP) server. Any MCP-capable AI coding agent can connect to it and work on the application you have open in Radzen Blazor Studio — scaffolding pages and applications, editing components, and managing themes and data sources for you.
Using an AI agent inside Radzen Blazor Studio? You're already set up. When you chat with an agent through the AI panel (which uses the Agent Client Protocol), Radzen Blazor Studio configures this MCP server for the agent automatically — there is nothing to do. Follow the steps on this page only to connect an agent you run outside Radzen Blazor Studio, such as a terminal CLI or another editor.
This is different from Radzen Blazor MCP, the hosted server that gives agents Radzen Blazor component documentation, examples, and API references. This page is about the local server bundled with Radzen Blazor Studio that builds and edits your project. You can use both at the same time.
Once connected, the agent can ask Radzen Blazor Studio to:
Some capabilities (such as premium UI blocks and theme customization) require a license.
dotnet is on your PATH. Radzen Blazor Studio already needs it, so this is usually the case. If not, get it from the .NET download page.Your agent launches the bundled server in MCP mode, and it automatically connects to the application you have open in Radzen Blazor Studio — there is no port, key, or other configuration to set up. The commands and configuration files below do exactly that. When you close Radzen Blazor Studio the connection simply goes away.
The server is Radzen.Server.dll, which ships inside Radzen Blazor Studio. Every example below is already filled in with its location — just pick the tab for your operating system:
c:\Program Files\Radzen Blazor Studio\resources\Radzen.Server\Radzen.Server.dll/Applications/Radzen Blazor Studio.app/Contents/Resources/Radzen.Server/Radzen.Server.dllPick your tool below. Every example registers the server under the name radzen-blazor-studio.
Create or edit .cursor/mcp.json in your project root:
{
"mcpServers": {
"radzen-blazor-studio": {
"command": "dotnet",
"args": ["c:\\Program Files\\Radzen Blazor Studio\\resources\\Radzen.Server\\Radzen.Server.dll", "--mcp"]
}
}
}
Tips:
.cursor/mcp.json is project-level; ~/.cursor/mcp.json applies to every project.Verify: Open Cursor Settings > MCP. You should see radzen-blazor-studio with a green status indicator.
Run this command — no file editing needed:
claude mcp add radzen-blazor-studio -- dotnet "c:\Program Files\Radzen Blazor Studio\resources\Radzen.Server\Radzen.Server.dll" --mcp
Everything after -- is the command Claude Code runs, so the trailing --mcp is passed to the server.
Tips:
.mcp.json file in the project directory instead./mcp to refresh the server list.Verify: Run claude mcp list. You should see radzen-blazor-studio.
Create or edit .vscode/mcp.json in your project root:
{
"servers": {
"radzen-blazor-studio": {
"type": "stdio",
"command": "dotnet",
"args": ["c:\\Program Files\\Radzen Blazor Studio\\resources\\Radzen.Server\\Radzen.Server.dll", "--mcp"]
}
}
}
Tips:
mcp.json. Click it to connect.Verify: Click Start next to the server entry. The status should change to "Running".
Create or edit .mcp.json in your solution directory:
{
"servers": {
"radzen-blazor-studio": {
"type": "stdio",
"command": "dotnet",
"args": ["c:\\Program Files\\Radzen Blazor Studio\\resources\\Radzen.Server\\Radzen.Server.dll", "--mcp"]
}
}
}
Tips:
.mcp.json at the solution root on startup. If you added it while VS was open, close and reopen the solution.Verify: Open the Copilot Chat panel and confirm the Radzen tools appear under the tools icon.
Run this command — no file editing needed:
gemini mcp add radzen-blazor-studio dotnet "c:\Program Files\Radzen Blazor Studio\resources\Radzen.Server\Radzen.Server.dll" --mcp
Verify: Run gemini mcp list. You should see radzen-blazor-studio connected.
Create or edit opencode.json in your project root:
{
"mcp": {
"radzen-blazor-studio": {
"type": "local",
"command": ["dotnet", "c:\\Program Files\\Radzen Blazor Studio\\resources\\Radzen.Server\\Radzen.Server.dll", "--mcp"],
"enabled": true
}
}
}
Verify: Start OpenCode and confirm the server connects.
Create or edit ~/.codex/config.toml:
[mcp_servers.radzen-blazor-studio]
command = "dotnet"
args = ["c:\\Program Files\\Radzen Blazor Studio\\resources\\Radzen.Server\\Radzen.Server.dll", "--mcp"]
Verify: Start Codex and confirm the server is listed in the active connections.
Any MCP-compatible client can connect. Configure it with transport stdio, command dotnet, and the arguments Radzen.Server.dll (the full path for your operating system) followed by --mcp. Refer to your client's documentation for the exact configuration format.
radzen-blazor-studio (for example, claude mcp list, or the MCP panel in Cursor or VS Code).If the agent can't connect, make sure Radzen Blazor Studio is running with your project open, that dotnet is on your PATH, and that the path to Radzen.Server.dll is correct for your operating system.
Radzen is free to use. You can also test the premium features for 15 days.
Start FreeSelect theme: