Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Fresh, attributed facts from your sources — cached, and invalidated the moment a source changes.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
OPENAI_API_KEY, COALENT_MCP_TOKEN标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"coalent": {
"command": "uvx",
"args": [
"coalent",
"--watch",
"./docs"
],
"env": {
"OPENAI_API_KEY": "your-value",
"COALENT_MCP_TOKEN": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add coalent --env OPENAI_API_KEY=your-value --env COALENT_MCP_TOKEN=your-value -- uvx coalent --watch ./docs运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"coalent": {
"command": "uvx",
"args": [
"coalent",
"--watch",
"./docs"
],
"env": {
"OPENAI_API_KEY": "your-value",
"COALENT_MCP_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"coalent": {
"type": "stdio",
"command": "uvx",
"args": [
"coalent",
"--watch",
"./docs"
],
"env": {
"OPENAI_API_KEY": "your-value",
"COALENT_MCP_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
发布者(nisarg-pujara-vectorlink)不是仓库所有者(Vectorlink-Labs);可能是其他人代为上架的
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 0 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:OPENAI_API_KEY, COALENT_MCP_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.7.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Tethered Trust
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Fit, compatibility and recall checks for AI agents before they buy: verdicts, evidence, receipts.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Real-time, provenance-invalidated context for AI agents & RAG.
Build understanding once. Reuse it everywhere. Keep it fresh — automatically.
📖 Documentation · coalent.ai · 💬 Discord
Quickstart · What's new in v0.7 · Gate ladder · Bring your own stack · MCP · LangChain · Benchmark · CLI
Your agent re-reads the same sources on every call — and the moment a source changes, every cached answer is silently wrong.
Coalent builds the *understanding* once, caches it by what the query means, and invalidates it surgically the instant an underlying source changes. As correct as re-reading everything, at a fraction of the cost — and never stale.
Every context layer is forced to trade off three things. Coalent is built to hold all three at once:
Coalent sits above retrieval — bring any retriever (vector DB, hybrid search, GraphRAG, tools, APIs). It's the freshness-and-reuse layer, not another retriever — deliberately the *opposite* of GraphRAG's build-the-whole-graph-upfront tax: lightweight, independent units, built lazily only when a query actually needs one, and refreshed by dirtying a single unit (no graph surgery).
New in v0.7 — the self-healing release. The failure chain: when a read fails,
your agent calls
repair(read_id)and the cache re-extracts what its build missed —
permanently. Measured on the same frozen 605-question rig: 0.826 vs 0.774 for
the strongest v0.6 configuration, **+5.3 points at an identical ~983-token serving
budget, final refusals −69%. And the default read path flips to pool**: under a
semantic embedder the read path resolves to
"pool"automatically (read_path="unit"
stays the byte-identical escape hatch). See What's new in v0.7.
New in v0.6.1 — the MCP server:
coalent-mcpputs the cache one line away from Claude Code, Cursor, or any MCP client (Use it from Claude Code / Cursor), and [`langchain-coalent`](#langchain) makes your existing LangChain stack the cache's substrate. Both additive-only.
v0.6 — the pool read path (
read_path="pool"): every read serves the token-budgeted, globally ranked fresh-claim pool. Measured on the same benchmark: 0.731 accuracy @ 981 context tokens — naive's best measured accuracy (top-12: 0.731 @ 1,729) at ~43% fewer tokens. Plus the default-OFF behavioral stack, measured at −33% refusals and +3.1 pts on the same store.
pip install coalent # the core has zero required dependencies
Runs as-is — StubSynthesizer needs no API key, so you can feel the loop in ten seconds:
from coalent import SemanticCache, InMemoryRetriever, StubSynthesizer
retriever = InMemoryRetriever() retriever.add("confluence:hr", "Leave policy: 21 days of annual leave per year.")
cache = SemanticCache(retriever, StubSynthesizer())
result = cache.get("what is our leave policy?") print(result.context["understanding"]) print(result.cache_hit) # False (cold) -> True on the next call
cache.source_changed("confluence:hr", text="Leave policy: now 25 days.")
(The no-key demo above runs the classic unit read path — with no semantic embedder available, the cache says so loudly and falls back. Wire a real embedder, as below, and the default becomes the measured pool read path.)
Wire in a real model — any text-in / text-out LLM works. In v0.4 the synthesizer builds extractive understanding by default (query-independent atomic claims that keep every fact), and the cache does cross-unit recall — both on automatically:
from coalent import SemanticCache, LLMSynthesizer, OpenAIProvider, OpenAIEmbedder
cache = SemanticCache( retriever, LLMSynthesizer(OpenAIProvider(), model="gpt-4o-mini"), # extract=True by default (v0.4) embedder=OpenAIEmbedder(), # match queries by MEANING (recommended for real use) )
The pool read path — the DEFAULT since v0.7 (whenever a semantic embedder is available): every read serves the budget-packed, globally ranked fresh-claim pool instead of one routed unit. Attribution is the one thing to wire: a 3-line pool_header callable mapping each unit to [title | source | date] from your own corpus metadata. This is the measured golden path — on a 605-question news benchmark (strict grading), 0.68 accuracy with the bare built-in header vs 0.73 with this callable, same store, same queries:
DOC_META = { # your corpus metadata, keyed by artifact id
"docs:azure-refresh": {"title": "Azure region refresh", "source": "CloudWire", "date": "2026-05-02"}, }
def pool_header(unit) -> str: # the [title | source | date] golden path — 3 lines meta = DOC_META.get(unit.evidence[0].artifact_id if unit.evidence else "") return f"[{meta['title']} | {meta['source']} | {meta['date']}]" if meta else f"[source: {unit.id}]"
cache = SemanticCache(retriever, synthesizer, embedder=OpenAIEmbedder(), pool_header=pool_header) # pool is the resolved default (v0.7) result = cache.get("which regions got the refresh?") result.context["pool"] # the packed, attributed claim payload — hand it to your answer model
Runnable no-API-key demo, including the refusal loop: examples/pool_read_path.py.
coalent-mcp serves fresh, attributed facts from a Coalent cache to any MCP client — and the facts are invalidated the instant their source changes. One line to wire it into Claude Code:
pip install "coalent[mcp,openai]"
claude mcp add coalent -- coalent-mcp --cache-factory my_cache:build
(Cursor / Claude Desktop / any MCP client: register the same coalent-mcp ... command in its MCP config.)
Bring your own cache (`--cache-factory module:function`) — the primary mode. Your factory returns a fully constructed SemanticCache: your vector DB, your embedder, your LLM, every knob. The server adds protocol glue only — and the glue is measured to add zero quality loss: factory mode reproduced the library's own benchmark result byte-identically (0.710 on a 100-question validation run drawn from our n=605 news benchmark — identical CIs, 100/100 serves, 98/100 answer payloads byte-equal to the library run).
# my_cache.py — importable from the directory you launch in
from coalent import (SemanticCache, LLMSynthesizer, OpenAIProvider, OpenAIEmbedder, SQLiteCognitionStore)
def build() -> SemanticCache: return SemanticCache( my_vector_retriever, # YOUR vector DB / retriever LLMSynthesizer(OpenAIProvider()), # YOUR synthesis model embedder=OpenAIEmbedder(), # YOUR embedder read_path="pool", residual_spans=True, query_keys=True, # the behavioral stack, opt-in as ever pool_header=my_metadata_header, # [title | source | date] — the measured golden path store=SQLiteCognitionStore("kb.db"), # persistence is yours too )
Freshness here is signal-driven: your ingestion pipeline calls the source_changed tool when a document changes and the affected facts invalidate immediately. (Adding --watch DIR alongside the factory also fires it on file edits — invalidation only; it never ingests into your index, and it matches only when your artifact ids equal the watch-relative paths.)
Zero-config folder mode (`--watch DIR`) — the demo wedge. Point it at a folder of docs and you get the recommended v0.6 deployment (pool path, residual spans, query keys, SQLite persistence, automatic [path | modified date] attribution) with no code at all:
claude mcp add coalent --env OPENAI_API_KEY=$OPENAI_API_KEY -- coalent-mcp --watch ./docs
Every read rescans the watched files (mtime + content hash) before serving — you cannot get a stale answer after saving a file — and an untouched folder restarts fully warm. The honest number: on the same 100-question validation run, folder mode scored 0.46 vs 0.71 for a factory-built cache (40 vs 18 refusals) — the measured cost of the generic paragraph chunker and on-demand keyhole builds. Use it to feel the freshness loop in a minute; bring your own stack for production quality. One regime note: a question about a *just-added* file can honestly refuse from a warm cache until a read triggers that file's first build — a refusal, never a stale or wrong answer.
One shared cache for many agents (`--transport http`).
COALENT_MCP_TOKEN=<secret> coalent-mcp --cache-factory my_cache:build --transport http --port 8765
One long-lived process, many concurrent MCP clients, ONE shared cache — shared compounding, no store races (validated: two concurrent clients matched the sequential reference on all 20 reads, zero duplicate builds). When COALENT_MCP_TOKEN is set, every request must carry Authorization: Bearer — bind localhost or trusted networks. Corollary for stdio: each stdio launch is its own process, so never point two apps at the sa
只显示了开头部分;其余内容请在仓库中阅读