MCP SERVER APACHE 2.0 NumPy ONLY

RGI MCP Server

Score decisions with conservation-bounded learning from Claude Desktop, Cursor, or any MCP client. One install. Zero infrastructure.

Why This Matters

Three capabilities no other MCP server provides:

1 · Install

terminal $ pip install "graph-attention-engine[mcp]"

2 · Launch

stdio transport (Claude Desktop, Cursor)

$ rgi-mcp-server \ --categories alert_triage,incident_response,threat_detection \ --actions investigate,escalate,mitigate,monitor \ --factors severity,confidence,blast_radius,recurrence,time_sensitivity

HTTP transport (remote / hosted)

$ rgi-mcp-server --http --port 8080 \ --categories alert_triage,incident_response \ --actions investigate,escalate,mitigate \ --factors severity,confidence,blast_radius

Categories, actions, and factors define your decision space. The server creates a ProfileScorer with centroid geometry matching your domain's tensor shape.

What the parameters mean

3 · Claude Desktop Config

Add to claude_desktop_config.json:

{ "mcpServers": { "graph-attention-engine": { "command": "rgi-mcp-server", "args": [ "--categories", "alert_triage,incident_response", "--actions", "investigate,escalate,mitigate", "--factors", "severity,confidence,blast_radius" ] } } }

4 · Docker

$ docker build -f Dockerfile.mcp -t gae-mcp . $ docker run -p 8080:8080 gae-mcp

5 · MCP Tools Exposed

⚡
score_decision
Score a decision using cross-graph attention. Returns recommended action, calibrated confidence, full probability distribution, entropy, and confidence gap.
📈
get_trajectory
Retrieve the learning trajectory — how scoring accuracy compounds over verified decisions. Shows the curve from cold-start to current state.
🛡
get_conservation_status
Check whether the system has sufficient evidence to learn. Returns α (coverage), q (quality), V (volume), θ_min (threshold), and the gate status.

The Loop: Score → Verify → Learn → Score Better

This is RGI. The model doesn't change. The decision infrastructure compounds from every verified outcome.

6 · How It Works

MCP Client Claude · Cursor · Any MCP rgi-mcp-server ProfileScorer Conservation Gate Centroid Learning Factor Vector [0.85, 0.90, 0.80, 0.90] Action Centroids μ(category, action) Shaped by verified outcomes ScoringResult action: "escalate" confidence: 0.91 probabilities: [0.04, 0.05, 0.91] entropy: 0.38 response Conservation Gate α · q · V ≥ θ_min Prevents learning from insufficient evidence Verified Outcome confirm / override → centroids update (if gate open) gate: OPEN / CLOSED learn

7 · The Conservation Law

Every scored decision is bounded by a conservation law — prevents learning from insufficient evidence:

α · q · V ≥ θmin
Coverage × Quality × Volume ≥ Deployment-aware threshold
α
Category coverage
Are you seeing all categories, or just the easy ones?
q
Observed quality
Accuracy on verified decisions within the sliding window
V
Verified volume
How many outcomes have been checked by a human or oracle?
# The conservation check inside the MCP server from gae import compute_theta_min threshold = compute_theta_min( alpha=0.72, # coverage across 3 categories volume=47, # verified decisions so far n_categories=3, # alert_triage, incident_response, threat_detection n_actions=4, # investigate, escalate, mitigate, monitor n_factors=5, # severity, confidence, blast_radius, ... ) can_learn = (0.72 * 0.83 * 47) >= threshold # True → centroids update from this outcome # False → scoring continues, learning pauses

8 · Decisions Compound

50% 60% 70% 80% 90% 0 100 200 300 400 500 Verified Decisions Accuracy Static AI (no learning) RGI (compounding) +25% compounding dividend θ_min (conservation gate opens here)

9 · What You Can Do Now That You Couldn't Before

10 · Who This Is For

AI Engineers
Enterprise Teams
Researchers

11 · Links