DeAlgo MCP Server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DeAlgo MCP ServerEvaluate risk before buying 100 shares of GME"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DeAlgo MCP Server
Runtime decision firewall for AI agents. Exposes the CSC engine (via the
dealgo-portal control layer) as a Model Context Protocol server so any
MCP-aware client — Claude Desktop, Claude Code, Cursor, custom agents — can
consult CSC before executing risky actions.
Claude / agent
↓
MCP tool: csc_check(...)
↓
dealgo-portal /api/csc/check (Bearer dealgo_sk_live_…)
↓
CSC engine: reality · policy · throttle gates
↓
{ decision, action, reason, v2_bias, latency_ms }Tools
csc_check(feed, risk?, volatility?, confidence?, symbol?, source?, intent?, v2_aware=True)
Primary tool. Score one signal/action against CSC. Returns
{ "decision": "APPROVE" | "DELAY" | "DENY",
"action": "EXECUTE" | "WAIT" | "REJECT",
"reason": "...",
"v2_bias": -0.018,
"stimulus_id": "stim_…",
"latency_ms": 41 }Proceed only on APPROVE. On DELAY, retry with backoff. On DENY, do
not retry — surface the reason to the user.
check_action(intent, action, actor_id, domain, environment, metadata)
Backwards-compat shim. Maps the legacy governance payload onto csc_check
so existing demos and Claude Desktop configs keep working. Prefer
csc_check directly in new code.
Resource
governance://decisions/recent — last 20 decisions logged for the
configured API key. Lets agents introspect their own history.
Setup (recommended — published package)
Install:
pip install dealgo-mcpGet a sandbox key from your portal at https://api.dealgo.io/keys (or
https://api.dealgo.io/quickstartfor a one-click reveal). Use adealgo_sk_test_…key for a no-meter sandbox,dealgo_sk_live_…for prod.Wire into Claude Desktop. Merge this into the config:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "dealgo-csc": { "command": "dealgo-mcp", "env": { "DEALGO_API_KEY": "dealgo_sk_test_…", "DEALGO_API_URL": "https://api.dealgo.io" } } } }Restart Claude Desktop. Then ask Claude:
"Use
csc_checkbefore doing anything risky."Every risky action will now consult
/v1/decideand surface the verdict.
Setup (local dev — from source)
git clone https://github.com/dealgo-systems/dealgo-mcp-server
cd dealgo-mcp-server
pip install -e . # editable install — picks up changes immediatelyThen point Claude Desktop config to the editable install ("command": "dealgo-mcp"
still works after pip install -e . — entry point is registered system-wide).
Smoke test
DEALGO_API_KEY=dealgo_sk_test_... python smoke_test.pyExercises all three CSC gates (reality, policy, throttle), the backwards-compat shim, and the recent-decisions resource. Pass = CSC governance is live over MCP.
Configuration
Env var | Default | Required |
| (none) | yes |
|
| no |
Now Claude can call CSC before executing actions.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dealgo-systems/dealgo-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server