Skip to main content

Sakshi governance as an MCP server: witness, enforce, and check regulatory readiness from any MCP-capable agent — no SDK integration required.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sakshi_mcp-0.1.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sakshi_mcp-0.1.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file sakshi_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: sakshi_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for sakshi_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 67169f9e9f824dedd8e35f6f3cd0e1d14be5bada8b891372adec24f35e6e2c6c
MD5 b75cda1bfa37990acf7b42c1d66ed7c4
BLAKE2b-256 d0b9e444f6e98e2884ad4a0cae214e8194d589fb3675c7e46cb96c9926f2b286

See more details on using hashes here.

File details

Details for the file sakshi_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sakshi_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for sakshi_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31b681db3e8594404a86eca991c3e912d54d668010c730741f4ebb75b2188cd3
MD5 f7cc5c396ad079c98bbf57aee31012ed
BLAKE2b-256 884ae776b95e6eca2770170db6c27dd23e9ddedd11136d61364c5958f7a700c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page