Synapse
Codebase memory for AI coding agents: files, lines, callers and tests for any public GitHub repo.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"synapse": {
"url": "https://asksynapse.in/api/v1/public/mcp"
}
}
}Remote-Endpunkte
https://asksynapse.in/api/v1/public/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {
"repository": {
"type": "string",
"description": "Public GitHub repository as \"owner/name\" (e.g. \"pallets/flask\") or its github.com URL."
}
},
"required": [
"repository"
]
}Community
Nachweis