@forcedream/mcp-server 0.4.2 → 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 CHANGED
@@ -271,6 +271,7 @@ It speaks MCP over stdio; point any MCP client at it.
271
271
  - Verify a proof: https://www.forcedream.com/proof
272
272
  - Official MCP Registry entry: https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.forcedreamai/mcp-server
273
273
  - MCP: https://modelcontextprotocol.io
274
+ - Real, tested examples: [EXAMPLES.md](./EXAMPLES.md)
274
275
 
275
276
  ## License
276
277
 
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import { searchCosts, searchCostsSchema } from './search_costs.js';
10
10
  import { searchProviders } from './search_providers.js';
11
11
  const server = new McpServer({ name: 'forcedream', version: '0.3.0' });
12
12
  // verify_proof — trustless, keyless. Verify a ForceDream proof's Ed25519 signature client-side.
13
- server.registerTool('verify_proof', {
13
+ server.registerTool('forcedream_verify_proof', {
14
14
  title: 'Verify a ForceDream proof',
15
15
  description: 'Independently verify that a ForceDream agent proof is authentic and untampered, using public-key cryptography. ' +
16
16
  'Provide a task_id (proof is fetched from the public endpoint) or a full proof object. Verification runs locally — ' +
@@ -29,11 +29,11 @@ server.registerTool('verify_proof', {
29
29
  }
30
30
  });
31
31
  // search_agents — keyless discovery of real agents with honest, system-derived metrics.
32
- server.registerTool('search_agents', {
32
+ server.registerTool('forcedream_search_agents', {
33
33
  title: 'Search ForceDream agents',
34
34
  description: 'Discover ForceDream agents and their honest, system-derived metrics (proof_count, success_rate). ' +
35
35
  'Optionally filter by capability (e.g. "research:citation") or free-text query. No key needed. ' +
36
- 'Every agent listed has real cryptographic proofs you can verify with verify_proof.',
36
+ 'Every agent listed has real cryptographic proofs you can verify with forcedream_verify_proof.',
37
37
  inputSchema: searchAgentsSchema,
38
38
  }, async ({ capability, query }) => {
39
39
  try {
@@ -45,10 +45,10 @@ server.registerTool('search_agents', {
45
45
  }
46
46
  });
47
47
  // invoke_agent — spends balance (needs FD_API_KEY). Returns output + a verifiable proof_id.
48
- server.registerTool('invoke_agent', {
48
+ server.registerTool('forcedream_invoke_agent', {
49
49
  title: 'Invoke a ForceDream agent',
50
50
  description: 'Invoke a ForceDream agent to do real work. SPENDS your balance — requires FD_API_KEY in the server env. ' +
51
- 'Returns the output, what you were charged, and a proof_id you can verify with verify_proof. ' +
51
+ 'Returns the output, what you were charged, and a proof_id you can verify with forcedream_verify_proof. ' +
52
52
  'Handles honest declines (charged 0) and insufficient balance gracefully. Invokes once; never double-charges.',
53
53
  inputSchema: invokeAgentSchema,
54
54
  }, async ({ agent_slug, task, max_wait_seconds }) => {
@@ -61,10 +61,10 @@ server.registerTool('invoke_agent', {
61
61
  }
62
62
  });
63
63
  // search_reliability — keyless. Real, system-measured reliability per agent.
64
- server.registerTool('search_reliability', {
64
+ server.registerTool('forcedream_search_reliability', {
65
65
  title: 'Search agent reliability data',
66
66
  description: 'Real, system-measured reliability per agent: success_rate, avg_latency_ms, sample_size. No key needed. ' +
67
- 'Same real data as search_agents\' health field, exposed standalone for reliability-focused queries.',
67
+ 'Same real data as forcedream_search_agents\' health field, exposed standalone for reliability-focused queries.',
68
68
  inputSchema: searchReliabilitySchema,
69
69
  }, async ({ agent_slug }) => {
70
70
  try {
@@ -76,7 +76,7 @@ server.registerTool('search_reliability', {
76
76
  }
77
77
  });
78
78
  // search_costs — keyless. Real price_per_call_pence per agent.
79
- server.registerTool('search_costs', {
79
+ server.registerTool('forcedream_search_costs', {
80
80
  title: 'Search agent pricing',
81
81
  description: 'Real price_per_call_pence for every registered agent. No key needed. ' +
82
82
  'Useful for budget-aware agent selection before invoking.',
@@ -91,7 +91,7 @@ server.registerTool('search_costs', {
91
91
  }
92
92
  });
93
93
  // search_providers — keyless. Real, live inference-provider health.
94
- server.registerTool('search_providers', {
94
+ server.registerTool('forcedream_search_providers', {
95
95
  title: 'Search provider health',
96
96
  description: 'Real, live inference-provider health: health_score, breaker_state, uptime_ratio, recent successes/failures. ' +
97
97
  'The same real intelligence the platform\'s own adaptive routing uses internally. No key needed.',
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@forcedream/mcp-server",
3
- "version": "0.4.2",
3
+ "version": "0.5.0",
4
4
  "mcpName": "io.github.forcedreamai/mcp-server",
5
5
  "description": "MCP server for ForceDream \u2014 discover, invoke, and trustlessly verify AI agents with cryptographic proofs.",
6
6
  "type": "module",
7
7
  "bin": {
8
+ "mcp-server": "dist/index.js",
8
9
  "fd-mcp": "dist/index.js",
9
10
  "fd-verify": "dist/cli-verify.js"
10
11
  },