mcpField
S
sphior-ai-governance-mcp

sphior-ai-governance-mcp

Local
sphior.comLegal & Government1Updated 3d ago

About sphior-ai-governance-mcp

sphior-ai-governance-mcp lets AI agents submit execution records as supporting evidence for governance and audit processes. It stores hashes and metadata rather than prompts or outputs by default, and does not make compliance determinations.

Key features

  1. 01Record individual AI executions
  2. 02Submit batches of up to 200 executions
  3. 03Store hashes and metadata by default
  4. 04Chain records and anchor them periodically
  5. 05Verify record integrity independently

Use cases

  1. 01Keep evidence of AI executions for governance reviews
  2. 02Prepare supporting records for ISO 42001, EU AI Act, or SOC 2 work

MCP support

The MCP server exposes tools to submit one or multiple AI execution records to SPHIOR AI Governance. Records include execution metadata and are processed into chained, verifiable evidence.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"toraastrta-sphior-ai-governance": {
"command": "npx",
"args": [
"-y",
"sphior-ai-governance-mcp"
],
"env": {
"SPHIOR_AIGOV_TOKEN": "<SPHIOR_AIGOV_TOKEN>",
"SPHIOR_AIGOV_ENDPOINT": "<SPHIOR_AIGOV_ENDPOINT>"
}
}
}
}
Run commandnpx -y sphior-ai-governance-mcp
Environment variables to set
SPHIOR_AIGOV_TOKENSecretIngestion token for your SPHIOR account. Without it the server still starts and tells you how to create one; no events are recorded until it is set. Create one at https://sphior.com/app?settings=aigov
SPHIOR_AIGOV_ENDPOINTOverride the ingestion endpoint for self-hosted / regional deployments. Default: https://sphior.com/api/ai-governance/ingest

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmsphior-ai-governance-mcp0.2.1

Tools

2

Saved tool list · updated 1w ago

ParameterTypeRequiredDescription
costnumberNo
actorstringNoAgent or service name
modelstringNoModel display name (your label)
tokensnumberNo
latencynumberNoms
providerstringNo
trace_idstringNoCorrelation id
occurred_atstringNoRFC3339; defaults to now
model_versionstringNo
policy_decisionstringNoYour outcome, e.g. allow | deny | flag

Details

From the project README

sphior-ai-governance-mcp

Official Model Context Protocol (MCP) server for SPHIOR AI Governance.

Let your AI agent (Claude, Cursor, Cline, Windsurf, Zed, VS Code, …) record its own executions as tamper-evident, independently verifiable evidence you can retain for ISO 42001 / EU AI Act / SOC 2.

Only hashes and metadata are stored (hash_only) — never your prompts or outputs unless you include them.

Records supporting evidence. Does not assert compliance, pass/fail, or an audit opinion.

Tools

ToolWhat it does
record_ai_executionRecord one AI execution (actor, model, provider, policy_decision, tokens, cost, latency, trace_id, …)
record_ai_executionsRecord up to 200 executions in one call

Setup

Get an ingestion token from your SPHIOR dashboard: Account → AI Governance → Ingestion tokens.

Claude Desktop / Claude Code (claude_desktop_config.json)
{
  "mcpServers": {
    "sphior-ai-governance": {
      "command": "npx",
      "args": ["-y", "sphior-ai-governance-mcp"],
      "env": { "SPHIOR_AIGOV_TOKEN": "<your-token>" }
    }
  }
}
Cursor / Cline / Windsurf / Zed

Add an MCP server with command npx -y sphior-ai-governance-mcp and env SPHIOR_AIGOV_TOKEN=<your-token>.

Environment variables

VarRequiredDefault
SPHIOR_AIGOV_TOKENyes—
SPHIOR_AIGOV_ENDPOINTnohttps://sphior.com/api/ai-governance/ingest
SPHIOR_TIMEOUTno30000 (ms)
SPHIOR_DEBUGnofalse

What SPHIOR does with it

Each event is canonicalized (RFC 8785 JCS), hashed (SHA-256), chained, and periodically anchored to an append-only, independently verifiable record. You and your auditor can verify integrity with the open sphior-verify tool and standard timestamp tooling — without trusting SPHIOR.

Prefer plain code over an MCP agent? Use the sphior-ai-governance SDK, or POST directly to the ingestion endpoint.

License

Apache-2.0

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.