Skip to main content
Sariva ships an MCP server so AI agents — Claude Code, Cursor, or any MCP-capable client — can call its operational tool library directly, the same way a developer calls the REST API. It’s a thin wrapper over the same tools the agents use internally, so there’s no separate surface to maintain.

Enable it

MCP is opt-in and off by default. The runtime switch is the MCP_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:
Linux VM (Docker) path — two lines in .env plus the port mapping the wizard-emitted compose already carries commented out:
Then 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:
The agent then discovers tools with 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, a tools/call for consumer lag:
Returns the lag for that group (or all groups if consumer_group is omitted) — read-only, no side effects.