@panoptic-eng/mcp 0.1.0 → 0.1.1
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/README.md +5 -5
- package/package.json +14 -12
package/README.md
CHANGED
|
@@ -22,8 +22,8 @@ its MCP settings, etc.).
|
|
|
22
22
|
"command": "npx",
|
|
23
23
|
"args": ["-y", "@panoptic-eng/mcp"],
|
|
24
24
|
"env": {
|
|
25
|
-
"PANOPTIC_RPC_URL": "https://mainnet.
|
|
26
|
-
"PANOPTIC_CHAIN_ID": "
|
|
25
|
+
"PANOPTIC_RPC_URL": "https://eth-mainnet.g.alchemy.com/v2/<key>",
|
|
26
|
+
"PANOPTIC_CHAIN_ID": "1",
|
|
27
27
|
// optional — enables enhanced analytics tools
|
|
28
28
|
"PANOPTIC_SUBGRAPH_URL": ""
|
|
29
29
|
}
|
|
@@ -35,10 +35,10 @@ its MCP settings, etc.).
|
|
|
35
35
|
Configuration may also be passed as CLI flags, which override the env vars:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
npx @panoptic-eng/mcp --rpc-url https://mainnet.
|
|
38
|
+
npx @panoptic-eng/mcp --rpc-url https://eth-mainnet.g.alchemy.com/v2/<key> --chain-id 1
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Supported chains: Ethereum mainnet (`1`),
|
|
41
|
+
Supported chains: Ethereum mainnet (`1`), Sepolia (`11155111`).
|
|
42
42
|
|
|
43
43
|
## v0 tools (read-only, pure RPC)
|
|
44
44
|
|
|
@@ -79,7 +79,7 @@ pnpm --filter @panoptic-eng/mcp typecheck # tsc --noEmit
|
|
|
79
79
|
pnpm --filter @panoptic-eng/mcp lint
|
|
80
80
|
|
|
81
81
|
# Inspect locally against a real RPC:
|
|
82
|
-
PANOPTIC_RPC_URL=https://mainnet.
|
|
82
|
+
PANOPTIC_RPC_URL=https://eth-mainnet.g.alchemy.com/v2/<key> PANOPTIC_CHAIN_ID=1 \
|
|
83
83
|
npx @modelcontextprotocol/inspector node dist/cli.js
|
|
84
84
|
```
|
|
85
85
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panoptic-eng/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Local MCP server exposing the Panoptic SDK as read/build/simulate tools for AI agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -22,9 +22,20 @@
|
|
|
22
22
|
"dist",
|
|
23
23
|
"README.md"
|
|
24
24
|
],
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "tsdown",
|
|
27
|
+
"dev": "tsx watch src/cli.ts",
|
|
28
|
+
"start": "tsx src/cli.ts",
|
|
29
|
+
"typecheck": "tsc --noEmit -p tsconfig.build.json",
|
|
30
|
+
"lint": "eslint . --ext .ts --ignore-pattern 'dist/**' --max-warnings=0",
|
|
31
|
+
"lint:fix": "pnpm lint --fix",
|
|
32
|
+
"test": "vitest run",
|
|
33
|
+
"prepack": "pnpm build",
|
|
34
|
+
"prepublishOnly": "pnpm build"
|
|
35
|
+
},
|
|
25
36
|
"dependencies": {
|
|
26
37
|
"@modelcontextprotocol/sdk": "^1.25.0",
|
|
27
|
-
"@panoptic-eng/sdk": "^1.0.
|
|
38
|
+
"@panoptic-eng/sdk": "^1.0.28",
|
|
28
39
|
"viem": "^2.41.2",
|
|
29
40
|
"zod": "^4.3.6"
|
|
30
41
|
},
|
|
@@ -41,14 +52,5 @@
|
|
|
41
52
|
"vite": "^5.4.2",
|
|
42
53
|
"vite-tsconfig-paths": "^5.0.1",
|
|
43
54
|
"vitest": "^2.0.5"
|
|
44
|
-
},
|
|
45
|
-
"scripts": {
|
|
46
|
-
"build": "tsdown",
|
|
47
|
-
"dev": "tsx watch src/cli.ts",
|
|
48
|
-
"start": "tsx src/cli.ts",
|
|
49
|
-
"typecheck": "tsc --noEmit -p tsconfig.build.json",
|
|
50
|
-
"lint": "eslint . --ext .ts --ignore-pattern 'dist/**' --max-warnings=0",
|
|
51
|
-
"lint:fix": "pnpm lint --fix",
|
|
52
|
-
"test": "vitest run"
|
|
53
55
|
}
|
|
54
|
-
}
|
|
56
|
+
}
|