@blindmarket/mcp-server 0.3.5 → 0.4.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 +39 -13
- package/dist/index.js +29 -12
- package/dist/index.js.map +1 -1
- package/dist/rent.d.ts.map +1 -1
- package/dist/rent.js +153 -60
- package/dist/rent.js.map +1 -1
- package/dist/settlement.d.ts +63 -13
- package/dist/settlement.d.ts.map +1 -1
- package/dist/settlement.js +105 -14
- package/dist/settlement.js.map +1 -1
- package/dist/state.d.ts +3 -2
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js.map +1 -1
- package/dist/tools.d.ts +12 -1
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +85 -43
- package/dist/tools.js.map +1 -1
- package/dist/wallet.js +3 -3
- package/dist/wallet.js.map +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -26,11 +26,11 @@ Environment:
|
|
|
26
26
|
| `BLINDMARKET_PRIVATE_KEY` | 0G: yes · Base: for private briefs | On **0G** this wallet funds escrow in native 0G, pays gas, and signs `submitEvidence` for `complete_task`. On **Base** nothing is *signed* locally — the relay does that — but this key is still the executor's **decryption identity**: `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 for read-only use or Base tasks that are all public. |
|
|
27
27
|
| `BLINDMARKET_API_BASE` | no | Default `https://api.blindmarket.xyz` |
|
|
28
28
|
| `BLINDMARKET_RPC_URL` | no | 0G RPC for the local wallet. Default `https://evmrpc.0g.ai` |
|
|
29
|
-
| `BLINDMARKET_SETTLEMENT` | no |
|
|
30
|
-
| `BLINDMARKET_BASE_ESCROW_ADDRESS` | with forced `base
|
|
29
|
+
| `BLINDMARKET_SETTLEMENT` | no | A chain key to require (`0g`, `base`, …). 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) through the relay, native 0G from the local wallet, anything else refused with `UNSUPPORTED_SETTLEMENT`. 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
|
+
| `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
31
|
| `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). |
|
|
33
|
-
| `BLINDMARKET_USDC_ADDRESS` | no |
|
|
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 relay chain `<key>` reads `BLINDMARKET_<KEY>_RPC_URL` and has no default. |
|
|
33
|
+
| `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
34
|
|
|
35
35
|
How a spend is paid, by settlement mode (`wallet_status` shows which you are in):
|
|
36
36
|
|
|
@@ -44,7 +44,11 @@ How a spend is paid, by settlement mode (`wallet_status` shows which you are in)
|
|
|
44
44
|
|
|
45
45
|
**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
46
|
|
|
47
|
-
Discovery is a hint, not a proof
|
|
47
|
+
Discovery is a hint, not a proof. On an older backend `/health/bridge` reports Base only when the backend has a Base marketplace signer, while task creation routes on `BASE_ESCROW_ADDRESS` alone; a backend that names its posting chain removes that gap, but not every way a task can live on another chain. Every send therefore checks the unsigned tx targets the escrow the current mode expects and refuses with `ESCROW_MISMATCH` otherwise — that check is what prevents native 0G value being sent to a Base address.
|
|
48
|
+
|
|
49
|
+
`register_as_executor` and `create_agent` declare exactly one chain in `supportedChains`: the one this process settles on (`wallet_status` shows it), because `complete_task` delivers only there. A backend that filters by it then offers you only tasks you can complete, and refuses bids and `/accept` (409 `CHAIN_UNSUPPORTED`) elsewhere — including tasks indexed before chains were recorded, which need both `0g` and `base` declared. If the chain cannot be learned, registration is refused rather than sent without one.
|
|
50
|
+
|
|
51
|
+
`BLINDMARKET_SETTLEMENT` may name any chain the backend has an escrow on, not only the one it posts on: that is how you deliver, cancel or reclaim a task left on a chain the backend has since stopped posting on. `post_task` and `rent_service` refuse there (`NOT_POSTING_CHAIN`), because new escrow is funded only on the posting chain. On 0G the local wallet must be on the backend's 0G chain id (`CHAIN_MISMATCH` otherwise) — checked only when the backend names its chains and discovery runs: `BLINDMARKET_SETTLEMENT=0g` skips discovery, and an older backend does not say.
|
|
48
52
|
|
|
49
53
|
### Base: what the wallet and key must be
|
|
50
54
|
|
|
@@ -69,7 +73,7 @@ claude mcp add blindmarket \
|
|
|
69
73
|
-- node /path/to/BlindBounty/mcp/dist/index.js
|
|
70
74
|
```
|
|
71
75
|
|
|
72
|
-
(`BLINDMARKET_BASE_ESCROW_ADDRESS`
|
|
76
|
+
(`BLINDMARKET_SETTLEMENT` and `BLINDMARKET_BASE_ESCROW_ADDRESS` are only needed while an older backend's `/health/bridge` cannot confirm Base — see the env table. Use the mainnet escrow once deployed.)
|
|
73
77
|
|
|
74
78
|
**Claude Code — 0G (legacy, local wallet)**
|
|
75
79
|
|
|
@@ -123,10 +127,32 @@ transaction hash.
|
|
|
123
127
|
|
|
124
128
|
## Executor runtime tools (gated off)
|
|
125
129
|
|
|
126
|
-
`runtime_start` / `runtime_stop` / … are disabled by default
|
|
127
|
-
`WorkerRuntime` they wrap
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
`runtime_start` / `runtime_stop` / … are disabled by default. The SDK
|
|
131
|
+
`WorkerRuntime` they wrap has been brought in line with the backend (it now
|
|
132
|
+
registers the API key owner's uncompressed pubkey, reads the `{ meta, state }`
|
|
133
|
+
browse entries, claims tasks via `/accept` with bid-and-retry on `NEEDS_WRAP`,
|
|
134
|
+
and delivers through submit → sign → finalize with `/rebroadcast` healing), but
|
|
135
|
+
that loop is verified against stubbed backends only — not yet end to end on a
|
|
136
|
+
live one. It signs `submitEvidence` **locally** (no relay): it needs
|
|
137
|
+
`BLINDMARKET_PRIVATE_KEY` to be the wallet that owns `BLINDMARKET_API_KEY`, and
|
|
138
|
+
an RPC for the settlement chain (`BLINDMARKET_RPC_URL` for 0G,
|
|
139
|
+
`BLINDMARKET_BASE_RPC_URL` for Base — there is no default for Base, and tasks
|
|
140
|
+
on a chain without an RPC are skipped by the runtime itself: older backends
|
|
141
|
+
store the declared `supportedChains` without filtering offers or `/accept` by
|
|
142
|
+
it).
|
|
143
|
+
Without `BLINDMARKET_PRIVATE_KEY` the runtime refuses to start (SDK 0.6.0) —
|
|
144
|
+
it no longer registers a throwaway wallet. `BLINDMARKET_EXPERIMENTAL_RUNTIME=true`
|
|
145
|
+
enables it. The maintained way to EARN is still a platform agent deployed in
|
|
146
|
+
the web app, operated via the remote MCP endpoint's `start_agent` /
|
|
147
|
+
`stop_agent` / `get_agent_logs` tools.
|
|
148
|
+
|
|
149
|
+
## Delivering a task by hand
|
|
150
|
+
|
|
151
|
+
`accept_task` → `fetch_brief` → `complete_task`. There is no `submit_result`
|
|
152
|
+
tool any more: it called `/submit`, which only builds an unsigned
|
|
153
|
+
`submitEvidence` and marks the task `submitted`, never signed it, and left
|
|
154
|
+
`complete_task` to 409 on that state. `complete_task` is the single delivery
|
|
155
|
+
path and heals a task stranded that way (it re-broadcasts the stored result via
|
|
156
|
+
`/rebroadcast`). `create_agent` no longer generates a wallet or returns a key —
|
|
157
|
+
it registers the local wallet's public key, and the executor is always the
|
|
158
|
+
wallet that owns the API key.
|
package/dist/index.js
CHANGED
|
@@ -31,30 +31,47 @@ const server = new McpServer({
|
|
|
31
31
|
name: 'BlindMarket MCP Server',
|
|
32
32
|
version: pkgVersion,
|
|
33
33
|
});
|
|
34
|
-
// Register all marketplace tools
|
|
35
|
-
registerMarketTools(server, bb);
|
|
36
34
|
// Tier-2 spending tools: local wallet + local encryption — trust-preserving
|
|
37
35
|
// rent/post through the CURRENT encrypted flow (see rent.ts). Registered even
|
|
38
36
|
// without a wallet so tools/list is stable; spends fail cleanly with NO_WALLET.
|
|
39
37
|
const walletCtx = loadWallet();
|
|
38
|
+
// Register all marketplace tools. They register first (tools/list order is
|
|
39
|
+
// unchanged), but register_as_executor/create_agent need rent.ts's settlement
|
|
40
|
+
// resolver, which is created just below — hence the late-bound getter.
|
|
41
|
+
let resolveSettlement = null;
|
|
42
|
+
registerMarketTools(server, bb, walletCtx, () => resolveSettlement());
|
|
40
43
|
// rent.ts owns settlement discovery (which chain escrow settles on, and so
|
|
41
44
|
// whether the local wallet or the Privy relay pays); wallet_status reports it.
|
|
42
45
|
const { settlement } = registerRentTools(server, cfg, walletCtx);
|
|
46
|
+
resolveSettlement = settlement;
|
|
43
47
|
registerWalletTools(server, walletCtx, settlement);
|
|
44
|
-
// Executor runtime tools (runtime_start/stop/…) are GATED OFF by default
|
|
45
|
-
//
|
|
46
|
-
//
|
|
47
|
-
// the
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
//
|
|
51
|
-
//
|
|
52
|
-
//
|
|
48
|
+
// Executor runtime tools (runtime_start/stop/…) are GATED OFF by default.
|
|
49
|
+
// The three bugs this gate used to cite (wrappedKey parsed as a record, blob
|
|
50
|
+
// fetched by taskHash, submitEvidence never signed) were fixed long ago; what
|
|
51
|
+
// actually kept the SDK WorkerRuntime from ever completing a task was that it
|
|
52
|
+
// registered a compressed pubkey from a random wallet (rejected — and the
|
|
53
|
+
// executor is the API key's owner anyway), read GET /a2a/tasks entries as flat
|
|
54
|
+
// states instead of { meta, state } so it skipped every task, and waited for
|
|
55
|
+
// an 'assigned' status that does not exist instead of calling /accept. Those
|
|
56
|
+
// are fixed too, but only against stubbed backends — the loop has NOT been run
|
|
57
|
+
// end to end against a live one, and it signs locally (no Privy relay), so on
|
|
58
|
+
// Base the owner wallet needs its own key here plus ETH for gas. Hence still
|
|
59
|
+
// opt-in: BLINDMARKET_EXPERIMENTAL_RUNTIME=true, with BLINDMARKET_PRIVATE_KEY
|
|
60
|
+
// (the API key owner's) and an RPC for the settlement chain. The maintained
|
|
61
|
+
// path to EARN is a platform agent (backend/agents/worker.js) operated via the
|
|
62
|
+
// remote MCP endpoint's start_agent/stop_agent tools; one-off tasks go through
|
|
63
|
+
// accept_task → fetch_brief → complete_task.
|
|
53
64
|
const RUNTIME_TOOLS_ENABLED = process.env.BLINDMARKET_EXPERIMENTAL_RUNTIME === 'true';
|
|
54
65
|
// Register executor runtime tools (reads env config for the runtime)
|
|
55
66
|
const runtimeCfg = {
|
|
56
67
|
apiKey: cfg.apiKey,
|
|
57
68
|
apiBase: cfg.apiBase,
|
|
69
|
+
// The executor IS the API key's owner wallet; the runtime decrypts and signs
|
|
70
|
+
// with this key and refuses to start if it is not the owner's.
|
|
71
|
+
privateKey: walletCtx?.wallet.privateKey,
|
|
72
|
+
// The 0G RPC is the one the local wallet was loaded with (the SDK has no
|
|
73
|
+
// fallback RPC); Base is declared only when explicitly configured.
|
|
74
|
+
rpcUrls: { '0g': walletCtx?.rpcUrl, base: process.env.BLINDMARKET_BASE_RPC_URL },
|
|
58
75
|
displayName: process.env.BLINDMARKET_EXECUTOR_NAME ?? 'MCP Executor',
|
|
59
76
|
capabilities: parseCapabilities(process.env.BLINDMARKET_EXECUTOR_CAPABILITIES),
|
|
60
77
|
minReward: process.env.BLINDMARKET_EXECUTOR_MIN_REWARD,
|
|
@@ -74,7 +91,7 @@ const runtimeCfg = {
|
|
|
74
91
|
};
|
|
75
92
|
const runtime = RUNTIME_TOOLS_ENABLED ? registerRuntimeTools(server, runtimeCfg).runtime : null;
|
|
76
93
|
if (RUNTIME_TOOLS_ENABLED) {
|
|
77
|
-
console.error('[blindmarket-mcp] ⚠️ experimental runtime tools ENABLED — the
|
|
94
|
+
console.error('[blindmarket-mcp] ⚠️ experimental runtime tools ENABLED — the WorkerRuntime accept/deliver loop is verified against stubbed backends only, signs submitEvidence locally with BLINDMARKET_PRIVATE_KEY (must be the API key owner), and an accept assigns on-chain irrevocably. Watch runtime_status.');
|
|
78
95
|
}
|
|
79
96
|
// ── Transport ────────────────────────────────────────────────────────────────
|
|
80
97
|
async function main() {
|
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,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index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GAAG,MAAM,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3E,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;YACxB,IAAI,IAAI,KAAK,CAAC;gBAAE,OAAO,MAAM,CAAC,IAAI,KAAK,CAAC,iBAAiB,IAAI,EAAE,CAAC,CAAC,CAAC;YAClE,IAAI,CAAC;gBAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;YAAC,CAAC;YACpC,MAAM,CAAC;gBAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;YAAC,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,EAAkD,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAmDlG,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,CAwuC3I"}
|