A
astrona-io/codesynapse
Code intelligence for AI coding assistants: precise MCP context, security reviews, dependency analysis, and…
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
取自该仓库的安装命令
go install github.com/astrona-io/codesynapse/cmd/codesynapse@latest
解析自我们于 2026-10-26 抓取的该仓库 README;我们未执行过。
这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 0 ★ · astrona-io/codesynapse · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
- 收录与活跃
- 收录于 2026-10-25 · 最近见到 2026-11-14 · 共见到 24 次 · 被 4 个来源列出
- 评分构成
- 综合分 403 · 4 个来源 · repo
- 安装
go install github.com/astrona-io/codesynapse/cmd/codesynapse@latest
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
go install github.com/astrona-io/codesynapse/cmd/codesynapse@latest。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: 记忆增强。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
astrona-io/codesynapse;我们收录于 2026-10-25;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# CodeSynapse
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
CodeSynapse indexes a repository into a graph and answers small, precise questions from it, so your coding agent asks the graph instead of opening whole files.
Ask for ReplaceRepo and you get its signature, location, 3 callers, the 2 tests that reach it and the doc section that describes it, in a few hundred tokens. On this repository that cuts the context an agent needs per question by a median 92% (codesynapse stats).
Indexes Go (type-checked, exact calls and interface dispatch), Python, JavaScript, TypeScript, Vue, Java, Kotlin, Rust, C#, PHP, Ruby, Markdown, YAML, Helm charts, git history and dependencies with their CVEs.
Serves agents over MCP, people through a web dashboard, and CI through a CLI.
Reviews security (graded A–F, with reachability), licences, unused code, duplicates and the impact of a diff.
Runs on NebulaGraph and Milvus, all Apache-2.0, on your own machine or cluster.
## Quick start
You need just and Docker or Podman.
sh
just up # writes .env with random secrets, builds and starts everything
open http://localhost:3000 # dashboard: sign in as admin (password in .env), replace it, create your organisation
just ingest ~/src/my-service # indexes a checkout (needs a git origin remote)
just ingest indexes the checkout through the worker, named after its origin remote. To see it in your organisation, sign in as an owner, open Repositories, choose Add and paste the origin's address: the dashboard links the index instead of cloning (a private repository needs your organisation's Git token). Repositories you add by URL are cloned and indexed by the worker without just ingest.
Then connect your agent. For Claude Code: sign in, create a key under Settings → API keys, and run
sh
CODESYNAPSEMCPTOKEN= just mcp
Other clients and the session contract: Agent context. What to ask once connected: Agent guide.
## CLI
No server needed for the offline commands:
sh
brew install astrona-io/tap/codesynapse
# or: go install github.com/astrona-io/codesynapse/cmd/codesynapse@latest
codesynapse audit . # security review
codesynapse audit . --fail-on high # CI gate
codesynapse audit . --changed --fail-on high # pre-commit: staged files only
codesynapse licenses . # dependency licences
codesynapse cleanup . # unused code, files, modules
codesynapse upgrade-impact golang.org/x/net@v0.40.0 # what a Go module upgrade changes for you
codesynapse review . --base origin/main --offline # impact of the current branch
codesynapse review . --offline --fail-on-new high # CI gate on what the branch adds
## GitHub Action
Review every pull request: changed symbols and their impact, the tests to run, and the security findings the change introduces and fixes, posted as one comment that updates on each push.
yaml
on: pullrequest
permissions:
contents: read
pull-requests: write
jobs:
codesynapse:
runs-on: ubuntu-latest
steps:
uses: actions/checkout@v7
with:
fetch-depth: 0
uses: astrona-io/codesynapse@vX.Y.Z # a release tag, or its commit SHA
with:
fail-on-new: high # fail on new high or critical findings only
Ask for ReplaceRepo and you get its signature, location, 3 callers, the 2 tests that reach it and the doc section that describes it, in a few hundred tokens. On this repository that cuts the context an agent needs per question by a median 92% (codesynapse stats).
Indexes Go (type-checked, exact calls and interface dispatch), Python, JavaScript, TypeScript, Vue, Java, Kotlin, Rust, C#, PHP, Ruby, Markdown, YAML, Helm charts, git history and dependencies with their CVEs.
Serves agents over MCP, people through a web dashboard, and CI through a CLI.
Reviews security (graded A–F, with reachability), licences, unused code, duplicates and the impact of a diff.
Runs on NebulaGraph and Milvus, all Apache-2.0, on your own machine or cluster.
## Quick start
You need just and Docker or Podman.
sh
just up # writes .env with random secrets, builds and starts everything
open http://localhost:3000 # dashboard: sign in as admin (password in .env), replace it, create your organisation
just ingest ~/src/my-service # indexes a checkout (needs a git origin remote)
just ingest indexes the checkout through the worker, named after its origin remote. To see it in your organisation, sign in as an owner, open Repositories, choose Add and paste the origin's address: the dashboard links the index instead of cloning (a private repository needs your organisation's Git token). Repositories you add by URL are cloned and indexed by the worker without just ingest.
Then connect your agent. For Claude Code: sign in, create a key under Settings → API keys, and run
sh
CODESYNAPSEMCPTOKEN= just mcp
Other clients and the session contract: Agent context. What to ask once connected: Agent guide.
## CLI
No server needed for the offline commands:
sh
brew install astrona-io/tap/codesynapse
# or: go install github.com/astrona-io/codesynapse/cmd/codesynapse@latest
codesynapse audit . # security review
codesynapse audit . --fail-on high # CI gate
codesynapse audit . --changed --fail-on high # pre-commit: staged files only
codesynapse licenses . # dependency licences
codesynapse cleanup . # unused code, files, modules
codesynapse upgrade-impact golang.org/x/net@v0.40.0 # what a Go module upgrade changes for you
codesynapse review . --base origin/main --offline # impact of the current branch
codesynapse review . --offline --fail-on-new high # CI gate on what the branch adds
## GitHub Action
Review every pull request: changed symbols and their impact, the tests to run, and the security findings the change introduces and fixes, posted as one comment that updates on each push.
yaml
on: pullrequest
permissions:
contents: read
pull-requests: write
jobs:
codesynapse:
runs-on: ubuntu-latest
steps:
uses: actions/checkout@v7
with:
fetch-depth: 0
uses: astrona-io/codesynapse@vX.Y.Z # a release tag, or its commit SHA
with:
fail-on-new: high # fail on new high or critical findings only
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/astrona-io-codesynapse/)
- 来源
- github · https://github.com/astrona-io/codesynapse
- 按领域浏览
- 记忆增强
- 收录来源
- 4 个独立来源
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。