Addons

lean-ctxを拡張する、 フォークは不要

単一のコマンドで任意のMCPツールをゲートウェイに接続し、その出力は独自のコードのように処理されます。シークレットが除去され、トークン予算に合わせて圧縮され、エージェントが読み込む前に検索可能になります。プラグインリストではありません。拡張されたコンテキストパイプラインです。

your terminal
$ lean-ctx addon add repomix
runs: npx repomix --mcp · trust: community
checks: ✓ pinned · no shell · no remote endpoint
Add this tool to your gateway? [y/N] y
done. its output now shows up in ctx_expand and ctx_search.
01 得られるもの

アドオンの出力は〜になります コンテキストの一部として

アドオンを追加した後に何が起こるかを見てみましょう。アドオンが返すすべての結果は、エージェントがそれを見る前に、あなた自身のコードと同じパイプラインを通過します。より小さく、検索可能になり、一部のアドオンではすでに使用しているctx_ツールに直接格納されます。

任意のMCPツール

あなたのaddonは小さなMCPサーバーです。lean-ctxがそれを起動し、あなたに代わって通信します。フォークも再コンパイルも不要です。

stdiohttpMCP

lean-ctxゲートウェイ

すべての結果はまず4つのステップを通過します:

  • 出力を圧縮し、トークンコストを削減します。
  • 大きな結果はディスクに保存され、小さな参照が保持されます。
  • バックグラウンドでインデックス化されるため、後から検索できます。
  • すでに使用しているctx_ツールに直接組み込まれます。

すでに使用しているツール

結果は、エージェントがすでに呼び出している同じctx_ツールに格納されます。10箇所を見る代わりに、一つの場所で済みます。

ctx_expandctx_callgraphctx_knowledgectx_search

独自のコードとすべてのaddonを一つの場所で検索します。

シークレットはエージェントに届く前に除去されます。

結果がキャッシュされるため、再読み込みは実質的に無料です。

02 Registry

厳選されたアドオン lean-ctx向け

これらはいずれも、単一のlean-ctx addon addでインストールできます。「listed」とマークされたものはまだMCPエンドポイントがないため、代わりにプロジェクトへのリンクになります。

19 addons · 10 ready to install · 4 installed for you on add

Headroom

Reversible context compression for tool outputs, logs, files and RAG chunks — 60–95% fewer tokens, originals retrievable on demand. Installs on add (uv tool install) and wires its MCP server (headroom mcp serve) into the lean-ctx gateway.

compression
lean-ctx addon add headroom uv
chopratejasによる Homepage ↗

Sophon

Deterministic context compressor for MCP agents — shrinks prompts, conversation history, code digests, file deltas and shell output with zero ML at query time. Single Rust binary; installs on add (npm) and wires its MCP server (sophon serve) into the lean-ctx gateway.

compression
lean-ctx addon add sophon npm
lacausecryptoによる Homepage ↗

RTK (Rust Token Killer)

登録済み

Single-binary CLI proxy that filters and compresses shell command output by 60–90%. Reaches MCP clients through the community rtk-mcp bridge (built from source), so the lean-ctx gateway can run commands through it.

compression
MCPエンドポイントが公開されるまでプロジェクトをフォローしてください。
rtk-aiによる Homepage ↗

Repomix

Packs a whole repository into a single AI-ready file. Its MCP server (npx repomix --mcp) lets agents pack local or remote repos and grep the output on demand.

code-intelligence
lean-ctx addon add repomix npx
yamadashyによる Homepage ↗

Serena

LSP-backed semantic code retrieval, editing and refactoring — the IDE for your coding agent. Connects over MCP via stdio or Streamable HTTP.

code-intelligence
lean-ctx addon add serena uvx
oraiosによる Homepage ↗

MCP Code Context

Compresses any codebase into LLM-ready semantic context with Tree-sitter WASM (TypeScript, JavaScript, Python, PHP, Dart) — symbol-level reads and AST-aware edits. Runs on add via npx; no install or native build needed.

code-intelligence
lean-ctx addon add mcp-code-context npx
achataingaによる Homepage ↗

Codebase Intelligence

Parses your whole repo with Tree-sitter into a semantic graph of symbols, references and dependencies — symbol search, call graphs and impact analysis. 18 tools, 8 languages, zero infrastructure or keys. Runs on add via npx.

