@rohan-protocol/mcp 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rohan-protocol/mcp",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Model Context Protocol (MCP) Gateway for Rohan Protocol ZK-Handshakes",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,11 +11,11 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@modelcontextprotocol/sdk": "^1.30.0",
14
- "@rohan-protocol/sdk": "^0.5.1"
14
+ "@rohan-protocol/sdk": "^0.5.2"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/node": "*",
18
18
  "typescript": "^7.0.2"
19
19
  },
20
20
  "bin": "./dist/server.js"
21
- }
21
+ }
package/server.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.rohan-protocol/mcp",
4
+ "title": "Rohan ZK Shield",
5
+ "description": "Zero-knowledge verification gateway for MCP handshakes and tool-boundary checks.",
6
+ "version": "0.5.1",
7
+ "repository": {
8
+ "url": "https://github.com/rohan-protocol/sdk.git",
9
+ "source": "github"
10
+ },
11
+ "packages": [
12
+ {
13
+ "registryType": "npm",
14
+ "registryBaseUrl": "https://registry.npmjs.org",
15
+ "identifier": "@rohan-protocol/mcp",
16
+ "version": "0.5.1",
17
+ "runtimeHint": "npx",
18
+ "transport": {
19
+ "type": "stdio"
20
+ }
21
+ }
22
+ ],
23
+ "remotes": [
24
+ {
25
+ "type": "streamable-http",
26
+ "url": "https://api.rohanprotocol.network/api/v1/handshake/stream"
27
+ }
28
+ ]
29
+ }
package/smithery.yaml ADDED
@@ -0,0 +1,23 @@
1
+ # Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
2
+ startCommand:
3
+ type: stdio
4
+ configSchema:
5
+ type: object
6
+ properties:
7
+ rohanApiKey:
8
+ type: string
9
+ description: "Optional Rohan Relayer API key for production throughput (defaults to free 10 tx/day sandbox)"
10
+ commandFunction:
11
+ |-
12
+ (config) => ({
13
+ command: 'npx',
14
+ args: ['-y', '@rohan-protocol/mcp@latest'],
15
+ env: {
16
+ ROHAN_FIREWALL_LEVEL: 'V-01_STRICT',
17
+ ROHAN_CONTRACT_ADDRESS: '6d2d603235f996424d76c85186a79cc403245ea8ee1ba9087e40967fe71bdc4d',
18
+ ROHAN_RELAYER_URL: 'https://api.rohanprotocol.network/api/v1/handshake/stream',
19
+ ...(config.rohanApiKey ? { ROHAN_API_KEY: config.rohanApiKey } : {})
20
+ }
21
+ })
22
+ exampleConfig:
23
+ rohanApiKey: "rohan_live_alpha_..."