Atlas / MCP servers / mansio / mscodebase-intelligence

mscodebase-intelligenceBLOCK

mcp/mansio/mscodebase-intelligence

Intelligent codebase search & indexing for Zed. Async MCP server featuring LanceDB/BM25 hybrid search, multi-bucket RAG, and autonomous self-healing workflows. High-performance, memory-safe, and ready for your production code.

Verdict
BLOCK
Grade
F
Trust score
26 /100
Exposed tools
14 14r · 0w · 0d
Transport
streamable-http
License
MIT
Stars
2
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

🇬🇧 English • 🇷🇺 Русский • 🇨🇳 中文

AI-powered semantic code search for Zed IDE — deep code analysis MCP server

[](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT) [](https://modelcontextprotocol.io/) [](https://zed.dev/) [](https://github.com/ManSio/mscodebase-intelligence/actions/workflows/ci.yml) [](tests/)

Features • Quick Start • Tools • Documentation • Installation • Architecture • Contributing • Security

Last updated: 2026-09-23

🎯 Positioning

MSCodeBase Intelligence is an MCP server for Zed IDE that gives AI assistants deep understanding of the entire codebase: semantic search, call graph, project memory, diagnostics.

This is not an LSP server or a replacement for the editor's built-in autocomplete. It's a "code intelligence" layer on top of the editor:

┌─────────────────────────────────────────────────────┐
│                      Zed IDE                        │
│  ┌───────────────────────────────────────────────┐  │
│  │        LSP (built-in autocomplete,            │  │
│  │        inline hints, diagnostics)             │  │
│  └───────────────────────────────────────────────┘  │
│                        │                            │
│                
Read from source at commit 021505d68592OBSERVED · 2026-10-11
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add mscodebase-sync --env API_KEY=${API_KEY} --env FIRST_KEY=${FIRST_KEY} --env LLAMA_EMBED_MAX_TOKENS=${LLAMA_EMBED_MAX_TOKENS} --env LLAMA_RERANK_MAX_TOKENS=${LLAMA_RERANK_MAX_TOKENS} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mscodebase-sync": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "API_KEY": "${API_KEY}",
        "FIRST_KEY": "${FIRST_KEY}",
        "LLAMA_EMBED_MAX_TOKENS": "${LLAMA_EMBED_MAX_TOKENS}",
        "LLAMA_RERANK_MAX_TOKENS": "${LLAMA_RERANK_MAX_TOKENS}"
      }
    }
  }
}
03

Exposed tools (14)

14 read · 0 write · 0 destructive.

ToolRiskDescription
ack_impactreadПодтверждает осведомлённость о влиянии изменений в файле.
debug_runtime_passportreadДиагностика: возвращает
dual_arm_health_checkreadДвухрукая проверка здоровья (mutation + health).
get_health_reportreadПолная диагностика системы: индекс, bridge, health, providers.
get_logsreadВозвращает последние ошибки и предупреждения из логов проекта.
get_runtime_countersreadВозвращает счётчики runtime: сколько запросов выполнено,
intel_execution_timelinereadЛента последних действий системы (имплиситный success signal).
intel_explain_project_statereadЧеловекочитаемый диагноз состояния проекта.
intel_get_project_contextreadЕдиный снэпшот состояния проекта: state, index, bridge, health,
intel_tool_healthreadПанель здоровья инструментов:成功率, latency, confidence, routes.
notify_changereadОбновляет индекс одного файла через LSP VFS или диск.
pingreadДетерминированный эхо-тул: проверяет эквивалентность stdio/HTTP на манер
read_live_filereadЧитает файл из памяти LSP (включая несохранённые изменения).
refresh_db_connectionreadСбрасывает handle БД и переподключается к LanceDB.
04

Trust audit

