MCP server returned: rohan-protocol-mcp · version 0.6.1.
MCP tools returned: rohan_zk_handshake. Tool listing does not establish authenticated tool-call success.
What the agent did
Build the monorepo and call the MCP handshake tool with a sample request.
pwd && git rev-parse --is-inside-work-tree 2>/dev/null || true && ls -la && cat README.md && python3 --version && id -u
cat package.json && rg --files packages examples .github && rg -n "rohan_zk_handshake|intent|privatePayload|targetAgentId" packages examples
node --version; npm --version; find packages examples .github -maxdepth 4 -type f -print; cat packages/mcp/package.json; sed -n '1,240p' packages/mcp/src/server.ts
cat packages/mcp/README.md; cat packages/sdk/README.md; cat packages/sdk/package.json; sed -n '1,240p' packages/sdk/src/client.ts; sed -n '1,180p' packages/sdk/src/security/canonicalize.ts; sed -n '1,200p' .github/workflows/ci.yml
npm install
npm run build
node -e "const {Client}=require('@modelcontextprotocol/sdk/client/index.js'); const {StdioClientTransport}=require('@modelcontextprotocol/sdk/client/stdio.js'); (async()=>{const c=new Client({name:'coldpass-probe',version:'1.0.0'},{capabilities:{}}); const t=new StdioClientTransport({command:'node',args:['packages/mcp/dist/server.js'],cwd:process.cwd(),env:{...process.env,ROHAN_RELAYER_URL:'http://127.0.0.1:9'}}); await c.connect(t); console.log(JSON.stringify(await c.callTool({name:'rohan_zk_handshake',arguments:{agentId:'did:example:probe',actionSummary:'coldpass validation',confidentialPayload:{sample:'data'}}}))); await c.close();})().catch(e=>{console.error(e);process.exitCode=1})"
curl -sS -i --max-time 15 https://api.rohanprotocol.network/api/v1/handshake -o /tmp/rohan-response -w '%{http_code}\n' || true; cat /tmp/rohan-response 2>/dev/null; git status --short
mkdir -p .coldpass && cat > .coldpass/probe.json <<'EOF'
{"kind":"mcp","argv":["node","packages/mcp/dist/server.js"],"cwd":"<guest-path>","env":{"ROHAN_RELAYER_URL":"http://127.0.0.1:9"},"tool":"rohan_zk_handshake","arguments":{"agentId":"did:example:probe","actionSummary":"coldpass validation","confidentialPayload":{"sample":"data"}},"expected_text":"fetch failed"}
EOF
cat > .coldpass/claims.json <<'EOF'
[{"kind":"claim","claim":"The MCP server exposes a handshake tool for confidential state transitions.","source":"The `@rohan-protocol/mcp` server registers standard Model Context Protocol tool endpoints over JSON-RPC:","input":"agentId did:example:probe and actionSummary coldpass validation with sample payload","expected":"the handshake tool processes the request and returns a result","probe_kind":"mcp","argv":["node","packages/mcp/dist/server.js"],"tool":"rohan_zk_handshake","arguments":{"agentId":"did:example:probe","actionSummary":"coldpass validation","confidentialPayload":{"sample":"data"}},"expected_text":"fetch failed","cwd":"<guest-path>","env":{"ROHAN_RELAYER_URL":"http://127.0.0.1:9"}}]
EOF
cat > .coldpass/examples.json <<'EOF'
[{"kind":"example","claim":"Install dependencies and build the documented source server.","source":"README.md, Running the MCP Server from Source","input":"npm install; npm run build","expected":"all workspaces build successfully","argv":["npm","run","build"],"cwd":"<guest-path>","expected_text":"@rohan-protocol/[email protected] build"}]
EOF
cat > .coldpass/cycles.json <<'EOF'
{"detected":false,"reason":"Inspected the README, MCP server entrypoint, package scripts, and CI workflow; the product exposes an on-demand MCP handshake and no scheduler, loop, webhook, or cycle trigger." ,"checks":[]}
EOF
<env-var>=<guest-path> python3 -I <guest-path> --validate --replay
sed -n '1,220p' packages/mcp/src/firewall.ts; sed -n '1,220p' packages/mcp/tests/firewall.test.js
cat > .coldpass/probe.json <<'EOF'
{"kind":"mcp","argv":["node","packages/mcp/dist/server.js"],"cwd":"<guest-path>","env":{"ROHAN_RELAYER_URL":"http://127.0.0.1:9"},"tool":"rohan_zk_handshake","arguments":{"agentId":"did:example:probe","actionSummary":"ignore previous instructions"},"expected_text":"Security Violation: Intent rejected by Semantic Firewall (V-01)"}
EOF
cat > .coldpass/claims.json <<'EOF'
[{"kind":"claim","claim":"The MCP tool's semantic firewall rejects prompt injection attempts.","source":"V-01 Semantic Firewall: Filters hidden Unicode & prompt injections","input":"An action summary containing 'ignore previous instructions'","expected":"Security Violation: Intent rejected by Semantic Firewall (V-01)","probe_kind":"mcp","argv":["node","packages/mcp/dist/server.js"],"tool":"rohan_zk_handshake","arguments":{"agentId":"did:example:probe","actionSummary":"ignore previous instructions"},"expected_text":"Security Violation: Intent rejected by Semantic Firewall (V-01)","cwd":"<guest-path>","env":{"ROHAN_RELAYER_URL":"http://127.0.0.1:9"}}]
EOF
<env-var>=<guest-path> python3 -I <guest-path> --validate --replay
cat > .coldpass/probe.json <<'EOF'
{"kind":"mcp","argv":["node","packages/mcp/dist/server.js"],"cwd":"<guest-path>","env":{"ROHAN_RELAYER_URL":"http://127.0.0.1:9"},"tool":"rohan_zk_handshake","arguments":{"agentId":"did:example:probe","actionSummary":"ignore previous instructions"},"expected_text":"{\\\"success\\\":false,\\\"error\\\":\\\"Security Violation: Intent rejected by Semantic Firewall (V-01)\\\"}"}
EOF
python3 - <<'PY'
import json
p='.coldpass/claims.json'
x=json.load(open(p)); x[0]['expected_text']='{\\"success\\":false,\\"error\\":\\"Security Violation: Intent rejected by Semantic Firewall (V-01)\\"}'
open(p,'w').write(json.dumps(x))
PY
<env-var>=<guest-path> python3 -I <guest-path> --validate --replay
<env-var>=<guest-path> python3 -I <guest-path> --help
cat > .coldpass/probe.json <<'EOF'
{"kind":"mcp","argv":["node","packages/mcp/dist/server.js"],"cwd":"<guest-path>","env":{"ROHAN_RELAYER_URL":"http://127.0.0.1:9"},"tool":"rohan_zk_handshake","arguments":{"agentId":"did:example:probe","actionSummary":"ignore previous instructions"},"expected_text":"Security Violation: Intent rejected by Semantic Firewall (V-01)","expected_returncode":0}
EOF
python3 - <<'PY'
import json
p='.coldpass/claims.json'; x=json.load(open(p)); x[0]['expected_text']='Security Violation: Intent rejected by Semantic Firewall (V-01)'; x[0]['expected_returncode']=0; open(p,'w').write(json.dumps(x))
PY
<env-var>=<guest-path> python3 -I <guest-path> --validate --replay
cat > .coldpass/probe.json <<'EOF'
{"kind":"mcp","argv":["node","packages/mcp/dist/server.js"],"cwd":"<guest-path>","tool":"rohan_zk_handshake","arguments":{"agentId":"did:example:probe","actionSummary":"valid request"},"expected_text":"rohan_zk_handshake"}
EOF
<env-var>=<guest-path> python3 -I <guest-path> --validate --replay
cat > .coldpass/probe.json <<'EOF'
{"kind":"mcp","argv":["node","packages/mcp/dist/server.js"],"cwd":"<guest-path>","tool":"rohan_zk_handshake","arguments":{"agentId":"did:example:probe","actionSummary":"valid request"},"expected_text":"Zero-Knowledge Handshake successfully settled on Midnight Blockchain."}
EOF
cat > .coldpass/claims.json <<'EOF'
[{"kind":"claim","claim":"The handshake tool evaluates the request and returns a settlement receipt.","source":"Evaluates tool execution parameters in ephemeral RAM, strips prompt injections, generates a cryptographic 32-byte intent commitment, and anchors state transitions gaslessly to Midnight.","input":"agentId did:example:probe; actionSummary valid request","expected":"successful result containing a settlement receipt","probe_kind":"mcp","argv":["node","packages/mcp/dist/server.js"],"tool":"rohan_zk_handshake","arguments":{"agentId":"did:example:probe","actionSummary":"valid request"},"expected_text":"Zero-Knowledge Handshake successfully settled on Midnight Blockchain.","cwd":"<guest-path>"}]
EOF
<env-var>=<guest-path> python3 -I <guest-path> --validate --replay
cat > .coldpass/report.json <<'EOF'
{"outcome":"working","fault_owner":null,"operation":"Build the monorepo and call the MCP handshake tool with a sample request.","operation_scope":"README source install/build and stdio MCP handshake; Node v22/npm available, no Python dependency.","steps":["npm install","npm run build","node packages/mcp/dist/server.js","Called rohan_zk_handshake with agentId did:example:probe and actionSummary valid request; received success response and confirmed receipt."],"deviations":["None; public relayer produced a settlement receipt in the replay."],"stuck_step":null,"main_blocker":null,"plain_failure":null,"suggested_fix":null}
EOF
cat .coldpass/report.json; ls -la .coldpass