code-intelligence
lean-ctx addon add codebase-intelligence npx
g-tiwariによる Homepage ↗

CodeCompress

Local code-intelligence index that gives agents surgical access to symbols — project outline, get/expand symbol, hot-path and references — backed by a SQLite index. Installs on add (.NET global tool) and wires its MCP server.

code-intelligence
lean-ctx addon add codecompress dotnet
MCrankによる Homepage ↗

Graphify

登録済み

Turns code, docs, schemas and more into one queryable knowledge graph for agents. Ships an MCP server (stdio + HTTP), but serving needs a graph built by `graphify extract` (an LLM-backed step), so it is listed rather than auto-installed.

code-intelligencememory
MCPエンドポイントが公開されるまでプロジェクトをフォローしてください。
safishamsiによる Homepage ↗

Claude Context

登録済み

Semantic code search over an entire codebase (hybrid BM25 + dense vectors) via @zilliz/claude-context-mcp. Needs a Milvus/Zilliz vector database and an embedding API key to run, so it is listed rather than auto-installed.

code-intelligence
MCPエンドポイントが公開されるまでプロジェクトをフォローしてください。
zilliztechによる Homepage ↗

Context-Mem

Local long-term memory and context compression for coding agents — a markdown vault with hybrid BM25 + vector search and progressive disclosure, no API key required. Installs on add (npm) and wires its MCP server (context-mem serve).

memory
lean-ctx addon add context-mem npm
JubaKitiashviliによる Homepage ↗

Mem0

登録済み

Drop-in long-term memory for agents (vector + graph + key-value). Provides an official MCP server, but needs an API key/backend to run, so it is listed rather than auto-installed.

memory
MCPエンドポイントが公開されるまでプロジェクトをフォローしてください。
mem0aiによる Homepage ↗

Cognee

登録済み

Builds a queryable knowledge graph plus vector store from your data (ECL / GraphRAG pipeline). Ships an MCP server with local default databases, but needs an LLM API key to process, so it is listed rather than auto-installed.

memory
MCPエンドポイントが公開されるまでプロジェクトをフォローしてください。
topoteretesによる Homepage ↗

Letta (MemGPT)

登録済み

Stateful agent runtime that manages its own memory like an operating system (core + archival tiers). Exposes MCP-compatible tools, but needs a running server + database, so it is listed rather than auto-installed.

memory
MCPエンドポイントが公開されるまでプロジェクトをフォローしてください。
letta-aiによる Homepage ↗

Graphiti (Zep)

登録済み

Temporal knowledge-graph memory for agents — a bi-temporal entity/edge graph with hybrid semantic, keyword and graph search. Ships an MCP server, but needs a Neo4j/FalkorDB backend and an LLM API key, so it is listed rather than auto-installed.

memory
MCPエンドポイントが公開されるまでプロジェクトをフォローしてください。
getzepによる Homepage ↗

Zep

登録済み

Memory platform for AI agents — persistent threads, a knowledge graph and semantic recall via a managed cloud or self-hosted Community Edition. Reaches agents over MCP, but needs an account/API key, so it is listed rather than auto-installed.

memory
MCPエンドポイントが公開されるまでプロジェクトをフォローしてください。
getzepによる Homepage ↗

Sequential Thinking

Structured step-by-step reasoning tool — the official MCP reference server for breaking a hard problem into revisable thoughts.

reasoningworkflow
lean-ctx addon add sequential-thinking npx
modelcontextprotocolによる Homepage ↗

Lean-MarkDown (lean-md)

登録済み

Directive-driven Markdown for agent plans. Reusable macros, phase-isolation and single-sourcing keep plans token-lean and cache-safe — written hard against lean-ctx, inspired by MarkdownAI.

plansworkflow
MCPエンドポイントが公開されるまでプロジェクトをフォローしてください。
dasTholoによる Homepage ↗

Everything (MCP smoke-test)

Official MCP reference server that exercises every protocol feature — install it to verify your lean-ctx gateway can discover and call downstream tools.

testing
lean-ctx addon add everything npx
modelcontextprotocolによる Homepage ↗
ここにあなたのaddonを MCPサーバーとマニフェストを公開し、レジストリの枠を確保しましょう。 構築を開始
03 作成する理由