BLOCKgrade F · trust 26/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (5 observation(s))
Shell
declared (15 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

CRITICALHard-coded secrets · secret.private_key · CWE-798, CWE-321
experiments/4A_unit_of_return/results/f5judged/judged_raw.json:195
"Модуль ловит только **известные формы** секретов по структурному префиксу (AKIA..., sk-ant-..., ghp_..., xox..., -----BEGIN PRIVATE KEY-----, URL с кредами, Bearer-токен и т.п.), а не по энтропии — ч
CRITICALHard-coded secrets · secret.private_key · CWE-798, CWE-321
experiments/4A_unit_of_return/results/f5judged/judged_raw.json:196
"Модуль ловит секреты по принципу **префикс-анкоренных структурных паттернов** (AKIA..., sk-ant..., ghp_..., `-----BEGIN PRIVATE KEY-----`, URL с кредами, Bearer и т.п.), а не по энтропии — чтобы не р
CRITICALHard-coded secrets · secret.private_key · CWE-798, CWE-321
experiments/4A_unit_of_return/results/f5judged/judged_raw.json:198
"Модуль ловит только **известные формы** секретов по структурному префиксу (AKIA..., sk-ant-..., ghp_..., -----BEGIN PRIVATE KEY-----, URL с кредами, Bearer-токены) — принцип prefix-anchored, а не ent
CRITICALHard-coded secrets · secret.private_key · CWE-798, CWE-321
experiments/4A_unit_of_return/results/f5judged/judged_raw.json:217
"Модуль ловит секреты **только по структурному префиксу** (AKIA..., sk-ant-..., ghp_..., -----BEGIN PRIVATE KEY-----, URL с кредами, `Bearer <токен>`, и присваивания вида `KEY=` лишь если значение дли
CRITICALHard-coded secrets · secret.private_key · CWE-798, CWE-321
experiments/4A_unit_of_return/results/f5judged/judged_raw.json:220
"Модуль **ненадёжен как граница безопасности** — он ловит только ИЗВЕСТНЫЕ ФОРМЫ по структурному префиксу; новый формат, секрет разбитый по строкам или записанный словами — проходит. Принцип: **prefix
HIGHCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
scripts/dataflow_experiment.py:67
"yaml.load(", "pickle.loads(", "pickle.load(",
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
experiments/misc_probes/exp_ln_strip_repro.py:48
exec(compile(module, "<verifier>", "exec"), {})
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
scripts/dataflow_experiment.py:66
"eval(", "exec(", "compile(",
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
src/core/sandbox/executor.py:63
"__import__", "eval(", "exec(", "compile(",
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHPrompt injection · prompt.zero_width · CWE-94, CWE-1427
WISDOM.md:1
# WISDOM.md — дистиллят фактов (≤50 строк)
Why it matters. invisible characters in instruction text
Fix. strip non-printing characters
HIGHPrompt injection · prompt.zero_width · CWE-94, CWE-1427
experiments/4A_unit_of_return/results/recovered_e7/run_deepseek-v4.1-flash_1.txt:1
opencode.cmd :
Why it matters. invisible characters in instruction text
Fix. strip non-printing characters
HIGHPrompt injection · prompt.zero_width · CWE-94, CWE-1427
experiments/4A_unit_of_return/results/recovered_e7/run_deepseek-v4.1-flash_2.txt:1
opencode.cmd :
Why it matters. invisible characters in instruction text
Fix. strip non-printing characters
HIGHPrompt injection · prompt.zero_width · CWE-94, CWE-1427
experiments/4A_unit_of_return/results/recovered_e7/run_deepseek-v4.1-flash_3.txt:1
opencode.cmd :
Why it matters. invisible characters in instruction text
Fix. strip non-printing characters
HIGHPrompt injection · prompt.zero_width · CWE-94, CWE-1427
experiments/4A_unit_of_return/results/recovered_e7/run_longcat_2.txt:1
opencode.cmd :
Why it matters. invisible characters in instruction text
Fix. strip non-printing characters
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
experiments/universal-engine/study-detectors/grammar_probe.py:125
mod = __import__(mod_name)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
src/core/indexing/parser.py:391
mod = __import__(mod_name)
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
src/core/instruction_scan.py:52
r"^exfiltrate",
MEDIUMObfuscation / stealth · obf.anti_debug · CWE-506, CWE-94
src/core/bootstrap_trace_plugin.py:59
sys.settrace(_trace)
MEDIUMObfuscation / stealth · obf.anti_debug · CWE-506, CWE-94
src/core/bootstrap_trace_plugin.py:64
sys.settrace(None)
MEDIUMObfuscation / stealth · obf.homoglyph · CWE-506, CWE-94
experiments/1V_memory_contamination/burst_rename_audit.py:136
print(f"\nЛожные отзывы по rename-якорям: {n_false}/{total_checked} = {rate:.1%}")
MEDIUMObfuscation / stealth · obf.homoglyph · CWE-506, CWE-94
experiments/arclux_cycles_inventory.py:254
print("\nВЕРДИКТ H3: отсутствие load-циклов = импорт не падает (runtime-safe).")
MEDIUMObfuscation / stealth · obf.homoglyph · CWE-506, CWE-94
experiments/bootstrap/a1_sysmon_ab.py:43
print("\nПрогоны (чередование, min по 2):")
MEDIUMObfuscation / stealth · obf.homoglyph · CWE-506, CWE-94
experiments/bootstrap/e17_demo.py:88
print("\nПоказываю что РЕАЛЬНО получает LLM с TESTS-signal и без него.\n")
MEDIUMObfuscation / stealth · obf.homoglyph · CWE-506, CWE-94
experiments/bootstrap/e17_redteam.py:181
print(f"\nИтого: {sum(1 for _, p in results if p)}/{len(results)} атак отражено", flush=True)
MEDIUMPrompt injection · prompt.hidden_style · CWE-94, CWE-1427
docs/blog/bootstrap-pipeline.md:83
<th style="border: 1px solid #ddd; padding: 8px; background-color: #4a90e2; color: white; text-align: left;">Signal</th>

Gates applied: critical_finding, no_behavioural_pass.

Audited 2026-10-11 · audit v0.4.1 · source sha 021505d68592full audit observations/trust-audit/mcp-server/mansio__mscodebase-intelligence.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-11021505d68592BLOCKF26first audit
06

Questions

What is the mscodebase-intelligence MCP server?

Intelligent codebase search & indexing for Zed. Async MCP server featuring LanceDB/BM25 hybrid search, multi-bucket RAG, and autonomous self-healing workflows. High-performance, memory-safe, and ready for your production code.

What tools does mscodebase-intelligence expose?

14 in total: 14 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is mscodebase-intelligence safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (26/100) and found 14 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does mscodebase-intelligence need?

It reads API_KEY, FIRST_KEY, LLAMA_EMBED_MAX_TOKENS, LLAMA_RERANK_MAX_TOKENS, MSCODEBASE_ACK_SECRET, MSCODEBASE_REMOTE_TOKEN, OPENROUTER_API_KEY, SECOND_KEY, TOKEN, TOKENIZERS_PARALLELISM and UNIQUE_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does mscodebase-intelligence run?

It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as mscodebase-sync at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (021505d68592), read on 2026-10-11. The repository is watched and re-audited when it changes.

Advertisement