Rohan Protocol MCP
MCP server giving agents a signed identity and hash-anchored settlements on Midnight
- Pricing
- Paid
- Platforms
- CLI, API
- Runs
- Locally
- Version
- 0.8.1
- Listing updated
- 3 days ago
About Rohan Protocol MCP
Rohan Protocol MCP is a paid MCP server for security. It runs locally on your machine and is started by your AI client.
Rohan targets agents that need to prove an agreement happened without exposing the details. An agent canonicalizes sensitive data such as budgets, contracts or personal details in local memory using RFC 8785, hashes it, and only the commitment hash is anchored on the Midnight Preprod network through a relayer. A second agent can later check a plaintext document against that anchored hash.
Identity is a W3C did:key built from a local Ed25519 key. The stdio server uses ROHAN_AGENT_PRIVATE_KEY if set, otherwise an existing keystore at ~/.rohan/agent-identity.json, and creates one with restricted permissions if none exists. The README warns that the key is stored as plaintext in that file, so it should be protected and backed up like a secret. Request envelopes bind nine canonical fields and use replay protection.
The site also describes a semantic firewall against prompt injection and a zero-width text sanitizer. It states gas fees are sponsored and billing is a fixed monthly rate through Stripe, though amounts are not published. The configured contract is on the Preprod test network.
Install
Run in a terminal
claude mcp add mcp -- npx -y @rohan-protocol/mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@rohan-protocol/mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@rohan-protocol/mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@rohan-protocol/mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@rohan-protocol/mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@rohan-protocol/mcp"
]
}
}
}Configuration
ROHAN_AGENT_PRIVATE_KEYOptional 32-byte Ed25519 seed as 64 hex characters to override the auto-provisioned local identity. Keep it in a secret store; never provide it as a tool argument.ROHAN_CONTRACT_ADDRESSMidnight Preprod Contract Address for Rohan Trust GatewayROHAN_RELAYER_URLRohan Relayer API URL
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
- rohan_execute_handshake
- Runs a confidential state transition and anchors a commitment hash on Midnight.
- rohan_get_ledger_state
- Reads the anchored contract state: root, block height and last transaction hash.
- rohan_get_transaction_history
- Lists recent settlement transactions and receipts, default 10, maximum 50.
- rohan_verify_commitment
- Verifies a plaintext payload against its canonical SHA-256 digest in local memory.
What it does
- Confidential handshake
- Anchors only a hash of confidential parameters on Midnight, not the data.
- Ledger inspection
- Reads the anchored contract state with a short-lived cache.
- Settlement history
- Lists recent transactions and receipts, up to 50 per call.
- Commitment verification
- Checks a plaintext payload against its SHA-256 digest locally.
- Local did:key identity
- Generates and stores an Ed25519 identity for signing requests.
- Injection screening
- The site describes a pre-prover firewall for prompt injection and tampering.
Good for
- Record that two agents agreed on terms without publishing the terms
- Audit a past settlement by re-verifying the original document
- Give an agent a persistent signed identity for its requests
- Inspect the state and history of the Rohan contract
Pricing
Paid
Fixed monthly subscription through Stripe; amounts not published
Prices change. Check rohanprotocol.network before you buy.
Rohan Protocol MCP FAQ
Which network does it use?
The default contract address is on Midnight Preprod, a test network.
Where is the private key kept?
In ROHAN_AGENT_PRIVATE_KEY if set, otherwise in ~/.rohan/agent-identity.json, which is plaintext and limited to the user.
What goes on-chain?
Only a cryptographic commitment hash of the intent, according to the site.
Who pays gas?
The site says it sponsors Midnight gas fees and charges a fixed monthly rate through Stripe; amounts are not published.
Is Rohan Protocol MCP free?
No. Rohan Protocol MCP is a paid product.
How do I add Rohan Protocol MCP to Claude Code?
Run this command in your terminal: claude mcp add mcp -- npx -y @rohan-protocol/mcp
What are the best alternatives to Rohan Protocol MCP?
The closest alternatives to Rohan Protocol MCP are REA, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Agent Roast and Midplane.
Alternatives to Rohan Protocol MCP

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Solana MCP by Vybe
MCP serverRemote MCP server exposing the Vybe Solana API to AI clients and code editors
- 44 tools
- Remote
- 2.8K GitHub stars
- Finance and payments

Tapetide - Indian Stock Market MCP
MCP serverIndian NSE and BSE stock market data for AI assistants through 48 MCP tools
- 17 tools
- Remote
- Freemium
- 150 GitHub stars
- Finance and payments
Agent Roast
MCP serverOffline review that flags agent changes which weaken tests, assertions or CI
Runs locally- Open source
- 4 Hacker News points
- Developer tools

Midplane
MCP serverPostgres gateway for AI agents with table grants, column masking and approval for writes
Runs locally- Open source
- 5 GitHub stars
- Databases
Budget Tracker
MCP serverLocal MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling
- 14 tools
- Remote
- Freemium
- 2 GitHub stars
- Finance and payments