Addons

توسيع نطاق lean-ctx، لا تحتاج إلى تفريع (fork)

بأمر واحد، يمكنك توصيل أي أداة MCP ببوابة lean-ctx الخاصة بك — ثم يتم التعامل مع مخرجاتها كأنها شيفرتك الخاصة: تنظيف الأسرار، وضغطها ضمن ميزانية الرموز المميزة (token budget)، وإمكانية البحث فيها قبل أن يقرأها وكيلك. ليست قائمة إضافات؛ بل خط أنابيب السياق الخاص بك، والموسع.

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

إضافتك هي خادم MCP صغير. يبدأ lean-ctx تشغيله ويتحدث إليه نيابة عنك. لا يتطلب تفريعا، ولا إعادة تجميع.

stdiohttpMCP

بوابة lean-ctx

تمر كل نتيجة بأربع خطوات أولاً:

  • يضغط المخرجات لتكلفة رموز أقل.
  • يرسل النتائج الكبيرة إلى القرص ويحتفظ بمرجع صغير.
  • يفهرسها في الخلفية حتى تتمكن من البحث عنها لاحقًا.
  • يوصلها مباشرة بأدوات ctx_ التي تستخدمها بالفعل.

الأدوات التي تستخدمها بالفعل

تصل النتائج في نفس أدوات ctx_ التي يستدعيها وكيلك بالفعل. مكان واحد للنظر بدلاً من عشرة.

ctx_expandctx_callgraphctx_knowledgectx_search

ابحث في الكود الخاص بك وفي كل إضافة من مكان واحد.

يتم إزالة الأسرار قبل وصول أي شيء إلى وكيلك.

يتم تخزين النتائج مؤقتًا، لذا فإن قراءتها مرة أخرى مجانية تقريبًا.

02 Registry

إضافات مُنسقة لـ lean-ctx

قم بتثبيت أي من هذه باستخدام أمر إضافة واحد لـ lean-ctx. تلك التي تحمل علامة “مدرجة” ليس لديها نقطة نهاية 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 ↗
إضافتك هنا أطلق خادم MCP + بيان (manifest) واحجز مكانًا في السجل. ابدأ البناء
03 لماذا بناء واحدة

التوزيع للجميع مستخدم lean-ctx

إنها أسهل طريقة لوضع أداتك أمام الأشخاص الذين يعملون بالفعل في الطرفية طوال اليوم.

أمر واحد للتثبيت

يقوم المستخدمون بتشغيل أمر واحد lean-ctx addon add ويصبح أداتك جاهزة في بوابتهم. لا تفرع، ولا إعادة تجميع، ولا دليل إعداد.

الوصول إلى النظام البيئي بالكامل

احصل على الإدراج في السجل الذي يتم تضمينه داخل الثنائي وعلى هذه الصفحة. كل مستخدم لـ lean-ctx يبعد عنه عملك بأمر واحد.

أعمق من مجرد تمرير

يمكن لـ lean-ctx دمج مخرجاتك في نفس أدوات ctx_ التي يستخدمها لكودك الخاص. ثم يقوم المستخدمون بالبحث وتصوير الإضافة الخاصة بك مثل أي شيء آخر، بدلاً من بقائها في قناة جانبية.

04 الثقة والسلامة

إضافات قوية، آمن بالتصميم

تُشغّل الإضافة كودًا حقيقيًا على جهازك. لذلك، يعرض لك lean-ctx بالضبط ما ستقوم به قبل التثبيت، ويمكن للفرق تعيين قواعد لا يمكن لمستودع واحد تجاوزها.

يتم الكشف عنه قبل التشغيل

قبل أن يعمل أي شيء، ترى الخادم الدقيق الذي سيبدأه وفحص أمان قصير: نقاط النهاية البعيدة، الوصول إلى الصدفة، الإصدارات غير المثبتة. لا يتم توصيل أي شيء حتى تقول نعم.

سياسة تتحكم بها

قم بقفل جهازك أو أسطولك بالكامل على

المخرجات غير الموثوق بها، تتم معالجتها

أي شيء يعيده الإضافة يتم فحصه بحثًا عن الأسرار وتصنيفه على أنه غير موثوق قبل أن يراه النموذج. هذا جدار صلب ضد تسرب البيانات وحقن المطالبات.

الحصول على شارة التحقق

يتم مراجعة كل إدخال في السجل عند الدمج. قم بتثبيت المصدر الخاص بك، والحفاظ على التوصيلات نظيفة، وتصعّدك عملية تدقيق من اثنين من المشرفين إلى مستوى

قم بتأمينها باستخدام addons.policy وaddons.sandbox وaddons.require_signature — اطلع على نموذج الأمان في نموذج الأمان.

05 للمطورين

إطلاق الإضافة الخاصة بك في أربع خطوات

يمكن لأي شخص النشر. الإضافة هي مجرد خادم MCP وملف بيان صغير.

1

اعرض أداتك كخادم MCP

أرسل برنامجًا صغيرًا يتحدث ببروتوكول MCP عبر stdin/stdout، أو نقطة نهاية HTTP. هذا ما يشغّله lean-ctx أو يتصل به. يبقى في عمليته الخاصة، لذلك لا يوجد تفرع ولا إعادة تجميع.

2

إضافة بيان (manifest) باسم lean-ctx-addon.toml

أعلن عن البيانات الوصفية في [addon] وكيف يقوم lean-ctx بتشغيل خادمك في [mcp]. بدون كتلة [mcp]، يتم إدراج مدخلتك؛ وبوجودها يصبح قابلاً للتثبيت.

3

اختباره مباشرةً، محليًا

قم بتشغيل lean-ctx addon add ./lean-ctx-addon.toml. هذا هو تدفق التثبيت الكامل، الموصول ببوابة البوابة الخاصة بك، دون لمس السجل.

4

الحصول على الإدراج

افتح طلب دمج (merge request) لإضافة مدخلتك إلى السجل المنسق. بمجرد الدمج، يقوم الجميع بتثبيته بأمر واحد ويظهر هنا على الفور.

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"]

دليل شامل في توثيق الإضافات و دليل البناء والنشر. عندما يعمل، أضف إدخالك إلى السجل المنسق.

Addons

هل قمت ببناء شيء لـ lean-ctx؟ دعنا نطلقه.

احجز مكانًا في السجل وأطلق تثبيتات بأمر واحد لكل مستخدم lean-ctx.