Basic information
About Riskstate MCP Server
Deterministic risk governance for crypto trading agents. Answers "How much can I risk?" with policy level, max position size, leverage limits, and blocked actions — computed from 9+ real-time data sources (on-chain, derivatives, macro, sentiment). Supports BTC and ETH. One tool:
Riskstate is a MCP server in the Finance & Commerce category listed in the AddMCP.net directory, published by likidodefi. It exposes 1 tool, including Classification. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: ai-agents, ai-trading, bitcoin, btc-usd, crypto.
Setup
{
"mcpServers": {
"riskstate": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"RISKSTATE_API_KEY",
"ghcr.io/likidodefi/riskstate-mcp"
],
"env": {
"RISKSTATE_API_KEY": "<your_api_key>"
}
}
}
}
{
"mcpServers": {
"riskstate": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"RISKSTATE_API_KEY",
"ghcr.io/likidodefi/riskstate-mcp"
],
"env": {
"RISKSTATE_API_KEY": "<your_api_key>"
}
}
}
}
{
"servers": {
"riskstate": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"RISKSTATE_API_KEY",
"ghcr.io/likidodefi/riskstate-mcp"
],
"env": {
"RISKSTATE_API_KEY": "<your_api_key>"
}
}
}
}
Riskstate MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"riskstate": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"RISKSTATE_API_KEY",
"ghcr.io/likidodefi/riskstate-mcp"
],
"env": {
"RISKSTATE_API_KEY": "<your_api_key>"
}
}
}
}
Riskstate MCP Server tools
- Classification — cycle phase, market regime, macro regime, direction
Overview
What is Riskstate?
Riskstate is a risk governance API designed for autonomous crypto trading agents, providing deterministic policy computations from 9+ real-time data sources.
How to use Riskstate?
Invoke the get_risk_policy tool with the required asset parameter (either "BTC" or "ETH"), and optionally supply wallet_address, protocol ("spark" or "aave"), and include_details to receive a full risk policy and classification response.
Key features of Riskstate
- Five policy levels from BLOCK (survival) to GREEN (expansion)
- Max position size as percentage of portfolio (0–100)
- Leverage limit – maximum allowed multiplier
- Allowed and blocked actions for the agent
- Confidence score reflecting signal agreement and data quality
- Classification: cycle phase, market regime, macro regime, direction
- Auditability with composite score, policy hash, and TTL
Use cases of Riskstate
- A trading agent queries risk policy before opening a new position
- Automated rebalancing based on policy level changes
- Compliance logging via policy hash for audit trails
- Multi-source risk assessment with confidence and subscores
Frequently asked questions
1 What parameters does `get_risk_policy` require?
The asset parameter (BTC or ETH) is required. Optional parameters include wallet_address, protocol (spark or aave), and include_details.
2 What does the response contain?
The response includes exposure_policy (policy level, max size, leverage, allowed/blocked actions), classification (cycle phase, market regime, macro regime, direction), and auditability (composite score, confidence score, policy hash, TTL).
3 What do the policy levels mean?
There are five levels: BLOCK, CAUTIOUS, MODERATE, AGGRESSIVE, and GREEN – representing a spectrum from survival to expansion.
4 How is the confidence score calculated?
The confidence score is a number between 0 and 1, representing the agreement of multiple signals times data quality.
5 How often is the policy updated?
The policy has a TTL of 60 seconds, meaning it is cached for that duration before a fresh computation is required.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In