@blockrun/mcp 0.6.2 → 0.6.4
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 +27 -75
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,31 +1,14 @@
|
|
|
1
1
|
# @blockrun/mcp
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Live data for AI agents — search, research, markets, crypto, X/Twitter.**
|
|
4
4
|
|
|
5
|
-
[](https://opensource.org/licenses/MIT)
|
|
7
|
-
|
|
8
|
-
BlockRun MCP gives your AI agent access to live data it can't get on its own — real-time web search, neural research, prediction markets, crypto DEX prices, and X/Twitter intelligence. All paid via x402 micropayments in USDC. No API keys. No subscriptions. No accounts.
|
|
9
|
-
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
## Quick Start
|
|
13
|
-
|
|
14
|
-
### Option 1: Local (recommended — wallet auto-created, private key stays on your machine)
|
|
5
|
+
[](https://www.npmjs.com/package/@blockrun/mcp)
|
|
15
6
|
|
|
16
7
|
```bash
|
|
17
|
-
claude mcp add blockrun
|
|
8
|
+
claude mcp add blockrun npx @blockrun/mcp
|
|
18
9
|
```
|
|
19
10
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### Option 2: Hosted (zero install)
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
claude mcp add blockrun --transport http https://mcp.blockrun.ai/mcp
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
No Node.js. No npm. Works from any MCP client. Pass your wallet key via `X-Wallet-Key` header, or run `blockrun_wallet` for setup instructions.
|
|
11
|
+
Wallet auto-created. Fund with USDC on Base. Done.
|
|
29
12
|
|
|
30
13
|
---
|
|
31
14
|
|
|
@@ -33,74 +16,43 @@ No Node.js. No npm. Works from any MCP client. Pass your wallet key via `X-Walle
|
|
|
33
16
|
|
|
34
17
|
| Tool | What it does | Cost |
|
|
35
18
|
|------|-------------|------|
|
|
36
|
-
| `blockrun_search` |
|
|
37
|
-
| `blockrun_exa` | Neural research
|
|
38
|
-
| `blockrun_twitter` | X/Twitter
|
|
39
|
-
| `blockrun_markets` | Prediction markets — Polymarket, Kalshi | $0.001
|
|
40
|
-
| `blockrun_dex` |
|
|
41
|
-
| `blockrun_image` | Image
|
|
42
|
-
| `blockrun_chat` | Second opinion from
|
|
43
|
-
| `blockrun_wallet` |
|
|
44
|
-
| `blockrun_models` | List
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
## Why BlockRun
|
|
49
|
-
|
|
50
|
-
Your AI agent already has an LLM. What it doesn't have: access to the live internet, research tools, market data, or a way to pay for services autonomously.
|
|
51
|
-
|
|
52
|
-
BlockRun fills this gap. Every tool call is a real micropayment — authorized locally by a wallet the agent controls. No API keys to manage, no vendor accounts to create. Just a wallet and USDC.
|
|
53
|
-
|
|
54
|
-
For multi-agent systems: parent agents can delegate spending limits to child agents by `agent_id`. When a child hits its limit, further calls are automatically blocked.
|
|
19
|
+
| `blockrun_search` | Web + news search | ~$0.01 |
|
|
20
|
+
| `blockrun_exa` | Neural research — papers, competitors, similar products | $0.01 |
|
|
21
|
+
| `blockrun_twitter` | X/Twitter via Grok — trends, sentiment, @handles | per token |
|
|
22
|
+
| `blockrun_markets` | Prediction markets — Polymarket, Kalshi | $0.001 |
|
|
23
|
+
| `blockrun_dex` | DEX prices via DexScreener | free |
|
|
24
|
+
| `blockrun_image` | Image gen (DALL-E 3, Flux) | $0.02-0.08 |
|
|
25
|
+
| `blockrun_chat` | Second opinion from GPT, Gemini, DeepSeek, etc. | per token |
|
|
26
|
+
| `blockrun_wallet` | Balance, budgets, spending | free |
|
|
27
|
+
| `blockrun_models` | List models + pricing | free |
|
|
55
28
|
|
|
56
29
|
---
|
|
57
30
|
|
|
58
|
-
##
|
|
31
|
+
## Fund Your Wallet
|
|
59
32
|
|
|
60
|
-
|
|
61
|
-
# Check your wallet address
|
|
62
|
-
blockrun_wallet action:"status"
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Send USDC on Base network to your wallet address. $5 gets you started — that's ~500 Exa searches or ~50,000 Gemini Flash calls.
|
|
33
|
+
Run `blockrun_wallet` to see your address, then send USDC on Base. $5 = ~500 Exa searches.
|
|
66
34
|
|
|
67
|
-
| Method |
|
|
68
|
-
|
|
69
|
-
| Coinbase | Send → USDC →
|
|
70
|
-
| Bridge | [bridge.base.org](https://bridge.base.org)
|
|
35
|
+
| Method | How |
|
|
36
|
+
|--------|-----|
|
|
37
|
+
| Coinbase | Send → USDC → Base network → paste address |
|
|
38
|
+
| Bridge | [bridge.base.org](https://bridge.base.org) |
|
|
71
39
|
|
|
72
40
|
---
|
|
73
41
|
|
|
74
|
-
## How
|
|
42
|
+
## How It Works
|
|
75
43
|
|
|
76
|
-
|
|
44
|
+
Pay-per-call via [x402](https://x402.org) micropayments in USDC. Wallet stored locally at `~/.blockrun/.session`. Private key never leaves your machine.
|
|
77
45
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
## Configuration
|
|
81
|
-
|
|
82
|
-
| Variable | Description |
|
|
83
|
-
|----------|-------------|
|
|
84
|
-
| `BLOCKRUN_WALLET_KEY` | Bring your own private key (hex for Base, bs58 for Solana). Optional — a wallet is auto-generated if not set. |
|
|
85
|
-
|
|
86
|
-
Wallet resolution order:
|
|
87
|
-
1. `BLOCKRUN_WALLET_KEY` environment variable
|
|
88
|
-
2. `BASE_CHAIN_WALLET_KEY` environment variable
|
|
89
|
-
3. `~/.blockrun/.session` (auto-created on first use)
|
|
46
|
+
For multi-agent systems: delegate budgets to child agents with `agent_id`. Auto-blocked when budget runs out.
|
|
90
47
|
|
|
91
48
|
---
|
|
92
49
|
|
|
93
|
-
##
|
|
50
|
+
## Hosted (no install)
|
|
94
51
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
- **GitHub:** [github.com/blockrunai/blockrun-mcp](https://github.com/blockrunai/blockrun-mcp)
|
|
99
|
-
- **Telegram:** [t.me/+mroQv4-4hGgzOGUx](https://t.me/+mroQv4-4hGgzOGUx)
|
|
100
|
-
- **X:** [@BlockRunAI](https://x.com/BlockRunAI)
|
|
52
|
+
```bash
|
|
53
|
+
claude mcp add --transport http blockrun https://mcp.blockrun.ai/mcp
|
|
54
|
+
```
|
|
101
55
|
|
|
102
56
|
---
|
|
103
57
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
MIT
|
|
58
|
+
[blockrun.ai](https://blockrun.ai) · [npm](https://www.npmjs.com/package/@blockrun/mcp) · [github](https://github.com/blockrunai/blockrun-mcp) · [@BlockRunAI](https://x.com/BlockRunAI)
|
package/dist/index.js
CHANGED
|
@@ -870,8 +870,8 @@ Example paths:
|
|
|
870
870
|
Pricing: $0.001/GET, $0.005/POST`,
|
|
871
871
|
inputSchema: {
|
|
872
872
|
path: z8.string().describe("Endpoint path, e.g. 'polymarket/events', 'kalshi/markets/KXBTC-25MAR14'"),
|
|
873
|
-
params: z8.record(z8.string()).optional().describe("Query parameters for GET requests"),
|
|
874
|
-
body: z8.
|
|
873
|
+
params: z8.record(z8.string(), z8.string()).optional().describe("Query parameters for GET requests"),
|
|
874
|
+
body: z8.any().optional().describe("JSON body for POST queries (triggers pmQuery)")
|
|
875
875
|
}
|
|
876
876
|
},
|
|
877
877
|
async ({ path: path2, params, body }) => {
|
|
@@ -1026,12 +1026,12 @@ function initializeMcpServer(server) {
|
|
|
1026
1026
|
async function main() {
|
|
1027
1027
|
const server = new McpServer({
|
|
1028
1028
|
name: "blockrun-mcp",
|
|
1029
|
-
version: "0.6.
|
|
1029
|
+
version: "0.6.3"
|
|
1030
1030
|
});
|
|
1031
1031
|
initializeMcpServer(server);
|
|
1032
1032
|
const transport = new StdioServerTransport();
|
|
1033
1033
|
await server.connect(transport);
|
|
1034
|
-
console.error("BlockRun MCP Server started (v0.6.
|
|
1034
|
+
console.error("BlockRun MCP Server started (v0.6.3) \u2014 stdio transport");
|
|
1035
1035
|
}
|
|
1036
1036
|
main().catch((error) => {
|
|
1037
1037
|
console.error("Fatal error:", error);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockrun/mcp",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"mcpName": "io.github.BlockRunAI/blockrun-mcp",
|
|
5
5
|
"description": "BlockRun MCP Server - Give your AI agent web search, deep research, prediction markets, crypto data, X/Twitter intelligence. Paid via x402 micropayments.",
|
|
6
6
|
"type": "module",
|