Synapse
Codebase memory for AI coding agents: files, lines, callers and tests for any public GitHub repo.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"synapse": {
"url": "https://asksynapse.in/api/v1/public/mcp"
}
}
}Puntos de conexión remotos
https://asksynapse.in/api/v1/public/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"type": "object",
"properties": {
"repository": {
"type": "string",
"description": "Public GitHub repository as \"owner/name\" (e.g. \"pallets/flask\") or its github.com URL."
}
},
"required": [
"repository"
]
}Comunidad
Evidencia