Back to Home
CasperGN icon

dapr-mcp

Verified Safe

by CasperGN

Overview

The dapr-mcp server enables AI agents to interact with Dapr building blocks (state, pubsub, secrets, bindings, etc.) through a structured Model Context Protocol (MCP) tool interface.

Installation

Run Command
dapr run --app-id daprmcp --resources-path components -- go run cmd/daprmcp/main.go --http localhost:8080

Security Notes

The server leverages standard Dapr SDKs and does not contain obvious 'eval' or obfuscation. However, several security considerations exist for a production environment: mock secrets are stored in 'components/secrets.json' within the repository (bad practice for actual secrets); Redis components across `components/` and `test/components/` use empty passwords, indicating unsecure local Redis instances; and cryptography operations in 'pkg/crypto/tools.go' use a hardcoded key name 'rsa-private-key.pem' pointing to a local file system path that would require careful securing in production. The system's robustness relies heavily on the AI agent's adherence to tool annotations and instructions, as tools like 'invoke_service' and 'invoke_output_binding' can perform powerful, potentially destructive, operations on external systems.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2026-01-08

Tags

DaprMicroservicesAI Agent ToolsModel Context ProtocolGo