Enable it
MCP is opt-in and off by default. The runtime switch is theMCP_ENABLED environment variable (truthy values: true / 1 / yes / on), with MCP_PORT optionally overriding the default port 8001 — that is what the process reads at startup, however you deploy it. It runs inside the Sariva platform process on port 8001 (the REST API stays on 8000), over HTTP transport.
Helm/EKS paths — set it at install and the chart’s ConfigMap carries it into the pod:
.env plus the port mapping the wizard-emitted compose already carries commented out:
docker compose up -d to recreate the container.
Connect an agent
Point your MCP client at the server’s HTTP endpoint and pass your Sariva platform API key. A representative remote-MCP client config:tools/list and invokes them with tools/call, per the MCP spec. Every call is logged to Sariva’s audit trail with source: "mcp" and the calling agent’s identity.
Exact client config syntax varies by agent (Claude Code, Cursor, etc.) — the constants are the HTTP endpoint on port 8001 and the Sariva platform API key in the request header. Use the same key you’d use for the REST API.
What it exposes today
Around 60 tools, currently focused on read-only operations — diagnosis and observability an agent can call freely. Examples by category:runbook_execute_diagnosis is the standout — an agent calls it and gets back a structured diagnosis with root-cause ranking and remediation steps, not just raw metrics. The full, current list is the server’s manifest, discoverable via tools/list.
Safety classes & approvals
Every tool carries a machine-readable safety class, so an agent knows what’s safe to call without a human:
Write and destructive tools (for example
cc_rotate_fle_key) return PENDING_APPROVAL plus a callback URL — a human approves via Slack or REST before anything runs. Today the exposed surface is the read-only set; broader write/destructive exposure, with its approval-gate workflow, lands in a later release.
Example call
Conceptually, atools/call for consumer lag:
consumer_group is omitted) — read-only, no side effects.