remote-access-mcp 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.fa.md CHANGED
@@ -77,7 +77,7 @@ MIT — [LICENSE](LICENSE)
77
77
  در نسخه ۲.۳، یک لایهٔ یکپارچه‌سازی برای ابزارهای توسعه‌دهنده اضافه شده است:
78
78
 
79
79
  - **Context7** — به‌صورت ابزارهای نام‌گذاری‌شده مانند `context7_resolve-library-id` و `context7_get-library-docs` داخل دروازه در دسترس قرار می‌گیرد.
80
- - **Codebase Memory** — ابزارهای `codebase_memory_*` را ارائه می‌کند. با `RAMCP_CODEBASE_ROOT` ریشهٔ مخزن کدی را که این نمونه باید در اختیار Codebase Memory قرار دهد مشخص کنید؛ `index_repository` نیز در خود Remote Access MCP به همین ریشه محدود شده است.
80
+ - **Codebase Memory** — در صورت تنظیم `RAMCP_ENABLE_CODEBASE_MEMORY=1` ابزارهای `codebase_memory_*` را ارائه می‌کند. این یکپارچه‌سازی عمداً اختیاری است، چون Codebase Memory از daemon و cache بومیِ سطح حساب استفاده می‌کند و نباید بدون هماهنگی با نشست‌های دیگر آن multiplex شود. با `RAMCP_CODEBASE_ROOT` ریشهٔ مخزن کدی را که این نمونه باید در اختیار Codebase Memory قرار دهد مشخص کنید؛ `index_repository` نیز در خود Remote Access MCP به همین ریشه محدود شده است.
81
81
  - **Context Mode** — فقط به‌عنوان وابستگی اختیاری محلی نصب می‌شود و به‌عنوان سرویس میزبانی‌شده از طریق Remote Access MCP ارائه نمی‌شود، چون مجوز Elastic License 2.0 آن ارائهٔ نرم‌افزار به‌عنوان سرویس میزبانی‌شده یا مدیریت‌شده را محدود می‌کند.
82
82
 
83
83
  اگر یک یکپارچه‌سازی اختیاری در زمان راه‌اندازی قابل اجرا نباشد، هستهٔ Remote Access MCP همچنان در دسترس می‌ماند و آن یکپارچه‌سازی با پیام تشخیصی کنار گذاشته می‌شود.
package/README.md CHANGED
@@ -179,7 +179,7 @@ MIT — see [LICENSE](LICENSE).
179
179
  Remote Access MCP 2.3 adds a small integration layer for developer-context MCPs:
180
180
 
181
181
  - **Context7** — proxied into the gateway as namespaced tools such as `context7_resolve-library-id` and `context7_query-docs`. The MIT-licensed `@upstash/context7-mcp` package is bundled as a normal dependency. A `CONTEXT7_API_KEY` environment variable can be supplied for higher limits/private repositories.
182
- - **Codebase Memory** — the MIT-licensed `codebase-memory-mcp` package is integrated as namespaced `codebase_memory_*` tools. Set `RAMCP_CODEBASE_ROOT` to the repository that this gateway instance should expose to Codebase Memory. `index_repository` is additionally restricted by Remote Access MCP to that root.
182
+ - **Codebase Memory** — the MIT-licensed `codebase-memory-mcp` package is integrated as namespaced `codebase_memory_*` tools when `RAMCP_ENABLE_CODEBASE_MEMORY=1` is set. It is opt-in because Codebase Memory uses a per-account native daemon/cache and should not be multiplexed blindly with unrelated Codebase Memory sessions. Set `RAMCP_CODEBASE_ROOT` to the repository that this gateway instance should expose; `index_repository` is additionally restricted by Remote Access MCP to that root.
183
183
  - **Context Mode** — shipped as an optional local dependency only. It is a client/plugin-side context optimization layer and is **not proxied as a hosted service** because its Elastic License 2.0 prohibits providing the software as a hosted or managed service.
184
184
 
185
185
  Integrations are loaded before the MCP transport connects, so the initial `tools/list` includes them when the upstream MCP is available. If an optional integration cannot start, the core Remote Access MCP remains available and the integration is omitted with a diagnostic message.
@@ -1 +1 @@
1
- {"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../src/tools/integrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAOtD;;;;;;;GAOG;AACH,wBAAsB,wBAAwB,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CA+ClG"}
1
+ {"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../src/tools/integrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAOtD;;;;;;;GAOG;AACH,wBAAsB,wBAAwB,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAiDlG"}
@@ -13,7 +13,9 @@ function safeName(name) {
13
13
  export async function registerIntegrationTools(server, _ctx) {
14
14
  const targets = [
15
15
  { name: 'context7', prefix: 'context7' },
16
- { name: 'codebase-memory', prefix: 'codebase_memory' },
16
+ ...(process.env.RAMCP_ENABLE_CODEBASE_MEMORY === '1'
17
+ ? [{ name: 'codebase-memory', prefix: 'codebase_memory' }]
18
+ : []),
17
19
  ];
18
20
  for (const target of targets) {
19
21
  try {
@@ -1 +1 @@
1
- {"version":3,"file":"integrations.js","sourceRoot":"","sources":["../../src/tools/integrations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE1E,SAAS,QAAQ,CAAC,IAAY;IAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAC;AAChD,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAAC,MAAiB,EAAE,IAAiB;IAC/E,MAAM,OAAO,GAAG;QACZ,EAAE,IAAI,EAAE,UAAmB,EAAE,MAAM,EAAE,UAAU,EAAE;QACjD,EAAE,IAAI,EAAE,iBAA0B,EAAE,MAAM,EAAE,iBAAiB,EAAE;KAClE,CAAC;IAEF,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC3B,IAAI,CAAC;YACD,MAAM,KAAK,GAAG,MAAM,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YACnD,KAAK,MA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
3
+ "version": "2.3.1",
4
4
  "description": "Turn any Linux server into an AI-agent-accessible machine via MCP. ChatGPT, Claude, and Grok connect over HTTPS and control files, shell, git, and more — securely and with zero Python dependencies.",
5
5
  "type": "module",
6
6
  "bin": {