Synaptic Code Intelligence

io.github.ColinVaughn由 GitHub 账号 ColinVaughn 发布v1.2.0更新于 Oct 25, 2026

Code intelligence for repository graphs, change impact, test selection, and engineering memory.

已验证Streamable HTTP可网页运行知识与记忆开发者工具

概览

AI 生成的概览

Synaptic Code Intelligence 为编程助手提供持久、有源码依据的仓库图谱,用于回答符号、依赖、变更影响和工程历史相关问题。

可以做什么
查询仓库图谱,理解系统如何运作,涵盖符号、调用、导入、继承、资源、SQL 和跨语言边界。追踪影响:调用方、引用、反向依赖、动态分派风险和受影响的测试。预测变更风险、规划重构、对比架构差异,并可选地在隔离工作区中验证变更。检索与源码关联的仓库历史,包括提交、决策、事故、评审和 CI。跟踪 API 契约和漏洞证据,并提供小范围修复流程。
适用场景
当编程助手需要在不把整个源码文件载入上下文的情况下理解大型或不熟悉的代码库时使用;也适合需要影响分析、测试选择和跨会话仓库记忆的场景。
运行要求
位于 synapticgraph.com 的远程 MCP 端点,使用 streamable HTTP;需要在 Authorization 请求头中携带来自 Synaptic MCP 控制面板的 bearer 令牌,并包含 Bearer 前缀。README 还描述了本地单文件命令行工具,无需运行时、数据库、账户或 API 密钥。
安装前请注意
托管端点要求在 Authorization 请求头中提供 bearer 令牌,应将其视为机密。README 称本地提取会遵循忽略文件、跳过常见机密文件,并且除非启用联网功能否则保持离线,因此使用托管服务时应确认发送了哪些数据。部分工作流会在临时工作区中验证变更。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Synaptic Code Intelligence,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Synaptic

[Join our Discord] [License: AGPL-3.0-or-later] [Latest release]

Give your coding assistant a map of the codebase, not a pile of files.

Synaptic maps a repository once so you and your coding assistant do not have to rediscover it every session. Ask how a system works, what depends on a symbol, or what a change may break. The answers come from a persistent, source-grounded knowledge graph, available from the CLI or through MCP. Synaptic can also remember past changes and plan small, reviewable API and dependency repairs.

Code extraction is local and deterministic. Synaptic ships as a single Rust binary with no runtime, database, account, or API key required.

Documentation | Quickstart | Benchmarks | Discord

Get started

Install the latest checksummed release:

sh
# macOS / Linuxcurl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/ColinVaughn/Synaptic/main/install.sh | sh
# Windows PowerShellirm https://raw.githubusercontent.com/ColinVaughn/Synaptic/main/install.ps1 | iex

Then run Synaptic from a repository:

sh
synaptic extract .                         # build synaptic-out/graph.jsonsynaptic query "how does authentication work?"synaptic affected parse_config             # what could this change break?

Extraction honors .gitignore and .synapticignore, skips common secret files, and stays offline unless you explicitly enable a network-backed feature.

Connect your coding assistant

sh
synaptic install claude                    # Claude Codesynaptic install codex                     # Codex CLIsynaptic install codex --global            # Codex desktop app

Claude and Codex load only a small set of tools at startup, then find the rest on demand. This keeps prompts smaller without hiding capabilities. Gemini, Cursor, Copilot, OpenCode, Kilo, and generic AGENTS.md clients are supported too. See Assistant Integration.

What it does

NeedWhat Synaptic provides
Understand the codeSymbols, calls, imports, inheritance, resources, SQL, and cross-language boundaries in one graph
Find impactCallers, references, reverse dependencies, dynamic-dispatch hazards, and affected tests
Change code safelyChange forecasts, refactor plans, architecture diffs, and optional verification in an isolated worktree
Remember the pastSource-linked history from commits, decisions, incidents, reviews, CI, and previous attempts
Maintain dependenciesAPI contract tracking and vulnerability evidence with small, reviewable repair workflows

Synaptic supports dozens of languages, incremental updates, multi-repository federation, structural search, SQL auditing, graph-aware PR review, and exports for GraphML, Cypher, Graphviz, Obsidian, and Markdown. Detailed capabilities live in the documentation, keeping this page focused on getting started.

See the architecture

sh
synaptic chart

This creates a self-contained architecture map from the graph. Open a subsystem, select a symbol, and follow its real incoming and outgoing relationships without a server.

[Synaptic architecture chart switching themes and opening a subsystem]

Built to save context

Synaptic returns the relevant slice of a graph instead of loading whole source files into an assistant's context. In the checked-in token benchmark, full graph answers used 27-38x fewer tokens than reading the source files referenced by those answers. That is a context-compression measurement, not a promise about total task cost. The methodology and raw results are in BENCHMARKS.md.

Common commands

CommandPurpose
synaptic extract .Build the graph
synaptic update / synaptic watchKeep it current
synaptic query "..."Find the relevant subgraph for a question
synaptic affected <symbol>Trace reverse impact
synaptic predict <files>Forecast risk and select tests
synaptic speculate <files>Verify a change in a throwaway worktree
synaptic memory search "..."Find relevant repository history
synaptic serveRun the MCP server

Run synaptic <command> --help for flags or use the complete command reference.

Pick a workflow

  • CLI: the fastest path for local extraction, queries, automation, and MCP.
  • Desktop: run synaptic-ui for visual repository setup, federation, assistant connection, updates, and the complete command catalog.
  • Hosted: Synaptic Cloud provides a managed MCP service. See the GitHub automation guide for commit-triggered graph sync and verified repair workflows.

Update a release installation with synaptic self-update.

Documentation

Build from source

The repository pins Rust 1.97.1.

sh
cargo install --path bin/synapticcargo install --path bin/synaptic-ui       # optional desktop app

For development and architecture notes, see the development guide.

Community and license

Questions, ideas, or something you built? Join the Discord community.

Synaptic is licensed under AGPL-3.0-or-later; see LICENSE and NOTICE. If you modify Synaptic and make it available over a network, you must offer those users the corresponding source. The separately maintained Synaptic Cloud service is proprietary and is not covered by this repository's license.

来源:README.md,提交 c852b25

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.2.0最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分