An MCP Server to interact with the Dapr APIs
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add dapr --env DAPR_GRPC_PORT='<DAPR_GRPC_PORT>' --env DAPR_API_TOKEN='<DAPR_API_TOKEN>' -- docker run -i --rm -e DAPR_GRPC_PORT -e DAPR_API_TOKEN ghcr.io/dapr/dapr-mcp-server:v0.0.3~/.codex/config.toml
[mcp_servers.dapr]
command = "docker"
args = ["run", "-i", "--rm", "-e", "DAPR_GRPC_PORT", "-e", "DAPR_API_TOKEN", "ghcr.io/dapr/dapr-mcp-server:v0.0.3"]
env = { DAPR_GRPC_PORT = "<DAPR_GRPC_PORT>", DAPR_API_TOKEN = "<DAPR_API_TOKEN>" }
# codex mcp add dapr --env DAPR_GRPC_PORT='<DAPR_GRPC_PORT>' --env DAPR_API_TOKEN='<DAPR_API_TOKEN>' -- docker run -i --rm -e DAPR_GRPC_PORT -e DAPR_API_TOKEN ghcr.io/dapr/dapr-mcp-server:v0.0.3~/.cursor/mcp.json
{
"mcpServers": {
"dapr": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DAPR_GRPC_PORT",
"-e",
"DAPR_API_TOKEN",
"ghcr.io/dapr/dapr-mcp-server:v0.0.3"
],
"env": {
"DAPR_GRPC_PORT": "<DAPR_GRPC_PORT>",
"DAPR_API_TOKEN": "<DAPR_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"dapr": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DAPR_GRPC_PORT",
"-e",
"DAPR_API_TOKEN",
"ghcr.io/dapr/dapr-mcp-server:v0.0.3"
],
"env": {
"DAPR_GRPC_PORT": "<DAPR_GRPC_PORT>",
"DAPR_API_TOKEN": "<DAPR_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"dapr": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DAPR_GRPC_PORT",
"-e",
"DAPR_API_TOKEN",
"ghcr.io/dapr/dapr-mcp-server:v0.0.3"
],
"env": {
"DAPR_GRPC_PORT": "<DAPR_GRPC_PORT>",
"DAPR_API_TOKEN": "<DAPR_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"dapr": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DAPR_GRPC_PORT",
"-e",
"DAPR_API_TOKEN",
"ghcr.io/dapr/dapr-mcp-server:v0.0.3"
],
"env": {
"DAPR_GRPC_PORT": "<DAPR_GRPC_PORT>",
"DAPR_API_TOKEN": "<DAPR_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"dapr": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DAPR_GRPC_PORT",
"-e",
"DAPR_API_TOKEN",
"ghcr.io/dapr/dapr-mcp-server:v0.0.3"
],
"env": {
"DAPR_GRPC_PORT": "<DAPR_GRPC_PORT>",
"DAPR_API_TOKEN": "<DAPR_API_TOKEN>"
}
}
}
}Environment variables
DAPR_GRPC_PORTDAPR_API_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.