CEDRUS

io.github.cedrus-mcp由 GitHub 账号 cedrus-mcp 发布v2.0.1更新于 Oct 24, 2026

Reasoning scaffolding that supercharges your small AI: an argument-mapping MCP server

已验证STDIO仅桌面知识与记忆AI 与机器学习

概览

AI 生成的概览

一个本地论证图谱 MCP 服务器,为小模型提供由主张与支持或反对理由构成的结构化图谱,帮助其梳理辩论。

可以做什么
构建并扩展论证图谱:添加主张和赞成或反对的论证,建立或取消关联,修改标签与文本,删除条目或其附属回应。为新问题开启空白图谱。展示完整图谱,包括尚未被质疑的条目。将图谱保存为可读文本和 JSON 文件,并保留早前会话。
适用场景
适用于运行难以在上下文中维持多步辩论的小型本地模型,或希望把模型推理以可读、可核查的结构呈现出来并加以追问和扩展的场景。
运行要求
作为本地 stdio 进程由 uvx 启动(需安装 uv)。模型必须支持工具调用。可选 --save-dir 或 --save-file(或 CEDRUS_SAVE_DIR / CEDRUS_SAVE_FILE)以持久化图谱;不设置则不写文件。
安装前请注意
设置保存目录或文件后,每次更改都会写入磁盘,新会话可能覆盖固定的保存文件;早前图谱以编号备份保留。图谱内容由模型生成,需自行核查。未声明任何凭据或网络访问。

安装

在 SourceWeft 中

  1. 打开 控制台中的 CEDRUS,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

CEDRUS

Reasoning scaffolding that supercharges your small AI.

CEDRUS gives a local model an argument map to think in: the model lays out claims and the reasons for and against them, and the map keeps everything in place.

  • A scaffold, not a scratchpad. The map records which reason answers which claim, so the model doesn't have to hold it in its head, and a small model can work through a debate that would otherwise swamp it.
  • Structure is checked for the model. IDs, sides and placement are worked out by the server. A move that doesn't fit is refused with an explanation, so mistakes get fixed instead of piling up.
  • You see the reasoning. Every step lands in a map you can read, question and extend: "add an objection to A3", "what supports A7?".
  • Local and private. Made for small models on your own machine, with maps saved as plain text and JSON.

What a map looks like

- C1 Legalisation of Soft Drugs  - A1 Minimize destructive activity [con] — attacks C1  - A2 No harm, no ban [pro] — supports C1    - A3 Law must protect [con] — attacks A2      - A4 Soft drugs are harmful [con] — supports A3 (also attacks A2, supports A1)  - A5 Lifestyle decision [pro] — supports C1    - A6 Moral leadership [con] — attacks A5  - A7 Alcohol and tobacco analogy [pro] — supports C1    - A8 Tobacco and alcohol more dangerous [pro] — supports A7    - A9 Major differences [con] — attacks A7    - A10 Poor reason [con] — undercuts A7  - A11 Listen to society [pro] — supports C1  - A12 Argument from addiction [con] — attacks C1    - A13 Soft drugs are addictive [con] — supports A12    - A14 Addiction no reason to ban [pro] — undercuts A12  - A15 Slippery slope [con] — attacks C1    - A16 Coffee houses [pro] — attacks A15  - A19 Tax revenue [pro] — supports C1

This is the outline. The full view the model reads also has every claim and argument in full, and notes which ones nothing has challenged yet.

Quick start

1. Install uv

CEDRUS is started by uv, which downloads and runs it for you.

bash
# macOS and Linuxcurl -LsSf https://astral.sh/uv/install.sh | sh
powershell
# Windowspowershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

2. Add CEDRUS to your app

Each setup below saves your maps to ~/cedrus-maps, a folder in your home directory. Use any folder you like, or leave out --save-dir and its path if you don't want files.

Whichever app you use, the model has to support tool calling.

LM Studio

In the right sidebar, open the Program tab and choose Install → Edit mcp.json. Add CEDRUS under mcpServers:

json
{  "mcpServers": {    "cedrus": {      "command": "uvx",      "args": ["cedrus-mcp", "--save-dir", "~/cedrus-maps"]    }  }}
Jan

Go to Settings → MCP Servers, click +, and fill in:

FieldValue
Server Namecedrus
Commanduvx
Argumentscedrus-mcp --save-dir ~/cedrus-maps

For a local model, turn on tool calling in the model's settings (the edit button under Model Capabilities).

Goose

Run goose configure, choose Add Extension → Command-line Extension, name it cedrus, and give the command uvx cedrus-mcp --save-dir ~/cedrus-maps. In Goose Desktop, the same is under Extensions → Add custom extension.

Or add it to ~/.config/goose/config.yaml (%APPDATA%\Block\goose\config\config.yaml on Windows) yourself:

yaml
extensions:  cedrus:    name: cedrus    type: stdio    cmd: uvx    args: [cedrus-mcp, --save-dir, ~/cedrus-maps]    enabled: true    timeout: 300

Goose can run local models through Ollama, so this is also the way to use CEDRUS with Ollama.

Other MCP clients

Any client that can start a local (stdio) MCP server works: the command is uvx, the arguments are cedrus-mcp and any options below.

Try it

Map the debate on whether cities should ban cars from their centres. Start with the main claim, then add the strongest arguments on both sides.

Now add an objection to the weakest pro argument.

Which arguments has nobody challenged yet? Add a reply to one of them.

Whenever you want to see the whole map, ask the model to show it.

Saving your maps

With --save-dir DIR, CEDRUS writes the map after every change to DIR/<id>.txt, the readable view, and DIR/<id>.json. Each time your app starts CEDRUS, it gets a new <id>, so earlier maps are kept. --save-file PATH writes to one fixed file instead, and a new session overwrites it.

When the model starts a new map, the old one is kept beside the live file as .1, then .2, and so on.

What the model can do

ToolWhat it does
showPrint the whole map.
add_claimAdd a claim: the statement being debated, or a principle.
add_argumentAdd an argument for or against something already in the map.
linkRelate two items already in the map, or change how they relate.
unlinkRemove one relation.
editChange a label or a text.
deleteDelete an item, optionally with the arguments that respond only to it.
new_mapStart over with an empty map, for another question.

An argument can support or attack what it responds to, or undercut another argument: grant its premises, but deny that they lead to its conclusion.

Options

OptionWhat it does
--save-dir DIRSave each session's map in DIR. Also CEDRUS_SAVE_DIR.
--save-file PATHSave the map to one file, PATH and PATH with .txt. Also CEDRUS_SAVE_FILE.
--max-chars NSize limit for the map view, default 24000 (roughly 6k tokens). Larger maps are shown shortened.
--hintsAdd a short hint to each tool result.

Running over HTTP, from a checkout, or under the MCP inspector is covered in docs/ADVANCED.md.

More

Licence

GNU Affero General Public License v3.0 or later. See LICENSE.

来源:README.md,提交 bce1fa4

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v2.0.1最新Sep 18, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分