coherence-mcp-server 0.4.1 → 0.4.2

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Give your AI agent native access to every idea, spec, contributor, and value chain in the Coherence Network.**
4
4
 
5
- An [MCP](https://modelcontextprotocol.io/) (Model Context Protocol) server that exposes the full Coherence Network API as 51 typed tools — so Claude, Cursor, Windsurf, or any MCP-compatible agent can browse ideas, look up specs, trace value lineage, link identities, record contributions, execute tasks, and evolve the project graph without writing a single API call.
5
+ An [MCP](https://modelcontextprotocol.io/) (Model Context Protocol) server that exposes the full Coherence Network API as 54 typed tools — so Claude, Cursor, Windsurf, or any MCP-compatible agent can browse ideas, look up specs, trace value lineage, link identities, record contributions, execute tasks, and discover resonant peers without writing a single API call.
6
6
 
7
7
  ```bash
8
8
  npx coherence-mcp-server
@@ -25,6 +25,7 @@ This MCP server changes that. It gives any agent a typed interface to:
25
25
  - **Evolve** — create new ideas, link dependencies, and navigate the universal graph
26
26
  - **Finance** — track treasury balances, record deposits, and monitor assets
27
27
  - **Signal** — ingest news, track trending keywords, and measure concept resonance
28
+ - **Peers** — discover resonant contributors by shared interests or proximity
28
29
  - **Ontology** — explore the Living Codex (184 universal concepts, 53 axes)
29
30
  - **Govern** — propose changes, vote on requests, and monitor network health
30
31
 
@@ -73,7 +74,7 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
73
74
 
74
75
  ---
75
76
 
76
- ## Tools (51)
77
+ ## Tools (54)
77
78
 
78
79
  ### Ideas — the portfolio engine
79
80
 
@@ -138,6 +139,13 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
138
139
  | `coherence_get_entity_edges` | Incoming and outgoing edges for any entity. |
139
140
  | `coherence_create_edge` | Create a typed edge between two entities. |
140
141
 
142
+ ### Peers — contributor discovery
143
+
144
+ | Tool | What it does |
145
+ |------|-------------|
146
+ | `coherence_get_resonant_peers` | Discover contributors with similar interests. |
147
+ | `coherence_get_nearby_peers` | Find contributors physically close to you. |
148
+
141
149
  ### Assets — tracked artifacts
142
150
 
143
151
  | Tool | What it does |
@@ -170,8 +178,8 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
170
178
  |------|-------------|
171
179
  | `coherence_list_change_requests` | Open governance proposals. |
172
180
  | `coherence_get_change_request` | Detail for a specific proposal. |
173
- | `coherence_vote_governance` | Cast a 'yes' or 'no' vote on a proposal. |
174
- | `coherence_propose_governance` | Create a new governance change request. |
181
+ | `coherence_vote_governance" | Cast a 'yes' or 'no' vote on a proposal. |
182
+ | `coherence_propose_governance" | Create a new governance change request. |
175
183
 
176
184
  ### Living Codex ontology
177
185
 
@@ -195,7 +203,7 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
195
203
 
196
204
  ## CLI equivalent
197
205
 
198
- The Coherence CLI (`npm i -g coherence-cli`) provides the same capabilities as the MCP tools. Run `cc help` for the full list of 54 commands.
206
+ The Coherence CLI (`npm i -g coherence-cli`) provides the same capabilities as the MCP tools. Run `cc help` for the full list of 56 commands.
199
207
 
200
208
  ---
201
209
 
@@ -206,8 +214,7 @@ Once connected, you can ask your agent things like:
206
214
  - *"What ideas have the highest ROI right now?"*
207
215
  - *"Show me the spec for authentication and summarize the implementation plan"*
208
216
  - *"Trace the value chain for the federation idea — who contributed and how much?"*
209
- - *"What are the trending keywords in the news today and which ideas do they resonate with?"*
210
- - *"Link my GitHub identity and record a code contribution for the CLI work I did"*
217
+ - *"Who are the resonant peers I should collaborate with based on my interests?"*
211
218
  - *"What's the network friction report for the last 30 days?"*
212
219
  - *"Pick the next best idea for me to work on"*
213
220
  - *"Create a new idea for 'Automated PR reviews' and link it as enabling the 'GitHub integration' idea"*
@@ -234,7 +241,7 @@ Every part of the network links to every other. Jump in wherever makes sense.
234
241
  | **Web** | Browse ideas, specs, and contributors visually | [coherencycoin.com](https://coherencycoin.com) |
235
242
  | **API** | 100+ endpoints, full OpenAPI docs, the engine behind everything | [api.coherencycoin.com/docs](https://api.coherencycoin.com/docs) |
236
243
  | **CLI** | Terminal-first access — `npm i -g coherence-cli` then `cc help` | [npm: coherence-cli](https://www.npmjs.com/package/coherence-cli) |
237
- | **MCP Server** | This package — 51 typed tools for AI agents | [npm: coherence-mcp-server](https://www.npmjs.com/package/coherence-mcp-server) |
244
+ | **MCP Server** | This package — 54 typed tools for AI agents | [npm: coherence-mcp-server](https://www.npmjs.com/package/coherence-mcp-server) |
238
245
  | **OpenClaw Skill** | Auto-triggers in any OpenClaw instance for ideas, specs, coherence | [ClawHub: coherence-network](https://clawhub.com/skills/coherence-network) |
239
246
  | **GitHub** | Source code, specs, issues, and contribution tracking | [github.com/seeker71/Coherence-Network](https://github.com/seeker71/Coherence-Network) |
240
247
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Give your AI agent native access to every idea, spec, contributor, and value chain in the Coherence Network.**
4
4
 
5
- An [MCP](https://modelcontextprotocol.io/) (Model Context Protocol) server that exposes the full Coherence Network API as 51 typed tools — so Claude, Cursor, Windsurf, or any MCP-compatible agent can browse ideas, look up specs, trace value lineage, link identities, record contributions, execute tasks, and evolve the project graph without writing a single API call.
5
+ An [MCP](https://modelcontextprotocol.io/) (Model Context Protocol) server that exposes the full Coherence Network API as 54 typed tools — so Claude, Cursor, Windsurf, or any MCP-compatible agent can browse ideas, look up specs, trace value lineage, link identities, record contributions, execute tasks, and discover resonant peers without writing a single API call.
6
6
 
7
7
  ```bash
8
8
  npx coherence-mcp-server
@@ -25,6 +25,7 @@ This MCP server changes that. It gives any agent a typed interface to:
25
25
  - **Evolve** — create new ideas, link dependencies, and navigate the universal graph
26
26
  - **Finance** — track treasury balances, record deposits, and monitor assets
27
27
  - **Signal** — ingest news, track trending keywords, and measure concept resonance
28
+ - **Peers** — discover resonant contributors by shared interests or proximity
28
29
  - **Ontology** — explore the Living Codex (184 universal concepts, 53 axes)
29
30
  - **Govern** — propose changes, vote on requests, and monitor network health
30
31
 
@@ -73,7 +74,7 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
73
74
 
74
75
  ---
75
76
 
76
- ## Tools (51)
77
+ ## Tools (54)
77
78
 
78
79
  ### Ideas — the portfolio engine
79
80
 
@@ -138,6 +139,13 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
138
139
  | `coherence_get_entity_edges` | Incoming and outgoing edges for any entity. |
139
140
  | `coherence_create_edge` | Create a typed edge between two entities. |
140
141
 
142
+ ### Peers — contributor discovery
143
+
144
+ | Tool | What it does |
145
+ |------|-------------|
146
+ | `coherence_get_resonant_peers` | Discover contributors with similar interests. |
147
+ | `coherence_get_nearby_peers` | Find contributors physically close to you. |
148
+
141
149
  ### Assets — tracked artifacts
142
150
 
143
151
  | Tool | What it does |
@@ -170,8 +178,8 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
170
178
  |------|-------------|
171
179
  | `coherence_list_change_requests` | Open governance proposals. |
172
180
  | `coherence_get_change_request` | Detail for a specific proposal. |
173
- | `coherence_vote_governance` | Cast a 'yes' or 'no' vote on a proposal. |
174
- | `coherence_propose_governance` | Create a new governance change request. |
181
+ | `coherence_vote_governance" | Cast a 'yes' or 'no' vote on a proposal. |
182
+ | `coherence_propose_governance" | Create a new governance change request. |
175
183
 
176
184
  ### Living Codex ontology
177
185
 
@@ -195,7 +203,7 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
195
203
 
196
204
  ## CLI equivalent
197
205
 
198
- The Coherence CLI (`npm i -g coherence-cli`) provides the same capabilities as the MCP tools. Run `cc help` for the full list of 54 commands.
206
+ The Coherence CLI (`npm i -g coherence-cli`) provides the same capabilities as the MCP tools. Run `cc help` for the full list of 56 commands.
199
207
 
200
208
  ---
201
209
 
@@ -206,8 +214,7 @@ Once connected, you can ask your agent things like:
206
214
  - *"What ideas have the highest ROI right now?"*
207
215
  - *"Show me the spec for authentication and summarize the implementation plan"*
208
216
  - *"Trace the value chain for the federation idea — who contributed and how much?"*
209
- - *"What are the trending keywords in the news today and which ideas do they resonate with?"*
210
- - *"Link my GitHub identity and record a code contribution for the CLI work I did"*
217
+ - *"Who are the resonant peers I should collaborate with based on my interests?"*
211
218
  - *"What's the network friction report for the last 30 days?"*
212
219
  - *"Pick the next best idea for me to work on"*
213
220
  - *"Create a new idea for 'Automated PR reviews' and link it as enabling the 'GitHub integration' idea"*
@@ -234,7 +241,7 @@ Every part of the network links to every other. Jump in wherever makes sense.
234
241
  | **Web** | Browse ideas, specs, and contributors visually | [coherencycoin.com](https://coherencycoin.com) |
235
242
  | **API** | 100+ endpoints, full OpenAPI docs, the engine behind everything | [api.coherencycoin.com/docs](https://api.coherencycoin.com/docs) |
236
243
  | **CLI** | Terminal-first access — `npm i -g coherence-cli` then `cc help` | [npm: coherence-cli](https://www.npmjs.com/package/coherence-cli) |
237
- | **MCP Server** | This package — 51 typed tools for AI agents | [npm: coherence-mcp-server](https://www.npmjs.com/package/coherence-mcp-server) |
244
+ | **MCP Server** | This package — 54 typed tools for AI agents | [npm: coherence-mcp-server](https://www.npmjs.com/package/coherence-mcp-server) |
238
245
  | **OpenClaw Skill** | Auto-triggers in any OpenClaw instance for ideas, specs, coherence | [ClawHub: coherence-network](https://clawhub.com/skills/coherence-network) |
239
246
  | **GitHub** | Source code, specs, issues, and contribution tracking | [github.com/seeker71/Coherence-Network](https://github.com/seeker71/Coherence-Network) |
240
247
 
@@ -619,6 +619,32 @@ TOOLS: list[Tool] = [
619
619
  },
620
620
  },
621
621
  ),
622
+ # Peers (Contributor Discovery)
623
+ Tool(
624
+ name="coherence_get_resonant_peers",
625
+ description="Find contributors with similar interests (structural resonance) to a specific contributor.",
626
+ inputSchema={
627
+ "type": "object",
628
+ "required": ["contributor_id"],
629
+ "properties": {
630
+ "contributor_id": {"type": "string"},
631
+ "limit": {"type": "number", "default": 20},
632
+ },
633
+ },
634
+ ),
635
+ Tool(
636
+ name="coherence_get_nearby_peers",
637
+ description="Find contributors physically close to a specific contributor.",
638
+ inputSchema={
639
+ "type": "object",
640
+ "required": ["contributor_id"],
641
+ "properties": {
642
+ "contributor_id": {"type": "string"},
643
+ "radius_km": {"type": "number", "default": 100.0},
644
+ "limit": {"type": "number", "default": 20},
645
+ },
646
+ },
647
+ ),
622
648
  # Concepts (Living Codex ontology)
623
649
  Tool(
624
650
  name="coherence_list_concepts",
@@ -910,6 +936,15 @@ def dispatch(name: str, args: dict[str, Any]) -> Any:
910
936
  return api_get("/api/dif/stats")
911
937
  case "coherence_get_recent_dif":
912
938
  return api_get("/api/dif/recent", {"limit": args.get("limit", 20)})
939
+ # Peers
940
+ case "coherence_get_resonant_peers":
941
+ return api_get("/api/peers/resonant", {"contributor_id": args["contributor_id"], "limit": args.get("limit", 20)})
942
+ case "coherence_get_nearby_peers":
943
+ return api_get("/api/peers/nearby", {
944
+ "contributor_id": args["contributor_id"],
945
+ "radius_km": args.get("radius_km", 100.0),
946
+ "limit": args.get("limit", 20)
947
+ })
913
948
  # Concepts
914
949
  case "coherence_list_concepts":
915
950
  if args.get("search"):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coherence-mcp-server",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Unified MCP server for the Coherence Network — 51 typed tools for AI agents to browse ideas, manage tasks, link identities, and navigate the universal graph.",
5
5
  "type": "module",
6
6
  "bin": {