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

Context Guardian

作者:LuminariSoftwaresバージョン 0.15.0i★ –iパソコンで動く
レジストリ名io.github.LuminariSoftwares/context-guardian

インストール

概要

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

40 turns: 1,130,722 tokens upstream -> 161,141. A fail-open compaction proxy for local models.

PopNx MCPの3つの柱

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

できること

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

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

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

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

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

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

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

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

{
  "mcpServers": {
    "context-guardian": {
      "command": "uvx",
      "args": [
        "context-guardian",
        "mcp"
      ]
    }
  }
}

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

claude mcp add context-guardian -- uvx context-guardian mcp

Cursorで開く

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

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

{
  "mcpServers": {
    "context-guardian": {
      "command": "uvx",
      "args": [
        "context-guardian",
        "mcp"
      ]
    }
  }
}

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

VS Codeで開く

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

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

{
  "servers": {
    "context-guardian": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "context-guardian",
        "mcp"
      ]
    }
  }
}

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

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

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

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

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • … 未チェック

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

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

  • … 未チェック

    ライセンスがある

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

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

その他のほかのサーバーとの比較i

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

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

よくある質問

Context Guardianは安全ですか?

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

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

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

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

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

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

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

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

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

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, MemberVault MCP by usefulapi

代わりの候補

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

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

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

作者のREADME

READMEを開く

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

Context Guardian

Status: active development -- changelog

mcp-name: io.github.LuminariSoftwares/context-guardian

A 40-turn session: 1,130,722 tokens sent upstream without it, 161,141 with it.

A compaction proxy for OpenAI-compatible local backends that fails open, so a long session stops dying at the context limit.

Quick start (60 seconds)

Local model CLI, through the proxy:

pip install context-guardian && context-guardian   # proxy on :8786 in front of Ollama on :11434; set OPENAI_BASE_URL=http://localhost:8786/v1

context-guardian-doctor # second terminal: checks the install and the running proxy, prints a fix: line for anything wrong

With an AI agent: paste one line, "Install context-guardian (docs: https://raw.githubusercontent.com/LuminariSoftwares/context-guardian/main/llms.txt) and point my client at it". llms.txt is the whole install, configure, recall and limits story in one short file an agent can read.

Another backend or window: see examples/ or Configure. Your client's settings: Point your client at the proxy. After a compaction, context-guardian-recall " " searches the archived originals (the summary the model receives names the exact command and the MCP tools).

DeepSeek Harness: dsh plugin --profile web add dsh-context-guardian, then npm run setup -- --apply in the installed package. Full steps: Install both.

Claude Code:

pip install context-guardian

context-guardian-claude-code install # prints the hooks and the claude mcp add command; changes nothing context-guardian-claude-code install --apply # backs up ~/.claude/settings.json, merges the hooks, prints the diff claude mcp add --scope user --transport stdio context-guardian -- uvx context-guardian mcp

Details: Claude Code.

Proof

python scripts/bench_proxy.py --turns 40 --seed 1
turns=40 tokens_before=1130722 tokens_after=161141 compactions=27

Run 2026-11-05 on v0.15.0, Python 3.11, against a stub upstream.

623 passed, 1 warning in 106.22s (0:01:46)

python -m pytest -q, run 2026-11-05.

The bench runs against a stub upstream, not a real model; the token figures are the same on any machine. Fails open. If a summary fails, comes back empty or anything in the proxy raises, the request goes upstream exactly as your client sent it. Ollama (daily use) and DeepSeek Harness 0.1.2-alpha.2 are tested; the other backends and clients in Compatibility are configured from their documentation and marked untested.

Quick start · Prove it · Client settings · Claude Code · DeepSeek Harness · Recall · MCP server · Configure · Limits · Your data · Troubleshooting · Changelog

What it does. When a conversation is about to outgrow the model's context window, Context Guardian summarises the older turns, keeps the recent ones verbatim and forwards a request that fits. Everything it folds away is archived on disk, sealed in a hash chain you can verify, and indexed so a model can skim it in a few hundred tokens and open only what it needs. It runs on your machine, with no telemetry: nothing leaves it except the requests you were already sending to your own backend, and one cached PyPI version check you can turn off.

Who it is for.

  • Local-model coding CLIs behind any OpenAI-compatible endpoint (Ollama, LM Studio, vLLM, LiteLLM): the proxy sits in between and compacts before the backend rejects the request.
  • DeepSeek Harness users: a native compaction engine, one row in your agent preset, same archive.
  • Claude Code users: Claude Code compacts its own window; its hooks archive every session into the same sealed, searchable archive, without changing how Claude Code connects, and the MCP server lets it search what was archived.

