Skip to main content

sakshi-mcp

Sakshi governance as an MCP server. Any MCP-capable agent or host — Claude Desktop, Cursor, an agent framework — gains three governance tools without integrating the SDK:

Tool When the agent calls it
enforce_action Before a consequential action (move money, change records, contact a customer): returns auto / async_review / sync_review / block. A kill switch or safe-mode outranks the envelope.
witness_decision After executing a consequential tool: records it on the tamper-evident chain and returns the sequence number + record hash (the receipt).
check_readiness Any time: the live regulator-readiness score per instrument (RBI MRM / DPDP / SEBI / IRDAI).

This is the MCP analogue of the Sakshi SDK: opt-in, so it is evidence + advisory enforcement — the agent chooses to consult it. Hard enforcement in the tool path (an intercepting proxy) is the heavier sibling and shares this server's plumbing.

Sakshi never sees raw identifiers here: the server is a client of the Sakshi API, so every call rides the same tokenization and hash-chain path as any other ingest.

Configure it in an MCP host

{
  "mcpServers": {
    "sakshi-governance": {
      "command": "sakshi-mcp",
      "env": {
        "SAKSHI_API_URL": "https://sakshi.your-bank.internal",
        "SAKSHI_MCP_API_KEY": "sks_..."
      }
    }
  }
}

SAKSHI_API_URL defaults to http://localhost:8000; SAKSHI_MCP_API_KEY is a Sakshi ingest key (falls back to SAKSHI_API_KEY).

Run it directly

pip install sakshi-mcp
SAKSHI_API_URL=... SAKSHI_MCP_API_KEY=sks_... sakshi-mcp        # stdio (default)
SAKSHI_MCP_TRANSPORT=streamable-http sakshi-mcp                 # serve over HTTP

Apache-2.0.

Metadata

Release files for sakshi-mcp 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sakshi-mcp 0.2.1
File Size Uploaded
sakshi_mcp-0.2.1.tar.gz 62.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sakshi-mcp 0.2.1
File Interpreter ABI Platform
sakshi_mcp-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 79.5 kB

Release files / sakshi_mcp-0.2.1.tar.gz

Download URL sakshi_mcp-0.2.1.tar.gz
Size 62.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e093c5971abfc2e743d620c5edafdf9322601f169f40c5724ee7b95d79ecde46
BLAKE2b-256 checksum
How to use checksums
bd29355c552028e2eeca9e8de70e6809d07d0d2d0ebe3209ba98d545584cf958
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release files / sakshi_mcp-0.2.1-py3-none-any.whl

Download URL sakshi_mcp-0.2.1-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc8584aa310edf2bf1a13f5d54784589ceec380c7ca00ad6127e4ee57d3b6e8f
BLAKE2b-256 checksum
How to use checksums
3633967e498d58b19ae2623f66c7c5af43be1e1943f9ae41b926929f8fe6e4b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page