プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Selvedge

作者:masondelanバージョン 0.3.18i★ –iパソコンで動く
レジストリ名io.github.masondelan/selvedge

インストール

概要

作者による説明(英語の原文)

Persistent decision memory for AI agents: rationale, rejected approaches, and entity history.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 検索・AIの記憶

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "selvedge": {
      "command": "uvx",
      "args": [
        "selvedge"
      ],
      "env": {
        "SELVEDGE_DB": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add selvedge --env SELVEDGE_DB=your-value -- uvx selvedge

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "selvedge": {
      "command": "uvx",
      "args": [
        "selvedge"
      ],
      "env": {
        "SELVEDGE_DB": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "selvedge": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "selvedge"
      ],
      "env": {
        "SELVEDGE_DB": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • SELVEDGE_DB env
    Override the SQLite path. Defaults to .selvedge/selvedge.db next to the codebase.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント masondelan で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

検索・AIの記憶のほかのサーバーとの比較i

  • このカテゴリのほかの5688件のうち0%よりスターが多い
  • このカテゴリのほかの5688件のうち84%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの5688件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Selvedgeは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.3.18)がレジストリに届いたのは7 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Context7, Codebase Memory, Exa

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Context7

Up-to-date docs for AI agents

作者:upstash広く使われている↓ 97.3万/週★ 6.4万一昨日更新

パソコンでもクラウドでも

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

作者:DeusData広く使われている↓ 1.8万/週★ 4.8万22 日前更新

パソコンで動く

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

作者:exa-labs成長中★ 52132 か月前更新

クラウドで動く✓ exa.ai

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

selvedge.sh · DevHunt · PyPI · GitHub

Persistent decision memory for AI 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 for anyone using a compatible agent. Connect through local MCP over stdio, or use the CLI from an agent with shell access. Decisions stay in the same SQLite store in .selvedge/ when you switch tools. No hosted account is required; core storage and retrieval make no LLM calls.

Get started · Documentation · Agent compatibility

uv tool install --upgrade selvedge

selvedge demo

Requires uv and Python. Python 3.11–3.14 is recommended; Python 3.10 remains compatible but is end of life. The demo uses a temporary database. Follow the quickstart to connect your agent to a real project.

Use selvedge demo --mcp to save through a local stdio MCP server, restart it and retrieve the same record. Add --json for the checked IDs and versions. This tests the Python installation running Selvedge with disposable data; your agent's configuration, activation and hooks still need a separate check.

Who Selvedge is for

  • Solo developers returning to a project after the original conversation is gone.
  • Teams that need to pass recorded decisions between sessions and coding tools.

The problem

Code shows the chosen approach. It may leave out the constraint that shaped it or the alternative you ruled out. Selvedge gives those explanations a place in the project and tools to retrieve them before the next edit.

Only explicitly saved decisions can be recalled. A saved explanation is an account supplied by a person or agent; Selvedge does not verify that it is true or guarantee that an agent will consult it. Verify one decision across two sessions to test your setup.


What's new in v0.3.18

Read the recorded reasons before routine review metadata. The optional GitHub review Action puts rejected and reverted approaches, revisions and constraints first. Its comment defaults to a 6,000-character budget, counts omitted events and links to the trusted base store and longer job summary. Unchanged reruns leave the comment untouched.

Healthy runs with no matching history keep the job summary without creating a new comment; an existing comment is refreshed and broken chains remain visible. Missing history is unknown, not approval. The Action still uses only publication-approved base history and never executes PR-head code.

A regression check also protects the library's local save/reopen/retrieve path with site packages unavailable and socket access blocked. No new runtime dependencies, migrations, MCP tools or model calls. Python 3.10 compatibility is retained; use supported Python 3.11–3.14 for new installations. Native Action execution and review usefulness remain unverified.


What's new in v0.3.17

Check recorded decisions before a review. Generate a Markdown digest, then run selvedge export --format markdown -o DECISIONS.md --check to catch drift. An identical digest exits 0 silently; a stale or missing digest exits 1 with a unified diff and regeneration guidance. Check mode preserves the digest and stored records. Review exported reasoning before publishing it.

selvedge demo --mcp saves a synthetic rejection through a real local MCP server, restarts it and retrieves the same record. It uses disposable state; it does not verify your agent's configuration or hook activation.

CLI output now preserves literal brackets in user data, and blame and Markdown exports distinguish rejected approaches from changes that were tried and reverted. Python 3.10 compatibility remains for this patch, but that runtime is now upstream end of life; use tested, supported Python 3.11–3.14 for new installations. No new runtime dependencies, migrations or MCP tools.


Where Selvedge fits

  1. Save a decision. You or your coding agent record a choice, its reason, and any rejected approaches through MCP or the CLI.
  2. Keep it with the project. Selvedge stores the record in local SQLite, keyed to the function, column, route or other entity it concerns.
  3. Recall it before the next edit. A later session queries the same store and checks whether the earlier constraint still applies.

Git keeps the code history; review tools check changes; observability shows runtime behavior. Selvedge adds the recorded reasons behind decisions. How it works · Agent Trace interchange


How Selvedge compares

Choose the simplest memory mechanism that fits your workflow:

NeedUseful starting pointWhat Selvedge adds
Standing project rulesMaintained agent instruction filesQueryable decisions attached to particular entities
Reviewed architecture choicesArchitecture decision records (ADRs)Structured outcomes, rejected approaches and revisit signals
Who changed a line and whenGit history and attribution toolsThe stated reason and earlier approaches for an entity
Carry recorded decisions into another session or clientShared project documentationMCP and CLI retrieval from the same local database

These approaches can be used together. Read the source-linked comparison and instructions versus ADRs versus decision memory for specific selection criteria and limitations.

Why entity history matters. users.email, env/STRIPE_SECRET_KEY, api/v1/checkout and deps/stripe remain useful query targets when their code moves. Explicit rejection and superseding records let a later session inspect what was tried and whether the original constraint still applies.

Why capture time matters. Recording a reason while the context is available can preserve information a diff does not contain. It does not make the reason infallible. Retrieval uses stored records; the coding agent remains responsible for checking applicability and testing its change.

Why changesets matter. Tag events with a shared changeset such as add-stripe-billing to retrieve a task's decisions across tables, environment variables, routes and functions.

Agent Trace interchange. selvedge export --format agent-trace and selvedge import --format agent-trace exchange Agent Trace v0.1.0 records. Reasoning and entity history travel in the dev.selvedge metadata. The mapping and limits document the format; Selvedge vendors the schema and has no runtime dependency on the upstream project.


Quickstart

Connect your agent

With uv installed:

uv tool install --upgrade selvedge

selvedge demo cd your-project selvedge setup

Setup detects supported clients. To select a preset explicitly, use --agent with claude-code, codex, copilot, cursor, gemini or windsurf; repeat the flag for multiple clients. These presets are conveniences, not a compatibility limit. For another agent with local stdio MCP support, follow manual setup. Agents with shell access can use the CLI. Prefer pip? Use python -m pip install --upgrade selvedge in a virtual environment. The selvedge-server executable must be on your editor's PATH; launch the editor from that environment or use the executable's absolute path in its MCP config.

Setup asks before changing files, backs up existing content, installs MCP and agent instructions, initializes the project, and offers a Git post-commit hook. Configuration files and lifecycle hooks vary by client. See the compatibility guide for preset paths, activation requirements and limitations.

Restart your agent in the project and approve Selvedge's tools if prompted. Follow your client's project-trust requirements. Ask the agent:

Use Selvedge to record one real approach we considered and rejected in this project.

Include the entity, why, and what would change our mind. Do not invent a decision.

Show the saved entity path and record ID.

Start a new session and look up the same entity to verify that the decision carries forward. Follow the first-decision verification guide and cross-agent handoff guide for observable checks. MCP access does not automatically capture every decision: the installed instructions guide the agent to use it. Native lifecycle adapters cover supported client events; startup delivery, watched-edit checks and compaction notifications vary by harness. See the agent hook guide before enabling them.

For CI bootstrap or devcontainer.json postCreateCommand:

selvedge setup --non-interactive --yes

Verify the wiring — open a second terminal in the same project:

selvedge watch

Make any change in your AI tool — add a column, rename a function, add an env var. selvedge watch should print the new event within a second of the agent calling log_change. If nothing arrives, run selvedge doctor for a single-command health check that tells you which step is silently broken.

Query your history:

selvedge status                        # recent activity + missing-commit count

selvedge diff users # all changes to the users table selvedge diff users.email # changes to a specific column selvedge blame payments.amount # what changed last and why selvedge history --since 30d # last 30 days of changes selvedge history --since 15m # last 15 minutes ('m' = minutes) selvedge changeset add-stripe-billing # all events for a feature/task selvedge search "stripe" # full-text search selvedge stats # observed tool calls and explanation quality selvedge import migrations/ # backfill from migration files selvedge export --format csv # dump history to CSV

Manual install — if you'd rather wire it up yourself

If you don't want to run the wizard,

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く