Synapse
Codebase memory for AI coding agents: files, lines, callers and tests for any public GitHub repo.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"synapse": {
"url": "https://asksynapse.in/api/v1/public/mcp"
}
}
}リモートエンドポイント
https://asksynapse.in/api/v1/public/mcpstreamable-httpできること
ツール一覧
ツール(7)
🟢plan_change(task, repository, paths, detail, targets, ...)
Call ONCE at the start of a coding task. A complete brief: files and line ranges to change, the key functions in full with their callers, the existing pattern to follow, decisions not to break and the only tests to run. From the code graph, not guesses.
入力スキーマ
{
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "What you are about to do, in plain words (e.g. \"add rate limiting to the refresh token endpoint\")."
},
"repository": {
"type": "string",
"description": "Public GitHub repository as \"owner/name\" (e.g. \"pallets/flask\") or its github.com URL."
},
"paths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Files or folders you already know are involved."
},
"detail": {
"type": "string",
"enum": [
"map",
"full"
],
"description": "map: a short edit map (files, line ranges, pattern, unit tests); full: also the key functions in full. Default: map for code changes, full for plans and questions."
},
"targets": {
"type": "array",
"items": {
"type": "string"
},
"description": "Real names in this repo the task is about (functions, classes, constants, files), from the vocabulary in the server instructions, e.g. [\"AuthController.refresh\"]."
},
"terms": {
"type": "array",
"items": {
"type": "string"
},
"description": "Words this codebase would use for the task, e.g. [\"throttle\"] for \"rate limiting\", [\"revoke\", \"grant\"] for \"disconnect apps\"."
}
},
"required": [
"task",
"repository"
]
}🟢read_code(path, symbol, repository)
Read code without opening whole files. With `symbol`: just that function, method or class (numbered lines). Without: the file's outline (every declaration with its signature and line range). Use instead of reading a full file.
入力スキーマ
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Repo-relative file path."
},
"symbol": {
"type": "string",
"description": "Function, method or class name, e.g. \"refresh\" or \"AuthController.refresh\"."
},
"repository": {
"type": "string",
"description": "Public GitHub repository as \"owner/name\" (e.g. \"pallets/flask\") or its github.com URL."
}
},
"required": [
"path",
"repository"
]
}🟢why(path, line, repository)
Reasons behind a file or line: decisions from PRs, reviews and reverts, the commit that last changed the line (with its message), the function there and who knows the code. Use before changing or deleting code that looks odd.
入力スキーマ
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Repo-relative file path."
},
"line": {
"type": "number",
"description": "Optional line number."
},
"repository": {
"type": "string",
"description": "Public GitHub repository as \"owner/name\" (e.g. \"pallets/flask\") or its github.com URL."
}
},
"required": [
"path",
"repository"
]
}🟢blast_radius(path, symbol, repository)
Every call site of a file or one of its functions, with the calling line of code, plus importers and tests. Use before changing a signature or deleting code.
入力スキーマ
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Repo-relative file path."
},
"symbol": {
"type": "string",
"description": "Optional function/class/method name in that file."
},
"repository": {
"type": "string",
"description": "Public GitHub repository as \"owner/name\" (e.g. \"pallets/flask\") or its github.com URL."
}
},
"required": [
"path",
"repository"
]
}🟢find_existing(query, repository)
Search existing functions, classes and methods by what they do (e.g. "format currency"). Use before writing a new helper.
入力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "What the code should do."
},
"repository": {
"type": "string",
"description": "Public GitHub repository as \"owner/name\" (e.g. \"pallets/flask\") or its github.com URL."
}
},
"required": [
"query",
"repository"
]
}🟢tests_for(paths, repository)
The test files that cover the given files (direct importers, same-name tests, and tests one import away), so you run only those instead of the whole suite.
入力スキーマ
{
"type": "object",
"properties": {
"paths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Files you changed."
},
"repository": {
"type": "string",
"description": "Public GitHub repository as \"owner/name\" (e.g. \"pallets/flask\") or its github.com URL."
}
},
"required": [
"paths",
"repository"
]
}🟢repo_map(repository)
One screen on an unfamiliar repo: main areas with their most used code, entry points, API routes and pages, where tests live, and the stack. Call once instead of exploring folders.
入力スキーマ
{
"type": "object",
"properties": {
"repository": {
"type": "string",
"description": "Public GitHub repository as \"owner/name\" (e.g. \"pallets/flask\") or its github.com URL."
}
},
"required": [
"repository"
]
}コミュニティ
エビデンス