任意のMCPツール
あなたのaddonは小さなMCPサーバーです。lean-ctxがそれを起動し、あなたに代わって通信します。フォークも再コンパイルも不要です。
stdiohttpMCP単一のコマンドで任意のMCPツールをゲートウェイに接続し、その出力は独自のコードのように処理されます。シークレットが除去され、トークン予算に合わせて圧縮され、エージェントが読み込む前に検索可能になります。プラグインリストではありません。拡張されたコンテキストパイプラインです。
アドオンを追加した後に何が起こるかを見てみましょう。アドオンが返すすべての結果は、エージェントがそれを見る前に、あなた自身のコードと同じパイプラインを通過します。より小さく、検索可能になり、一部のアドオンではすでに使用しているctx_ツールに直接格納されます。
あなたのaddonは小さなMCPサーバーです。lean-ctxがそれを起動し、あなたに代わって通信します。フォークも再コンパイルも不要です。
stdiohttpMCPすべての結果はまず4つのステップを通過します:
結果は、エージェントがすでに呼び出している同じctx_ツールに格納されます。10箇所を見る代わりに、一つの場所で済みます。
ctx_expandctx_callgraphctx_knowledgectx_search独自のコードとすべてのaddonを一つの場所で検索します。
シークレットはエージェントに届く前に除去されます。
結果がキャッシュされるため、再読み込みは実質的に無料です。
これらはいずれも、単一のlean-ctx addon addでインストールできます。「listed」とマークされたものはまだMCPエンドポイントがないため、代わりにプロジェクトへのリンクになります。
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.
lean-ctx addon add headroom uv 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.
lean-ctx addon add sophon npm 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.
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.
lean-ctx addon add repomix npx LSP-backed semantic code retrieval, editing and refactoring — the IDE for your coding agent. Connects over MCP via stdio or Streamable HTTP.
lean-ctx addon add serena uvx 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.
lean-ctx addon add mcp-code-context npx 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.
lean-ctx addon add codebase-intelligence npx 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.
lean-ctx addon add codecompress dotnet 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.
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.
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).
lean-ctx addon add context-mem npm 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.
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.
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.
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 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.
Structured step-by-step reasoning tool — the official MCP reference server for breaking a hard problem into revisable thoughts.
lean-ctx addon add sequential-thinking npx 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.
Official MCP reference server that exercises every protocol feature — install it to verify your lean-ctx gateway can discover and call downstream tools.
lean-ctx addon add everything npx No addons match your filters.
ここにあなたのaddonを MCPサーバーとマニフェストを公開し、レジストリの枠を確保しましょう。 構築を開始これは、終日ターミナルで作業している人々の目の前にツールを届ける最も簡単な方法です。
ユーザーはlean-ctx addon addを一度実行するだけで、ツールが彼らのゲートウェイで利用可能になります。フォークも再コンパイルもセットアップガイドも不要です。
バイナリ内およびこのページで提供されるレジストリに掲載されます。すべてのlean-ctxユーザーが、あなたの作品からワンコマンドの距離にいます。
lean-ctxは、出力内容を独自のコードに使用する同じctx_ツールに統合できます。ユーザーはその後、アドオンを他のすべてと同じように検索およびグラフ化できます。サイドチャネルとして存在する必要はありません。
アドオンはローカルマシンで実際のコードを実行します。そのため、lean-ctxはインストールする前に何を行うかを正確に表示し、チームは単一のリポジトリでは上書きできないルールを設定できます。
何かを実行する前に、起動する正確なサーバーと短い安全チェック(リモートエンドポイント、シェルアクセス、固定されていないバージョン)が表示されます。「はい」と言うまで何も接続されません。
マシン全体またはフリート全体を検証済みのみにロックするか、許可リストを設定するか、完全にオフにします。サンドボックスサーバー、リスクのある配線をブロックし、署名付きレジストリを要求します。すべては単一の[addons]設定で行えます。
アドオンが返すものはすべてシークレットスキャンされ、モデルから見られる前に信頼できないものとしてマークされます。これにより、データ漏洩やプロンプトインジェクションに対する強力な防御壁となります。
すべてのレジストリエントリはマージ時にレビューされます。アップストリームをピン留めし、配線をクリーンに保つことで、2人のメンテナーによる監査を経て、ユーザーがすぐに信頼できる検証済みティアに昇格します。
Lock it down with addons.policy、addons.sandbox、およびaddons.require_signatureでロックダウンできます—詳細はセキュリティモデルを参照してください。
誰でも公開できます。アドオンは、MCPサーバーと小さなマニフェストファイルだけです。
stdin/stdout経由でMCPを送信するか、HTTPエンドポイントを持つ小さなプログラムをデプロイします。これがlean-ctxが実行または接続するものです。独自のプロセスとして維持されるため、フォークや再コンパイルは不要です。
[addon]にメタデータを宣言し、[mcp]でlean-ctxがあなたのサーバーを起動する方法を指定します。[mcp]ブロックがない場合、エントリはリストされます。ある場合、インストール可能になります。
lean-ctx addon add ./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 アドオンのドキュメントと ビルド&パブリッシュガイドで完全な手順を確認できます。動作したら、厳選されたレジストリにエントリを追加しましょう。
レジストリの枠を確保し、すべてのlean-ctxユーザーにワンコマンドインストールを提供しましょう。