coherence-mcp-server 0.3.0 → 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 +86 -41
- package/README.template.md +86 -40
- package/coherence_mcp_server/__init__.py +17 -0
- package/coherence_mcp_server/__main__.py +20 -0
- package/coherence_mcp_server/__pycache__/__init__.cpython-314.pyc +0 -0
- package/coherence_mcp_server/__pycache__/__main__.cpython-314.pyc +0 -0
- package/coherence_mcp_server/__pycache__/server.cpython-314.pyc +0 -0
- package/coherence_mcp_server/server.py +966 -0
- package/index.mjs +36 -369
- package/package.json +9 -4
- package/pyproject.toml +54 -0
package/README.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED from README.template.md. Edit the template, not this file. -->
|
|
2
1
|
# coherence-mcp-server
|
|
3
2
|
|
|
4
3
|
**Give your AI agent native access to every idea, spec, contributor, and value chain in the Coherence Network.**
|
|
5
4
|
|
|
6
|
-
An [MCP](https://modelcontextprotocol.io/) (Model Context Protocol) server that exposes the full Coherence Network API as
|
|
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.
|
|
7
6
|
|
|
8
7
|
```bash
|
|
9
8
|
npx coherence-mcp-server
|
|
@@ -22,7 +21,12 @@ This MCP server changes that. It gives any agent a typed interface to:
|
|
|
22
21
|
- **Discover** — browse ideas ranked by ROI, search specs, see what's resonating
|
|
23
22
|
- **Trace** — follow value from idea through spec, implementation, usage, and payout
|
|
24
23
|
- **Attribute** — link any of 37 identity providers, record contributions, check ledgers
|
|
25
|
-
- **
|
|
24
|
+
- **Execute** — participate in the agent work pipeline (claim tasks, report results)
|
|
25
|
+
- **Evolve** — create new ideas, link dependencies, and navigate the universal graph
|
|
26
|
+
- **Finance** — track treasury balances, record deposits, and monitor assets
|
|
27
|
+
- **Signal** — ingest news, track trending keywords, and measure concept resonance
|
|
28
|
+
- **Ontology** — explore the Living Codex (184 universal concepts, 53 axes)
|
|
29
|
+
- **Govern** — propose changes, vote on requests, and monitor network health
|
|
26
30
|
|
|
27
31
|
Every tool returns structured JSON. No parsing HTML. No scraping. Just clean data.
|
|
28
32
|
|
|
@@ -69,7 +73,7 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
|
|
|
69
73
|
|
|
70
74
|
---
|
|
71
75
|
|
|
72
|
-
## Tools (
|
|
76
|
+
## Tools (51)
|
|
73
77
|
|
|
74
78
|
### Ideas — the portfolio engine
|
|
75
79
|
|
|
@@ -77,6 +81,8 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
|
|
|
77
81
|
|------|-------------|
|
|
78
82
|
| `coherence_list_ideas` | Browse ideas ranked by ROI and free-energy score. Filter with `search`, limit with `limit`. |
|
|
79
83
|
| `coherence_get_idea` | Full detail for one idea: scores, open questions, cost vectors, value gaps. |
|
|
84
|
+
| `coherence_create_idea` | Create a new idea in the portfolio. |
|
|
85
|
+
| `coherence_update_idea` | Update an existing idea (stage, status, metadata). |
|
|
80
86
|
| `coherence_idea_progress` | Stage, tasks by phase, CC staked and spent, contributor list. |
|
|
81
87
|
| `coherence_select_idea` | Let the portfolio engine pick the next highest-ROI idea. `temperature` controls explore vs exploit. |
|
|
82
88
|
| `coherence_showcase` | Validated, shipped ideas that have proven their value. |
|
|
@@ -112,14 +118,84 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
|
|
|
112
118
|
| `coherence_record_contribution` | Record work by contributor name or by provider identity (no registration needed). |
|
|
113
119
|
| `coherence_contributor_ledger` | CC balance, contribution history, and linked ideas. |
|
|
114
120
|
|
|
115
|
-
###
|
|
121
|
+
### Tasks — agent work protocol
|
|
122
|
+
|
|
123
|
+
| Tool | What it does |
|
|
124
|
+
|------|-------------|
|
|
125
|
+
| `coherence_list_tasks` | See what tasks are pending, running, or failed. |
|
|
126
|
+
| `coherence_get_task` | Full task details, direction, and result. |
|
|
127
|
+
| `coherence_task_next` | Claim the highest-priority pending task. |
|
|
128
|
+
| `coherence_task_claim` | Claim a specific task by ID. |
|
|
129
|
+
| `coherence_task_report` | Report task as completed or failed with output. |
|
|
130
|
+
| `coherence_task_seed` | Create a new task from an idea. |
|
|
131
|
+
| `coherence_task_events` | View the activity event log for a task. |
|
|
132
|
+
|
|
133
|
+
### Graph — universal navigation
|
|
134
|
+
|
|
135
|
+
| Tool | What it does |
|
|
136
|
+
|------|-------------|
|
|
137
|
+
| `coherence_list_edges` | List relationship edges with filters. |
|
|
138
|
+
| `coherence_get_entity_edges` | Incoming and outgoing edges for any entity. |
|
|
139
|
+
| `coherence_create_edge` | Create a typed edge between two entities. |
|
|
140
|
+
|
|
141
|
+
### Assets — tracked artifacts
|
|
142
|
+
|
|
143
|
+
| Tool | What it does |
|
|
144
|
+
|------|-------------|
|
|
145
|
+
| `coherence_list_assets` | List tracked assets (code, docs, endpoints). |
|
|
146
|
+
| `coherence_get_asset` | Detail for a specific asset by UUID. |
|
|
147
|
+
| `coherence_create_asset` | Register a new tracked asset. |
|
|
148
|
+
|
|
149
|
+
### News & Signals
|
|
150
|
+
|
|
151
|
+
| Tool | What it does |
|
|
152
|
+
|------|-------------|
|
|
153
|
+
| `coherence_get_news_feed` | Latest news from RSS sources with POV ranking. |
|
|
154
|
+
| `coherence_get_news_resonance` | Match news to ideas with explanations. |
|
|
155
|
+
| `coherence_list_news_sources` | List all configured RSS sources. |
|
|
156
|
+
| `coherence_add_news_source` | Add a new RSS source to the ingestion engine. |
|
|
157
|
+
| `coherence_get_trending_news` | Trending keywords from recent coverage. |
|
|
158
|
+
|
|
159
|
+
### Treasury — financial operations
|
|
160
|
+
|
|
161
|
+
| Tool | What it does |
|
|
162
|
+
|------|-------------|
|
|
163
|
+
| `coherence_get_treasury_info` | Conversion rates, addresses, and CC totals. |
|
|
164
|
+
| `coherence_record_deposit` | Record crypto deposit and convert to CC. |
|
|
165
|
+
| `coherence_get_deposit_history` | History of deposits for a contributor. |
|
|
166
|
+
|
|
167
|
+
### Governance — decision workflows
|
|
116
168
|
|
|
117
169
|
| Tool | What it does |
|
|
118
170
|
|------|-------------|
|
|
119
|
-
| `coherence_status` | API health, uptime, idea count, federation node count. |
|
|
120
|
-
| `coherence_friction_report` | Where the pipeline struggles — friction signals over a time window. |
|
|
121
171
|
| `coherence_list_change_requests` | Open governance proposals. |
|
|
172
|
+
| `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. |
|
|
175
|
+
|
|
176
|
+
### Living Codex ontology
|
|
177
|
+
|
|
178
|
+
| Tool | What it does |
|
|
179
|
+
|------|-------------|
|
|
180
|
+
| `coherence_list_concepts` | Browse 184 universal concepts with 53 axes. |
|
|
181
|
+
| `coherence_get_concept` | Full concept detail with typed relationship edges. |
|
|
182
|
+
| `coherence_link_concepts` | Create typed relationships between concepts. |
|
|
183
|
+
|
|
184
|
+
### Health & Integrity
|
|
185
|
+
|
|
186
|
+
| Tool | What it does |
|
|
187
|
+
|------|-------------|
|
|
188
|
+
| `coherence_status` | API health, uptime, idea count, federation node count. |
|
|
189
|
+
| `coherence_friction_report` | Where the pipeline struggles. |
|
|
122
190
|
| `coherence_list_federation_nodes` | Federated nodes and their capabilities. |
|
|
191
|
+
| `coherence_get_dif_stats` | DIF verification accuracy statistics. |
|
|
192
|
+
| `coherence_get_recent_dif` | Recent DIF verification entries and scores. |
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## CLI equivalent
|
|
197
|
+
|
|
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.
|
|
123
199
|
|
|
124
200
|
---
|
|
125
201
|
|
|
@@ -130,26 +206,16 @@ Once connected, you can ask your agent things like:
|
|
|
130
206
|
- *"What ideas have the highest ROI right now?"*
|
|
131
207
|
- *"Show me the spec for authentication and summarize the implementation plan"*
|
|
132
208
|
- *"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?"*
|
|
133
210
|
- *"Link my GitHub identity and record a code contribution for the CLI work I did"*
|
|
134
211
|
- *"What's the network friction report for the last 30 days?"*
|
|
135
212
|
- *"Pick the next best idea for me to work on"*
|
|
213
|
+
- *"Create a new idea for 'Automated PR reviews' and link it as enabling the 'GitHub integration' idea"*
|
|
136
214
|
|
|
137
215
|
The agent calls the right tools, gets structured data, and responds naturally.
|
|
138
216
|
|
|
139
217
|
---
|
|
140
218
|
|
|
141
|
-
## How coherence scoring works
|
|
142
|
-
|
|
143
|
-
Every idea and contribution is scored 0.0–1.0:
|
|
144
|
-
|
|
145
|
-
- **1.0** — Tests pass, docs clear, implementation simple, value proven
|
|
146
|
-
- **0.5** — Partial coverage, work in progress
|
|
147
|
-
- **0.0** — No evidence of quality or value
|
|
148
|
-
|
|
149
|
-
Payouts are weighted by coherence. Higher-quality work earns proportionally more. The score is a signal, not a grade — it tells the network how much trust the work has earned.
|
|
150
|
-
|
|
151
|
-
---
|
|
152
|
-
|
|
153
219
|
## Environment variables
|
|
154
220
|
|
|
155
221
|
| Variable | Default | Description |
|
|
@@ -159,18 +225,6 @@ Payouts are weighted by coherence. Higher-quality work earns proportionally more
|
|
|
159
225
|
|
|
160
226
|
---
|
|
161
227
|
|
|
162
|
-
## The five pillars
|
|
163
|
-
|
|
164
|
-
| Pillar | What it means for agents |
|
|
165
|
-
|--------|-------------------------|
|
|
166
|
-
| **Traceability** | Every tool call traces back to real ideas, real specs, real contributors. |
|
|
167
|
-
| **Trust** | Coherence scores give agents objective quality signals — no guessing. |
|
|
168
|
-
| **Freedom** | Federated nodes, open governance. No single point of control. |
|
|
169
|
-
| **Uniqueness** | Every entity is uniquely identified. No duplicate ideas, no ambiguous specs. |
|
|
170
|
-
| **Collaboration** | Agents and humans contribute side by side, credited fairly. |
|
|
171
|
-
|
|
172
|
-
---
|
|
173
|
-
|
|
174
228
|
## The Coherence Network ecosystem
|
|
175
229
|
|
|
176
230
|
Every part of the network links to every other. Jump in wherever makes sense.
|
|
@@ -180,21 +234,12 @@ Every part of the network links to every other. Jump in wherever makes sense.
|
|
|
180
234
|
| **Web** | Browse ideas, specs, and contributors visually | [coherencycoin.com](https://coherencycoin.com) |
|
|
181
235
|
| **API** | 100+ endpoints, full OpenAPI docs, the engine behind everything | [api.coherencycoin.com/docs](https://api.coherencycoin.com/docs) |
|
|
182
236
|
| **CLI** | Terminal-first access — `npm i -g coherence-cli` then `cc help` | [npm: coherence-cli](https://www.npmjs.com/package/coherence-cli) |
|
|
183
|
-
| **MCP Server** | This package —
|
|
237
|
+
| **MCP Server** | This package — 51 typed tools for AI agents | [npm: coherence-mcp-server](https://www.npmjs.com/package/coherence-mcp-server) |
|
|
184
238
|
| **OpenClaw Skill** | Auto-triggers in any OpenClaw instance for ideas, specs, coherence | [ClawHub: coherence-network](https://clawhub.com/skills/coherence-network) |
|
|
185
239
|
| **GitHub** | Source code, specs, issues, and contribution tracking | [github.com/seeker71/Coherence-Network](https://github.com/seeker71/Coherence-Network) |
|
|
186
240
|
|
|
187
241
|
---
|
|
188
242
|
|
|
189
|
-
## Get involved
|
|
190
|
-
|
|
191
|
-
Coherence Network is open source. Every contribution — human or agent — is tracked and fairly attributed.
|
|
192
|
-
|
|
193
|
-
- **Start exploring**: Add the MCP server to your agent and ask *"What ideas need work?"*
|
|
194
|
-
- **GitHub**: [github.com/seeker71/Coherence-Network](https://github.com/seeker71/Coherence-Network)
|
|
195
|
-
|
|
196
|
-
---
|
|
197
|
-
|
|
198
243
|
## License
|
|
199
244
|
|
|
200
245
|
MIT
|
package/README.template.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
|
|
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.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npx coherence-mcp-server
|
|
@@ -21,7 +21,12 @@ This MCP server changes that. It gives any agent a typed interface to:
|
|
|
21
21
|
- **Discover** — browse ideas ranked by ROI, search specs, see what's resonating
|
|
22
22
|
- **Trace** — follow value from idea through spec, implementation, usage, and payout
|
|
23
23
|
- **Attribute** — link any of 37 identity providers, record contributions, check ledgers
|
|
24
|
-
- **
|
|
24
|
+
- **Execute** — participate in the agent work pipeline (claim tasks, report results)
|
|
25
|
+
- **Evolve** — create new ideas, link dependencies, and navigate the universal graph
|
|
26
|
+
- **Finance** — track treasury balances, record deposits, and monitor assets
|
|
27
|
+
- **Signal** — ingest news, track trending keywords, and measure concept resonance
|
|
28
|
+
- **Ontology** — explore the Living Codex (184 universal concepts, 53 axes)
|
|
29
|
+
- **Govern** — propose changes, vote on requests, and monitor network health
|
|
25
30
|
|
|
26
31
|
Every tool returns structured JSON. No parsing HTML. No scraping. Just clean data.
|
|
27
32
|
|
|
@@ -68,7 +73,7 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
|
|
|
68
73
|
|
|
69
74
|
---
|
|
70
75
|
|
|
71
|
-
## Tools (
|
|
76
|
+
## Tools (51)
|
|
72
77
|
|
|
73
78
|
### Ideas — the portfolio engine
|
|
74
79
|
|
|
@@ -76,6 +81,8 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
|
|
|
76
81
|
|------|-------------|
|
|
77
82
|
| `coherence_list_ideas` | Browse ideas ranked by ROI and free-energy score. Filter with `search`, limit with `limit`. |
|
|
78
83
|
| `coherence_get_idea` | Full detail for one idea: scores, open questions, cost vectors, value gaps. |
|
|
84
|
+
| `coherence_create_idea` | Create a new idea in the portfolio. |
|
|
85
|
+
| `coherence_update_idea` | Update an existing idea (stage, status, metadata). |
|
|
79
86
|
| `coherence_idea_progress` | Stage, tasks by phase, CC staked and spent, contributor list. |
|
|
80
87
|
| `coherence_select_idea` | Let the portfolio engine pick the next highest-ROI idea. `temperature` controls explore vs exploit. |
|
|
81
88
|
| `coherence_showcase` | Validated, shipped ideas that have proven their value. |
|
|
@@ -111,14 +118,84 @@ Point your MCP client at `npx coherence-mcp-server` via stdio transport.
|
|
|
111
118
|
| `coherence_record_contribution` | Record work by contributor name or by provider identity (no registration needed). |
|
|
112
119
|
| `coherence_contributor_ledger` | CC balance, contribution history, and linked ideas. |
|
|
113
120
|
|
|
114
|
-
###
|
|
121
|
+
### Tasks — agent work protocol
|
|
122
|
+
|
|
123
|
+
| Tool | What it does |
|
|
124
|
+
|------|-------------|
|
|
125
|
+
| `coherence_list_tasks` | See what tasks are pending, running, or failed. |
|
|
126
|
+
| `coherence_get_task` | Full task details, direction, and result. |
|
|
127
|
+
| `coherence_task_next` | Claim the highest-priority pending task. |
|
|
128
|
+
| `coherence_task_claim` | Claim a specific task by ID. |
|
|
129
|
+
| `coherence_task_report` | Report task as completed or failed with output. |
|
|
130
|
+
| `coherence_task_seed` | Create a new task from an idea. |
|
|
131
|
+
| `coherence_task_events` | View the activity event log for a task. |
|
|
132
|
+
|
|
133
|
+
### Graph — universal navigation
|
|
134
|
+
|
|
135
|
+
| Tool | What it does |
|
|
136
|
+
|------|-------------|
|
|
137
|
+
| `coherence_list_edges` | List relationship edges with filters. |
|
|
138
|
+
| `coherence_get_entity_edges` | Incoming and outgoing edges for any entity. |
|
|
139
|
+
| `coherence_create_edge` | Create a typed edge between two entities. |
|
|
140
|
+
|
|
141
|
+
### Assets — tracked artifacts
|
|
142
|
+
|
|
143
|
+
| Tool | What it does |
|
|
144
|
+
|------|-------------|
|
|
145
|
+
| `coherence_list_assets` | List tracked assets (code, docs, endpoints). |
|
|
146
|
+
| `coherence_get_asset` | Detail for a specific asset by UUID. |
|
|
147
|
+
| `coherence_create_asset` | Register a new tracked asset. |
|
|
148
|
+
|
|
149
|
+
### News & Signals
|
|
150
|
+
|
|
151
|
+
| Tool | What it does |
|
|
152
|
+
|------|-------------|
|
|
153
|
+
| `coherence_get_news_feed` | Latest news from RSS sources with POV ranking. |
|
|
154
|
+
| `coherence_get_news_resonance` | Match news to ideas with explanations. |
|
|
155
|
+
| `coherence_list_news_sources` | List all configured RSS sources. |
|
|
156
|
+
| `coherence_add_news_source` | Add a new RSS source to the ingestion engine. |
|
|
157
|
+
| `coherence_get_trending_news` | Trending keywords from recent coverage. |
|
|
158
|
+
|
|
159
|
+
### Treasury — financial operations
|
|
160
|
+
|
|
161
|
+
| Tool | What it does |
|
|
162
|
+
|------|-------------|
|
|
163
|
+
| `coherence_get_treasury_info` | Conversion rates, addresses, and CC totals. |
|
|
164
|
+
| `coherence_record_deposit` | Record crypto deposit and convert to CC. |
|
|
165
|
+
| `coherence_get_deposit_history` | History of deposits for a contributor. |
|
|
166
|
+
|
|
167
|
+
### Governance — decision workflows
|
|
115
168
|
|
|
116
169
|
| Tool | What it does |
|
|
117
170
|
|------|-------------|
|
|
118
|
-
| `coherence_status` | API health, uptime, idea count, federation node count. |
|
|
119
|
-
| `coherence_friction_report` | Where the pipeline struggles — friction signals over a time window. |
|
|
120
171
|
| `coherence_list_change_requests` | Open governance proposals. |
|
|
172
|
+
| `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. |
|
|
175
|
+
|
|
176
|
+
### Living Codex ontology
|
|
177
|
+
|
|
178
|
+
| Tool | What it does |
|
|
179
|
+
|------|-------------|
|
|
180
|
+
| `coherence_list_concepts` | Browse 184 universal concepts with 53 axes. |
|
|
181
|
+
| `coherence_get_concept` | Full concept detail with typed relationship edges. |
|
|
182
|
+
| `coherence_link_concepts` | Create typed relationships between concepts. |
|
|
183
|
+
|
|
184
|
+
### Health & Integrity
|
|
185
|
+
|
|
186
|
+
| Tool | What it does |
|
|
187
|
+
|------|-------------|
|
|
188
|
+
| `coherence_status` | API health, uptime, idea count, federation node count. |
|
|
189
|
+
| `coherence_friction_report` | Where the pipeline struggles. |
|
|
121
190
|
| `coherence_list_federation_nodes` | Federated nodes and their capabilities. |
|
|
191
|
+
| `coherence_get_dif_stats` | DIF verification accuracy statistics. |
|
|
192
|
+
| `coherence_get_recent_dif` | Recent DIF verification entries and scores. |
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## CLI equivalent
|
|
197
|
+
|
|
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.
|
|
122
199
|
|
|
123
200
|
---
|
|
124
201
|
|
|
@@ -129,26 +206,16 @@ Once connected, you can ask your agent things like:
|
|
|
129
206
|
- *"What ideas have the highest ROI right now?"*
|
|
130
207
|
- *"Show me the spec for authentication and summarize the implementation plan"*
|
|
131
208
|
- *"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?"*
|
|
132
210
|
- *"Link my GitHub identity and record a code contribution for the CLI work I did"*
|
|
133
211
|
- *"What's the network friction report for the last 30 days?"*
|
|
134
212
|
- *"Pick the next best idea for me to work on"*
|
|
213
|
+
- *"Create a new idea for 'Automated PR reviews' and link it as enabling the 'GitHub integration' idea"*
|
|
135
214
|
|
|
136
215
|
The agent calls the right tools, gets structured data, and responds naturally.
|
|
137
216
|
|
|
138
217
|
---
|
|
139
218
|
|
|
140
|
-
## How coherence scoring works
|
|
141
|
-
|
|
142
|
-
Every idea and contribution is scored 0.0–1.0:
|
|
143
|
-
|
|
144
|
-
- **1.0** — Tests pass, docs clear, implementation simple, value proven
|
|
145
|
-
- **0.5** — Partial coverage, work in progress
|
|
146
|
-
- **0.0** — No evidence of quality or value
|
|
147
|
-
|
|
148
|
-
Payouts are weighted by coherence. Higher-quality work earns proportionally more. The score is a signal, not a grade — it tells the network how much trust the work has earned.
|
|
149
|
-
|
|
150
|
-
---
|
|
151
|
-
|
|
152
219
|
## Environment variables
|
|
153
220
|
|
|
154
221
|
| Variable | Default | Description |
|
|
@@ -158,18 +225,6 @@ Payouts are weighted by coherence. Higher-quality work earns proportionally more
|
|
|
158
225
|
|
|
159
226
|
---
|
|
160
227
|
|
|
161
|
-
## The five pillars
|
|
162
|
-
|
|
163
|
-
| Pillar | What it means for agents |
|
|
164
|
-
|--------|-------------------------|
|
|
165
|
-
| **Traceability** | Every tool call traces back to real ideas, real specs, real contributors. |
|
|
166
|
-
| **Trust** | Coherence scores give agents objective quality signals — no guessing. |
|
|
167
|
-
| **Freedom** | Federated nodes, open governance. No single point of control. |
|
|
168
|
-
| **Uniqueness** | Every entity is uniquely identified. No duplicate ideas, no ambiguous specs. |
|
|
169
|
-
| **Collaboration** | Agents and humans contribute side by side, credited fairly. |
|
|
170
|
-
|
|
171
|
-
---
|
|
172
|
-
|
|
173
228
|
## The Coherence Network ecosystem
|
|
174
229
|
|
|
175
230
|
Every part of the network links to every other. Jump in wherever makes sense.
|
|
@@ -179,21 +234,12 @@ Every part of the network links to every other. Jump in wherever makes sense.
|
|
|
179
234
|
| **Web** | Browse ideas, specs, and contributors visually | [coherencycoin.com](https://coherencycoin.com) |
|
|
180
235
|
| **API** | 100+ endpoints, full OpenAPI docs, the engine behind everything | [api.coherencycoin.com/docs](https://api.coherencycoin.com/docs) |
|
|
181
236
|
| **CLI** | Terminal-first access — `npm i -g coherence-cli` then `cc help` | [npm: coherence-cli](https://www.npmjs.com/package/coherence-cli) |
|
|
182
|
-
| **MCP Server** | This package —
|
|
237
|
+
| **MCP Server** | This package — 51 typed tools for AI agents | [npm: coherence-mcp-server](https://www.npmjs.com/package/coherence-mcp-server) |
|
|
183
238
|
| **OpenClaw Skill** | Auto-triggers in any OpenClaw instance for ideas, specs, coherence | [ClawHub: coherence-network](https://clawhub.com/skills/coherence-network) |
|
|
184
239
|
| **GitHub** | Source code, specs, issues, and contribution tracking | [github.com/seeker71/Coherence-Network](https://github.com/seeker71/Coherence-Network) |
|
|
185
240
|
|
|
186
241
|
---
|
|
187
242
|
|
|
188
|
-
## Get involved
|
|
189
|
-
|
|
190
|
-
Coherence Network is open source. Every contribution — human or agent — is tracked and fairly attributed.
|
|
191
|
-
|
|
192
|
-
- **Start exploring**: Add the MCP server to your agent and ask *"What ideas need work?"*
|
|
193
|
-
- **GitHub**: [github.com/seeker71/Coherence-Network](https://github.com/seeker71/Coherence-Network)
|
|
194
|
-
|
|
195
|
-
---
|
|
196
|
-
|
|
197
243
|
## License
|
|
198
244
|
|
|
199
245
|
MIT
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
coherence-mcp-server — MCP server for the Coherence Network.
|
|
3
|
+
|
|
4
|
+
22 typed tools for AI agents to browse ideas, trace value chains,
|
|
5
|
+
link identities, record contributions, and explore the Living Codex ontology.
|
|
6
|
+
|
|
7
|
+
Usage:
|
|
8
|
+
python -m coherence_mcp_server
|
|
9
|
+
coherence-mcp-server
|
|
10
|
+
|
|
11
|
+
Environment variables:
|
|
12
|
+
COHERENCE_API_URL API base URL (default: https://api.coherencycoin.com)
|
|
13
|
+
COHERENCE_API_KEY API key for write operations (optional for reads)
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
__version__ = "0.3.1"
|
|
17
|
+
__all__ = ["__version__"]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Entry point for coherence-mcp-server Python package.
|
|
2
|
+
|
|
3
|
+
Run via:
|
|
4
|
+
python -m coherence_mcp_server
|
|
5
|
+
coherence-mcp-server (after pip install)
|
|
6
|
+
uvx coherence-mcp-server (via uv)
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import asyncio
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def main() -> None:
|
|
14
|
+
"""Start the Coherence Network MCP server."""
|
|
15
|
+
from coherence_mcp_server.server import run
|
|
16
|
+
asyncio.run(run())
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
if __name__ == "__main__":
|
|
20
|
+
sys.exit(main())
|
|
Binary file
|
|
Binary file
|
|
Binary file
|