MCP.so
登录

Selvedge MCP Server

@masondelan

基本信息

关于 Selvedge MCP Server

Decision provenance for AI-coded codebases: the why, and what was already tried and rejected. Exports and imports Agent Trace v0.1.0, so captured history round-trips with the emerging open standard for AI code attributi

Selvedge MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "selvedge": {
      "command": "uvx",
      "args": [
        "--from",
        "selvedge",
        "selvedge-server"
      ]
    }
  }
}

Selvedge MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Selvedge?

Persistent decision memory for AI coding agents. Save why you chose an approach, what you rejected, and what would change your mind. Retrieve that context in the next coding session, using a function, database column, API route, or dependency as the lookup key.

Selvedge is a local MCP server and CLI. Claude Code, Codex, Cursor, Copilot, Gemini CLI, and Windsurf can connect to the same SQLite store in .selvedge/. No hosted account is required; core storage and retrieval make no LLM calls. Only explicitly saved decisions can be recalled. Recorded explanations are supplied by a person or agent and are not verified facts.

Get started

Requires Python 3.10+ and uv.

uv tool install --upgrade selvedge
selvedge demo
cd your-project
selvedge setup --agent codex

Use codex, claude-code, cursor, copilot, gemini, or windsurf. The demo uses a temporary database. After setup, restart your coding client, save a real decision, and retrieve it in a new session. See the first-decision verification guide and agent compatibility reference.

Current release: v0.3.16

  • Eight MCP tools: log_change, prior_attempts, blame, diff, history, changeset, search, and stale_decisions.
  • Entity-level decision history, rejected approaches, append-only superseding records, changesets, and revisit conditions.
  • selvedge ledger shows recorded actor/session attribution and explicit revisions. Attribution is self-reported.
  • selvedge doctor --agent CLIENT checks project hook configuration for all six setup targets. Configuration checks do not prove that a client activated its hooks.
  • Optional PR review Action carries approved decision history into reviews without executing PR-head code.
  • Native lifecycle adapters cover supported client events; startup context, watched-edit checks, and compaction notifications vary by harness.
  • Agent Trace v0.1.0 import/export and Markdown, JSON, CSV exports.

Release and source · Documentation · PyPI

How does it differ from git history?

Git records code changes. Selvedge stores the stated reasons, alternatives, and conditions behind decisions, then makes them queryable before later edits. It does not guarantee that an agent will retrieve or correctly apply them.

Where is data stored?

In .selvedge/selvedge.db in the project, with a global fallback under ~/.selvedge/. MCP transport is JSON-RPC over stdio. Optional integrations and semantic search are separate from the local core.

评论

AI 与智能体 分类下的更多 MCP 服务器