すべてに出荷 lean-ctxユーザー

これは、終日ターミナルで作業している人々の目の前にツールを届ける最も簡単な方法です。

インストールにワンコマンド

ユーザーはlean-ctx addon addを一度実行するだけで、ツールが彼らのゲートウェイで利用可能になります。フォークも再コンパイルもセットアップガイドも不要です。

エコシステム全体にリーチする

バイナリ内およびこのページで提供されるレジストリに掲載されます。すべてのlean-ctxユーザーが、あなたの作品からワンコマンドの距離にいます。

パススルー以上の深さ

lean-ctxは、出力内容を独自のコードに使用する同じctx_ツールに統合できます。ユーザーはその後、アドオンを他のすべてと同じように検索およびグラフ化できます。サイドチャネルとして存在する必要はありません。

04 信頼と安全性

強力なアドオンを、 設計上安全

アドオンはローカルマシンで実際のコードを実行します。そのため、lean-ctxはインストールする前に何を行うかを正確に表示し、チームは単一のリポジトリでは上書きできないルールを設定できます。

実行前に開示される

何かを実行する前に、起動する正確なサーバーと短い安全チェック(リモートエンドポイント、シェルアクセス、固定されていないバージョン)が表示されます。「はい」と言うまで何も接続されません。

制御できるポリシー

マシン全体またはフリート全体を検証済みのみにロックするか、許可リストを設定するか、完全にオフにします。サンドボックスサーバー、リスクのある配線をブロックし、署名付きレジストリを要求します。すべては単一の[addons]設定で行えます。

未検証の出力も処理される

アドオンが返すものはすべてシークレットスキャンされ、モデルから見られる前に信頼できないものとしてマークされます。これにより、データ漏洩やプロンプトインジェクションに対する強力な防御壁となります。

検証バッジを獲得する

すべてのレジストリエントリはマージ時にレビューされます。アップストリームをピン留めし、配線をクリーンに保つことで、2人のメンテナーによる監査を経て、ユーザーがすぐに信頼できる検証済みティアに昇格します。

Lock it down with addons.policyaddons.sandbox、およびaddons.require_signatureでロックダウンできます—詳細はセキュリティモデルを参照してください。

05 ビルダー向け

独自のaddonをリリースする 4つのステップで

誰でも公開できます。アドオンは、MCPサーバーと小さなマニフェストファイルだけです。

1

ツールをMCPサーバーとして公開する

stdin/stdout経由でMCPを送信するか、HTTPエンドポイントを持つ小さなプログラムをデプロイします。これがlean-ctxが実行または接続するものです。独自のプロセスとして維持されるため、フォークや再コンパイルは不要です。

2

lean-ctx-addon.tomlマニフェストを追加する

[addon]にメタデータを宣言し、[mcp]でlean-ctxがあなたのサーバーを起動する方法を指定します。[mcp]ブロックがない場合、エントリはリストされます。ある場合、インストール可能になります。

3

ローカルでライブテストを行う

lean-ctx addon add ./lean-ctx-addon.tomlを実行します。これこそが、レジストリに触れることなく、独自のゲートウェイに組み込まれた完全なインストールフローです。

4

掲載される

エントリをキュレーションされたレジストリに追加するマージリクエストを開きます。マージされると、誰もがワンコマンドでそれをインストールでき、ここに表示されます。

lean-ctx-addon.toml
[addon]
name = "my-addon"            # slug: [a-z0-9-]
display_name = "My Addon"
description = "What it does, in one line."
author = "you"
homepage = "https://github.com/you/my-addon"
license = "Apache-2.0"
categories = ["workflow"]

[mcp]
transport = "stdio"          # or "http"
command = "my-addon-mcp"     # stdio: executable to spawn
args = ["serve"]

Full walkthrough in the アドオンのドキュメント ビルド&パブリッシュガイドで完全な手順を確認できます。動作したら、厳選されたレジストリにエントリを追加しましょう。

Addons

lean-ctx向けに何か作りましたか? リリースしましょう。

レジストリの枠を確保し、すべてのlean-ctxユーザーにワンコマンドインストールを提供しましょう。