One scripted session, sent straight to a backend with an 8,192-token window and then through the proxy (python examples/demo_overflow.py: a stub backend on 127.0.0.1 that rejects anything over its window; tests/test_demo_overflow.py checks this block is what it prints):

stub backend on 127.0.0.1, 8192-token window, one scripted session sent twice

turn tokens direct to backend through context-guardian 1 1075 ok ok 2 2226 ok ok 3 3376 ok ok 4 4526 ok ok 5 5676 ok ok 6 6827 ok ok 7 7977 ok ok, compactions so far: 1 8 9127 400 overflow ok, compactions so far: 2 9 10278 400 overflow ok, compactions so far: 3 10 11451 400 overflow ok, compactions so far: 4 11 12624 400 overflow ok, compactions so far: 5 12 13798 400 overflow ok, compactions so far: 6 direct: rejected from turn 8 on. proxy: 12/12 turns answered, 6 originals archived.

<!-- demo-overflow:end -->

Fails open. If a summary fails, comes back empty or anything in the proxy raises, the request goes upstream exactly as your client sent it. The same holds for every seal, index, receipt and journal write: one that fails logs a warning, and the request goes ahead unchanged.

Prove it

Three commands turn "lossless on disk" and "it helps" from claims into numbers you can check.

context-guardian-recall --verify --all     # every run: OK, or the first break and what kind

context-guardian-recall --receipts --since 7d context-guardian-recall --savings --since 7d # how much smaller the requests were; add --json for scripts

`--verify` walks each run's chain.jsonl: one line per archived file with the SHA-256 of its bytes on disk, chained to the line before it. It reports OK per run, or the first break: content-changed, file-missing (deleted with no prune record), entry-edited, entry-reordered, chain-forked, unsealed-file or anchor-mismatch. Spans removed by GUARDIAN_KEEP_SPANS are reported as pruned, as expected. It exits 0 only when every checked run is OK. --heads prints each run's chain head, and --seal-existing seals an archive written before 0.12.0, with every line marked "backfilled": true because it was sealed late. The MCP tool get_seal_status runs the same check from inside a client.

The seal is tamper-evident, not tamper-proof. Anyone who can write the archive directory can edit a span and rehash every chain line after it. Set GUARDIAN_SEAL_ANCHOR_PATH to a file somewhere they cannot reach, such as synced storage with history or another disk: every new head is copied there, and --verify then catches a chain that was rewritten afterwards. The format is specified in docs/ARCHIVE_FORMAT.md, so you can check it with a verifier of your own.

`--receipts` adds up the counts every recall and every compaction leave behind: archive size, recall calls (CLI and MCP), spans opened, the share of the archive actually read back, tokens kept out of the window, recall tool calls the model made through the proxy, and seal status. Receipts hold numbers only: no message text, no query text, no paths and no run ids, and nothing is sent anywhere. `--share` prints the same as a five-line block you can paste anywhere:

Context Guardian receipts (last 7d)
  • 40 compactions, ~512,000 tokens kept out of the window
  • 85 spans archived (2.3 MB), sealed, all runs verify
  • 14 recall calls opened 6 spans; 3.2% of the archive was read back
  • local only: no telemetry, nothing left this machine

(Illustrative numbers. Your own come from --receipts --share.)

`--savings` is the other half: how much smaller the forwarded requests were. It reads the compaction log (GUARDIAN_LOG_PATH) and the receipts, and every figure is counted, none estimated: the request sizes before and after each compaction (the proxy's own count for the request, exact on llama.cpp and vLLM and an estimate elsewhere, see What this does *not* do), the oversized pasted messages cut to head + tail, summaries reused without a summariser call, and recall reads. A dry run never counts, because it forwards the request unchanged. --since AGE takes 30m, 24h, 7d or 2w; a bad AGE exits 2. --json prints one object with the keys window, compactions, tokens_before, tokens_after, tokens_kept_out, pct_smaller, oversized_spills, summaries_reused, recall_calls and chars_returned.

Context Guardian savings (last 7d)

compactions 35 requests 145,332 -> 14,819 tokens (89.8% smaller) kept out 130,513 tokens oversized 1 pasted message(s) cut to head + tail summaries 0 reused (no summariser call) recall 3 call(s), 3,170 chars returned

(Output from a scripted 40-turn stub session against a fake backend, not a real log. Your own come from --savings.)

Point your client at the proxy

The proxy compacts OpenAI-style POST /v1/chat/completions requests. Every client below is configured from its own documented settings; none of these four has been tested against the proxy yet, so please open an issue with what you see.

clientwherewhat to set

| Claude Code | environment | Claude Code speaks the Anthropic Messages API (/v1/messages). The proxy compacts it too when GUARDIAN_UPSTREAM_URL serves that API (the summary call goes to the same upstream's /messages with your key and goes into system):

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

PopNxに聞く