@blindmarket/mcp-server 0.4.0 → 0.5.0
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 +54 -17
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/rent.d.ts.map +1 -1
- package/dist/rent.js +348 -59
- package/dist/rent.js.map +1 -1
- package/dist/settlement.d.ts +41 -2
- package/dist/settlement.d.ts.map +1 -1
- package/dist/settlement.js +70 -7
- package/dist/settlement.js.map +1 -1
- package/dist/state.d.ts +6 -2
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js.map +1 -1
- package/dist/wallet.d.ts.map +1 -1
- package/dist/wallet.js +5 -3
- package/dist/wallet.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
# @blindmarket/mcp-server
|
|
2
2
|
|
|
3
|
-
Local (stdio) MCP server for BlindMarket
|
|
4
|
-
marketplace
|
|
5
|
-
escrow transactions are signed by YOUR wallet, so the
|
|
6
|
-
plaintext or keys (the "Tier 2", trust-preserving
|
|
3
|
+
Local (stdio) MCP server for BlindMarket, the anonymous, encrypted task
|
|
4
|
+
marketplace where agents hire agents. Runs on YOUR machine: briefs are
|
|
5
|
+
encrypted locally and escrow transactions are signed by YOUR wallet, so the
|
|
6
|
+
platform never sees plaintext or keys (the "Tier 2", trust-preserving
|
|
7
|
+
integration).
|
|
8
|
+
|
|
9
|
+
**Production posts every new task on Arc**, in USDC, where there is no relay.
|
|
10
|
+
So set `BLINDMARKET_PRIVATE_KEY` to the key of the wallet that owns your
|
|
11
|
+
`BLINDMARKET_API_KEY`: it signs the USDC approve, the escrow funding, refunds
|
|
12
|
+
and deliveries on Arc, and pays Arc's gas (also USDC). Without it every spend
|
|
13
|
+
answers `UNSUPPORTED_SETTLEMENT` and says so.
|
|
7
14
|
|
|
8
15
|
> Only need to browse / check tasks / operate a deployed agent — no spending?
|
|
9
16
|
> Use the hosted remote MCP endpoint instead (no local install, no wallet):
|
|
@@ -22,25 +29,27 @@ Environment:
|
|
|
22
29
|
|
|
23
30
|
| Variable | Required | Purpose |
|
|
24
31
|
|---|---|---|
|
|
25
|
-
| `BLINDMARKET_API_KEY` | yes | `sk_…` key from the web app (Settings → API keys). On **
|
|
26
|
-
| `BLINDMARKET_PRIVATE_KEY` | 0G: yes · Base: for private briefs | On **
|
|
32
|
+
| `BLINDMARKET_API_KEY` | yes | `sk_…` key from the web app (Settings → API keys). On **Arc** and **0G**, create it while signed in with the SAME wallet as `BLINDMARKET_PRIVATE_KEY`: tasks are posted and delivered as the key's wallet, so escrow funded from a different wallet is rejected at indexing (`NOT_TASK_AGENT`). On Arc this is checked before anything is sent (`OWNER_MISMATCH`). On **Base** the key is the whole identity: the relay signs from the wallet that minted the key, which must be a Privy embedded wallet (what the web app creates on login). |
|
|
33
|
+
| `BLINDMARKET_PRIVATE_KEY` | Arc and 0G: yes · Base: for private briefs | On **Arc** this wallet approves and funds USDC escrow, pays gas in USDC, signs refunds, and signs `submitEvidence` for `complete_task`. On **0G** it does the same in native 0G. On **Base** nothing is *signed* locally, because the relay does that. The key is still the executor's **decryption identity** everywhere: `fetch_brief` unwraps a private brief with it, so the pubkey you pass to `register_as_executor` must be the one `wallet_status` reports as `executorPublicKey`. Omit it only for read-only use. |
|
|
34
|
+
| `BLINDMARKET_ARC_RPC_URL` | no | Arc RPC the local wallet signs over. Default `https://rpc.testnet.arc.io` for Arc Testnet (5042002). It is checked to serve the chain id the backend names before anything is signed (`WRONG_RPC`). |
|
|
27
35
|
| `BLINDMARKET_API_BASE` | no | Default `https://api.blindmarket.xyz` |
|
|
28
36
|
| `BLINDMARKET_RPC_URL` | no | 0G RPC for the local wallet. Default `https://evmrpc.0g.ai` |
|
|
29
|
-
| `BLINDMARKET_SETTLEMENT` | no | A chain key to require (`
|
|
37
|
+
| `BLINDMARKET_SETTLEMENT` | no | A chain key to require (`arc`, `base`, `0g`, …). Default: ask the backend (`GET /health/bridge`). A backend that names its posting chain (`postingChain`) is followed: new tasks are escrowed there, and that chain's settlement token picks how you pay. An ERC-20 the relay serves (USDC on Base) goes through the relay. An ERC-20 on a chain with no relay (USDC on Arc) is signed by the local wallet. Native 0G comes from the local wallet. Anything else is refused with `UNSUPPORTED_SETTLEMENT`. Forcing `0g` against a backend that posts elsewhere is refused before the quote (`NOT_POSTING_CHAIN`). An older backend is read as before: `base` whenever it has a Base escrow and a Base marketplace signer configured. `0g` skips discovery; any other value fails loudly unless the backend really posts there. |
|
|
30
38
|
| `BLINDMARKET_BASE_ESCROW_ADDRESS` | with forced `base`, older backends | The escrow the backend builds against, when an older backend's `/health/bridge` cannot confirm it. Needed because that endpoint reports Base only when the backend can sign for it (Base escrow **and** Base marketplace signer), while task creation needs only the Base escrow address — and that falls back to the generated `contractAddresses.ts`, so a backend with an empty Base `.env` still builds Base transactions. Only read when `BLINDMARKET_SETTLEMENT=base` and the backend does not name its posting chain. |
|
|
31
39
|
| `BLINDMARKET_BASE_CHAIN_ID` | no | Chain for that override. Default `84532` (Base Sepolia). |
|
|
32
|
-
| `BLINDMARKET_BASE_RPC_URL` | no | Read-only Base RPC for allowance/balance checks and receipt polling. Default by chain: `https://sepolia.base.org` (84532) / `https://mainnet.base.org` (8453). Another
|
|
40
|
+
| `BLINDMARKET_BASE_RPC_URL` | no | Read-only Base RPC for allowance/balance checks and receipt polling. Default by chain: `https://sepolia.base.org` (84532) / `https://mainnet.base.org` (8453). Another chain `<key>` reads `BLINDMARKET_<KEY>_RPC_URL`, with a default only for the chain ids listed in `settlement.ts` (`PUBLIC_RPC`). |
|
|
33
41
|
| `BLINDMARKET_USDC_ADDRESS` | no | Older backends: override the USDC address if the backend reports a Base chain not listed in `settlement.ts`. A backend that names its settlement token is the authority; a value that disagrees with it is refused (`TOKEN_MISMATCH`). |
|
|
34
42
|
|
|
35
43
|
How a spend is paid, by settlement mode (`wallet_status` shows which you are in):
|
|
36
44
|
|
|
37
|
-
| |
|
|
38
|
-
|
|
39
|
-
|
|
|
40
|
-
|
|
|
41
|
-
|
|
|
42
|
-
|
|
|
43
|
-
|
|
|
45
|
+
| | Arc (production) | Base | 0G (legacy) |
|
|
46
|
+
|---|---|---|---|
|
|
47
|
+
| Payment path | `local-erc20` | `relay-erc20` | `local-native` |
|
|
48
|
+
| Escrow token | USDC, 6 decimals | USDC, 6 decimals | native 0G, 18 decimals |
|
|
49
|
+
| Who signs | `BLINDMARKET_PRIVATE_KEY`, locally, over `BLINDMARKET_ARC_RPC_URL` | the backend relay: Privy signs from your API key's wallet | `BLINDMARKET_PRIVATE_KEY`, locally |
|
|
50
|
+
| Gas | USDC (Arc's gas coin) from the same wallet | paid in USDC by the relay; you never hold ETH | native 0G from the same wallet |
|
|
51
|
+
| Extra step | a USDC `approve` to the escrow before `createTask`, persisted in the spend ledger so a retry never re-approves | the same approve, through the relay | — |
|
|
52
|
+
| `post_task` amount | `amount: "2.5"` = 2.5 USDC | `amount: "2.5"` = 2.5 USDC | `amount: "2.5"` = 2.5 0G |
|
|
44
53
|
|
|
45
54
|
**What an `sk_` key can do on Base — read this before putting one in a config file.** The relay signs any transaction from the key owner's Privy wallet with gas sponsored, and it does not consult the key's `capabilities`. So on Base an API key is unrestricted authority to move USDC (or any token) out of that wallet. Treat it like a private key: a dedicated wallet, funded with only what you intend to spend through the MCP.
|
|
46
55
|
|
|
@@ -62,7 +71,20 @@ To be explicit about what is and is not proven: the relay, ownership gate, autho
|
|
|
62
71
|
|
|
63
72
|
## Harness configuration
|
|
64
73
|
|
|
65
|
-
**Claude Code
|
|
74
|
+
**Claude Code: Arc (production today)**
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
claude mcp add blindmarket \
|
|
78
|
+
--env BLINDMARKET_API_KEY=sk_... \
|
|
79
|
+
--env BLINDMARKET_PRIVATE_KEY=0x... \
|
|
80
|
+
-- node /path/to/BlindBounty/mcp/dist/index.js
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
The key must be the wallet that minted the `sk_` key, holding USDC on Arc
|
|
84
|
+
Testnet for escrow and gas. `wallet_status` should then show
|
|
85
|
+
`payment: "local-erc20"` and `mode: "arc"`.
|
|
86
|
+
|
|
87
|
+
**Claude Code: Base (no private key)**
|
|
66
88
|
|
|
67
89
|
```bash
|
|
68
90
|
claude mcp add blindmarket \
|
|
@@ -118,12 +140,27 @@ Spending (local wallet, **two-step quote → confirm**):
|
|
|
118
140
|
- `post_task` — post to the open market (wraps the brief key to every
|
|
119
141
|
matching registered executor, or plaintext with `privacy: "public"`).
|
|
120
142
|
- `poll_task_result` — wait for the deliverable (loop until `done: true`).
|
|
143
|
+
- `deploy_agent` — deploy a hosted agent. The deploy fee (1 USDC on Arc on
|
|
144
|
+
production) is one USDC transfer on Arc from `BLINDMARKET_PRIVATE_KEY`,
|
|
145
|
+
which must be the wallet that owns `BLINDMARKET_API_KEY` (checked before
|
|
146
|
+
paying), and the request is checked with the backend's deploy checks
|
|
147
|
+
(`POST /agents/deploy/validate`) at the quote and again right before paying,
|
|
148
|
+
so a deploy that would be refused costs nothing. The fee's `chainId` must
|
|
149
|
+
match the chain the backend lists. The agent's key is encrypted to that
|
|
150
|
+
wallet. The model provider's
|
|
151
|
+
key is read from `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `GROQ_API_KEY` or
|
|
152
|
+
`GEMINI_API_KEY` in this server's environment, never taken as an argument;
|
|
153
|
+
`0g-compute` needs none. Arc's RPC is `BLINDMARKET_ARC_RPC_URL`, default
|
|
154
|
+
`https://rpc.testnet.arc.io` on Arc Testnet.
|
|
121
155
|
|
|
122
156
|
Every spend requires an `idempotencyKey`. Retries with the same key **resume**
|
|
123
157
|
(created → funded → indexed stage machine persisted in
|
|
124
158
|
`~/.blindmarket/mcp-state.json`) — a crash between the funding transaction and
|
|
125
159
|
indexing never double-pays; re-calling re-runs the index step with the saved
|
|
126
|
-
transaction hash.
|
|
160
|
+
transaction hash. A funded spend finishes even when the settlement chain can't
|
|
161
|
+
be discovered at that moment, since listing it needs no signature. `deploy_agent` records its fee transaction the moment it is
|
|
162
|
+
broadcast, so a failed deploy retried with the same key deploys with that
|
|
163
|
+
payment instead of paying again.
|
|
127
164
|
|
|
128
165
|
## Executor runtime tools (gated off)
|
|
129
166
|
|
package/dist/index.js
CHANGED
|
@@ -71,7 +71,7 @@ const runtimeCfg = {
|
|
|
71
71
|
privateKey: walletCtx?.wallet.privateKey,
|
|
72
72
|
// The 0G RPC is the one the local wallet was loaded with (the SDK has no
|
|
73
73
|
// fallback RPC); Base is declared only when explicitly configured.
|
|
74
|
-
rpcUrls: { '0g': walletCtx?.rpcUrl, base: process.env.BLINDMARKET_BASE_RPC_URL },
|
|
74
|
+
rpcUrls: { '0g': walletCtx?.rpcUrl, base: process.env.BLINDMARKET_BASE_RPC_URL, arc: process.env.BLINDMARKET_ARC_RPC_URL },
|
|
75
75
|
displayName: process.env.BLINDMARKET_EXECUTOR_NAME ?? 'MCP Executor',
|
|
76
76
|
capabilities: parseCapabilities(process.env.BLINDMARKET_EXECUTOR_CAPABILITIES),
|
|
77
77
|
minReward: process.env.BLINDMARKET_EXECUTOR_MIN_REWARD,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,aAAa,CA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,CAAC;QAChC,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAC3B,CAAC,CAAC,CAAC;AACL,CAAC"}
|
package/dist/rent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rent.d.ts","sourceRoot":"","sources":["../src/rent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,
|
|
1
|
+
{"version":3,"file":"rent.d.ts","sourceRoot":"","sources":["../src/rent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,EAEkE,KAAK,UAAU,EACvF,MAAM,iBAAiB,CAAC;AAmDzB,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,IAAI,GAAG;IAAE,UAAU,EAAE,MAAM,OAAO,CAAC,UAAU,CAAC,CAAA;CAAE,CAwgD3I"}
|