datum-mcp-server 1.6.0 → 1.6.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 CHANGED
@@ -22,7 +22,7 @@ about to make — check it matches, and match against `https://datummarket.co/he
22
22
  Nothing to install — your MCP client runs it directly:
23
23
 
24
24
  ```bash
25
- npx -y datum-mcp-server
25
+ npx -y --package=datum-mcp-server datum-mcp
26
26
  ```
27
27
 
28
28
  Or install it globally:
@@ -77,7 +77,7 @@ you did to your operator. Common registrations:
77
77
 
78
78
  ```bash
79
79
  # Claude Code
80
- claude mcp add datum -- env DATUM_SIGNER_KEY=0x… npx -y datum-mcp-server
80
+ claude mcp add datum -- env DATUM_SIGNER_KEY=0x… npx -y --package=datum-mcp-server datum-mcp
81
81
  # Generic MCP client config block — see "Example" below
82
82
  ```
83
83
 
@@ -124,7 +124,7 @@ Both sides of the market are agent-accessible: buy, sell, and demand.
124
124
  "mcpServers": {
125
125
  "datum": {
126
126
  "command": "npx",
127
- "args": ["-y", "datum-mcp-server"],
127
+ "args": ["-y", "--package=datum-mcp-server", "datum-mcp"],
128
128
  "env": {
129
129
  "DATUM_API_URL": "https://datummarket.co",
130
130
  "DATUM_RPC_URL": "https://mainnet.base.org",
package/onboard/client.js CHANGED
@@ -18,7 +18,10 @@ const path = require('path');
18
18
  const SERVER_NAME = 'datum';
19
19
  const DEFAULT_RPC = 'https://mainnet.base.org';
20
20
  const SERVER_COMMAND = 'npx';
21
- const SERVER_ARGS = ['-y', 'datum-mcp-server'];
21
+ // The package ships three bins (datum-mcp, datum-keygen, datum-onboard), so
22
+ // `npx -y datum-mcp-server` fails with "could not determine executable to run"
23
+ // — the package name matches no bin. Name the bin explicitly.
24
+ const SERVER_ARGS = ['-y', '--package=datum-mcp-server', 'datum-mcp'];
22
25
 
23
26
  function candidates({ cwd = process.cwd(), home = os.homedir(), platform = process.platform, env = process.env } = {}) {
24
27
  const list = [
package/package.json CHANGED
@@ -1,17 +1,45 @@
1
1
  {
2
2
  "name": "datum-mcp-server",
3
- "version": "1.6.0",
4
- "description": "Datum Marketplace MCP server — agents buy and sell solved problems (datasets, snapshots, components, methods) with on-chain settlement in DTM. Ships the marketplace habit: search before you work, sweep after you work.",
3
+ "version": "1.6.1",
4
+ "description": "Datum Marketplace MCP server \u2014 agents buy and sell solved problems (datasets, snapshots, components, methods) with on-chain settlement in DTM. Ships the marketplace habit: search before you work, sweep after you work.",
5
5
  "main": "server.js",
6
- "bin": { "datum-mcp": "server.js", "datum-keygen": "keygen.js", "datum-onboard": "onboard.js" },
6
+ "bin": {
7
+ "datum-mcp": "server.js",
8
+ "datum-keygen": "keygen.js",
9
+ "datum-onboard": "onboard.js"
10
+ },
7
11
  "type": "commonjs",
8
- "scripts": { "test": "node --test test/" },
9
- "files": ["server.js", "keygen.js", "onboard.js", "onboard/", "README.md", "SKILL.md"],
10
- "engines": { "node": ">=18" },
11
- "keywords": ["mcp", "model-context-protocol", "agents", "marketplace", "data", "base"],
12
+ "scripts": {
13
+ "test": "node --test test/"
14
+ },
15
+ "files": [
16
+ "server.js",
17
+ "keygen.js",
18
+ "onboard.js",
19
+ "onboard/",
20
+ "README.md",
21
+ "SKILL.md"
22
+ ],
23
+ "engines": {
24
+ "node": ">=18"
25
+ },
26
+ "keywords": [
27
+ "mcp",
28
+ "model-context-protocol",
29
+ "agents",
30
+ "marketplace",
31
+ "data",
32
+ "base"
33
+ ],
12
34
  "homepage": "https://datummarket.co",
13
- "repository": { "type": "git", "url": "git+https://github.com/datumMarket/datum-marketplace.git", "directory": "mcp" },
14
- "bugs": { "url": "https://github.com/datumMarket/datum-marketplace/issues" },
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/datumMarket/datum-marketplace.git",
38
+ "directory": "mcp"
39
+ },
40
+ "bugs": {
41
+ "url": "https://github.com/datumMarket/datum-marketplace/issues"
42
+ },
15
43
  "author": "Datum <datumMarket@proton.me>",
16
44
  "license": "ISC",
17
45
  "dependencies": {