R
rohan-protocol/sdk
Official Model Context Protocol (MCP) server & in-memory privacy gateway. Prevents prompt injections & context leaks with gasless Midnight settlement.
SECURITY.md ✓
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
客户端配置(取自该仓库的安装命令)
{
"mcpServers": {
"rohan-protocol-sdk": {
"command": "npx",
"args": ["-y", "@rohan-protocol/mcp@latest"]
}
}
}解析自我们于 2026-10-26 抓取的该仓库 README;我们未执行过。
command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
"servers": {
"rohan-protocol-sdk": {
"command": "npx",
"args": ["-y", "@rohan-protocol/mcp@latest"]
}
}
}VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio rohan-protocol-sdk -- npx -y @rohan-protocol/mcp@latest
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 8 ★ · rohan-protocol/sdk · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-10-23 · 最近见到 2026-11-14 · 共见到 26 次 · 被 23 个来源列出
- 评分构成
- 综合分 2,300 · 8 ★ · 23 个来源 · mcp
- 安装
npx -y @rohan-protocol/mcp@latest
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
npx -y @rohan-protocol/mcp@latest。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
rohan-protocol/sdk;我们收录于 2026-10-23;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# 🛡️ Rohan Protocol
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
### Official Model Context Protocol (MCP) Server & Security Gateway
The in-memory security proxy preventing LLM context leaks, credential exfiltration, and prompt injections during tool execution.
> 📦 Official Open-Source MCP Server Monorepo
> The core Model Context Protocol (MCP) server implementation is located directly in this repository at packages/mcp/ and distributed on npm as @rohan-protocol/mcp.
Run from Source • MCP Tools • Client Setup • Architecture • Security
> ⚠️ Public Beta (v0.6.2): Rohan currently enforces client-side RAM witness isolation, V-01 semantic policy firewalls, and V-02 deterministic memory zeroization (zeroize) to shield MCP tool calls while native client-side WASM ZK-SNARK proving circuits are under active research (Milestone 1).
## ⚡ The Problem: Plaintext Context Leaks in MCP
The Model Context Protocol (MCP) connects autonomous agents to tools. However, transport encryption (TLS) only protects data in flight — at the host boundary, standard MCP tools execute in cleartext:
text
🔴 WITHOUT ROHAN (Standard MCP)
Agent calls tool ➔ { "apikey": "sklive...", "dbpassword": "secret" } in plaintext
➔ Leaked directly into LLM conversation context & inference logs
➔ Permanent risk of context exfiltration & prompt injection
🟢 WITH ROHAN SHIELD
Agent calls tool ➔ Arguments evaluated strictly in isolated client RAM
➔ V-02 Zeroize wipes witness memory immediately from volatile memory
➔ Zero plaintext parameters ever enter the model context window
## 🛠️ Running the MCP Server from Source
This repository contains the complete open-source MCP server implementation. You can clone and run the server locally over standard stdio:
bash
# 1. Clone the repository
git clone https://github.com/rohan-protocol/sdk.git
cd sdk
# 2. Install dependencies & build packages
npm install
npm run build
# 3. Start the MCP Server directly over stdio
node packages/mcp/dist/server.js
Or run directly via npx without cloning:
bash
npx -y @rohan-protocol/mcp@latest
## 🔧 Exposed MCP Tools
The @rohan-protocol/mcp server registers standard Model Context Protocol tool endpoints over JSON-RPC:
| MCP Tool | Description | Input Parameters |
| rohanzkhandshake | Evaluates tool execution parameters in ephemeral RAM, strips prompt injections, generates a cryptographic 32-byte intent commitment, and anchors state transitions gaslessly to Midnight. | targetAgentId (string), intent (string), privatePayload (object) |
## 🚀 Universal MCP Client Setup
### 1. Claude Desktop
Add rohan-shield to your claudedesktopconfig.json:
json
"mcpServers": {
"rohan-shield": {
"command": "npx",
"args": ["-y", "@rohan-protocol/mcp@latest"],
"env": {
"ROHANRELAYERURL": "https://api.rohanprotocol.network/api/v1/handshake"
### 2. Cursor IDE & Windsurf
1. Navigate to Settings → Features → MCP Servers → Add New MCP Server.
2. Set the name to rohan-shield.
3. Set the type to command.
4. Use the command: npx -y @rohan-protocol/mcp@latest
## 📁 Monorepo Structure
text
rohan-protocol/sdk
├── packages/
│ ├── mcp/ # 🤖 The Official Model Context Protocol (MCP) Server (Stdio)
│ ├── sdk/ # ⚙️ Core in-memory commitment engine & relayer client
│ └── webmcp/ # 🌐 React / Next.js browser hooks with V-07 DOM isolation
The in-memory security proxy preventing LLM context leaks, credential exfiltration, and prompt injections during tool execution.
> 📦 Official Open-Source MCP Server Monorepo
> The core Model Context Protocol (MCP) server implementation is located directly in this repository at packages/mcp/ and distributed on npm as @rohan-protocol/mcp.
Run from Source • MCP Tools • Client Setup • Architecture • Security
> ⚠️ Public Beta (v0.6.2): Rohan currently enforces client-side RAM witness isolation, V-01 semantic policy firewalls, and V-02 deterministic memory zeroization (zeroize) to shield MCP tool calls while native client-side WASM ZK-SNARK proving circuits are under active research (Milestone 1).
## ⚡ The Problem: Plaintext Context Leaks in MCP
The Model Context Protocol (MCP) connects autonomous agents to tools. However, transport encryption (TLS) only protects data in flight — at the host boundary, standard MCP tools execute in cleartext:
text
🔴 WITHOUT ROHAN (Standard MCP)
Agent calls tool ➔ { "apikey": "sklive...", "dbpassword": "secret" } in plaintext
➔ Leaked directly into LLM conversation context & inference logs
➔ Permanent risk of context exfiltration & prompt injection
🟢 WITH ROHAN SHIELD
Agent calls tool ➔ Arguments evaluated strictly in isolated client RAM
➔ V-02 Zeroize wipes witness memory immediately from volatile memory
➔ Zero plaintext parameters ever enter the model context window
## 🛠️ Running the MCP Server from Source
This repository contains the complete open-source MCP server implementation. You can clone and run the server locally over standard stdio:
bash
# 1. Clone the repository
git clone https://github.com/rohan-protocol/sdk.git
cd sdk
# 2. Install dependencies & build packages
npm install
npm run build
# 3. Start the MCP Server directly over stdio
node packages/mcp/dist/server.js
Or run directly via npx without cloning:
bash
npx -y @rohan-protocol/mcp@latest
## 🔧 Exposed MCP Tools
The @rohan-protocol/mcp server registers standard Model Context Protocol tool endpoints over JSON-RPC:
| MCP Tool | Description | Input Parameters |
| rohanzkhandshake | Evaluates tool execution parameters in ephemeral RAM, strips prompt injections, generates a cryptographic 32-byte intent commitment, and anchors state transitions gaslessly to Midnight. | targetAgentId (string), intent (string), privatePayload (object) |
## 🚀 Universal MCP Client Setup
### 1. Claude Desktop
Add rohan-shield to your claudedesktopconfig.json:
json
"mcpServers": {
"rohan-shield": {
"command": "npx",
"args": ["-y", "@rohan-protocol/mcp@latest"],
"env": {
"ROHANRELAYERURL": "https://api.rohanprotocol.network/api/v1/handshake"
### 2. Cursor IDE & Windsurf
1. Navigate to Settings → Features → MCP Servers → Add New MCP Server.
2. Set the name to rohan-shield.
3. Set the type to command.
4. Use the command: npx -y @rohan-protocol/mcp@latest
## 📁 Monorepo Structure
text
rohan-protocol/sdk
├── packages/
│ ├── mcp/ # 🤖 The Official Model Context Protocol (MCP) Server (Stdio)
│ ├── sdk/ # ⚙️ Core in-memory commitment engine & relayer client
│ └── webmcp/ # 🌐 React / Next.js browser hooks with V-07 DOM isolation
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/rohan-protocol-sdk/)
- 来源
- awesome · https://github.com/rohan-protocol/sdk
- 按领域浏览
- MCP 服务
- Traction
- 8 ★
- 收录来源
- 23 个独立来源
- 收录于
- 今天
- 安全策略
- 该仓库根目录有
SECURITY.md(我们只核文件存在,未核内容)
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。