Synapse MCP logo

Synapse MCP

by myelixlabs

Builds a local AST knowledge graph for code navigation, analysis, debugging, refactoring, and guarded file changes.

Install Synapse MCP

Run the project’s own setup commands, in order.

Setup steps from the project

myelixlabs/synapse-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://downloads.synapse-mcp.dev/install.sh | sh
    
  2. 2. Install
    irm https://downloads.synapse-mcp.dev/install.ps1 | iex
    

Overview

myelixlabs/synapse-mcp MCP server turns a codebase into a persistent, local AST knowledge graph for coding agents. A long-running BEAM daemon watches file changes, incrementally re-indexes modified files, and detects Git diffs. Its MCP tools support structural search, graph traversal, debugging, change review, test analysis, repository management, and validated atomic writes. Reach for it when an agent needs codebase-wide context without sending source code to a cloud service.

Use cases

  • Navigate unfamiliar code through caller and callee relationships
  • Review refactoring impact before changing files
  • Trace stack errors to likely AST root causes
  • Identify test coverage gaps and affected tests
  • Apply validated edits with atomic rollback

Key features

  • Persistent local AST knowledge graph
  • Incremental file and Git-diff re-indexing
  • Semantic, symbol, and regex code search
  • Caller and callee graph traversal
  • Validated atomic file writes
  • Multi-repository and Git worktree management

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 45d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Synapse MCP works

What myelixlabs/synapse-mcp MCP server does

The myelixlabs/synapse-mcp MCP server converts a codebase into a persistent, in-memory AST knowledge graph that MCP-compatible agents can query locally. It exposes structural information such as symbols, callers, callees, contracts, summaries, tests, dependencies, and public API surfaces instead of requiring an agent to repeatedly inspect unrelated files.

The graph is intended for code navigation and maintenance tasks. Agents can search for code, trace relationships, inspect likely change effects, map stack traces to AST locations, assess test coverage, and identify refactoring opportunities. The server also supports guarded file modification: a proposed change is simulated, checked against the compiler and linter, and written atomically only if the validation gates pass.

How it works

Synapse runs as a persistent BEAM daemon rather than as a one-shot command. It keeps the graph in memory between agent sessions and monitors workspace changes through platform file-notification mechanisms. When files change, it re-indexes the affected files instead of rebuilding the entire workspace. It also detects a new Git HEAD and processes the relevant diff.

The myelixlabs/synapse-mcp MCP server operates locally, with the README stating that code does not leave the machine. Its indexing uses AST-aware chunks and call-graph edge extraction, and its search supports semantic search using BM25F and embeddings, symbol search, and regular expressions. The exact supported language list is described as more than 50 languages.

For modifications, the workflow is simulate, validate, write atomically, and roll back if validation fails. Change review can rank blast radius and detect broken contracts before a change is pushed.

Setup and configuration

Install the server with the published shell installer on Linux or macOS:

Terminal
curl -fsSL https://downloads.synapse-mcp.dev/install.sh | sh

On Windows PowerShell, use:

powershell
irm https://downloads.synapse-mcp.dev/install.ps1 | iex

After installation, register the repository with Synapse so the agent can use its graph. It also does not document client-specific setup steps.

Tools and capabilities

The server groups its MCP tools by task:

  • ask_synapse provides a natural-language entry point that routes requests to an appropriate tool.
  • synapse_get_context returns structural context, including callers, callees, contracts, and summaries.
  • synapse_search_codebase supports semantic, symbol, and regular-expression search with structured chunk IDs.
  • synapse_explore_graph traverses caller and callee relationships, including transitive paths and cycles.
  • synapse_modify_files validates proposed edits before committing them atomically, with rollback on lint failure.
  • synapse_change_review analyzes diffs, ranks blast radius, and checks for broken contracts.
  • synapse_debug_trace maps stack traces to AST root causes and suggests reproducing tests.
  • synapse_test_quality reports coverage bands, maps tests, and ranks coverage gaps.
  • synapse_codebase_insights examines dead-code deletion safety, public APIs, dependencies, and refactoring opportunities.
  • synapse_knowledge_cache stores summaries for retrieval across sessions.
  • synapse_manage_repos manages a multi-repository registry, including archive, restore, and Git worktree support.

Limitations and notes

The myelixlabs/synapse-mcp MCP server is currently in preview and may change as development continues.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Synapse MCP

myelixlabs/synapse-mcp is an MCP server that connects coding agents to a local, persistent AST knowledge graph of a codebase. Its main tools provide structural context, semantic and symbol search, graph traversal, safe file modification, change review, stack-trace debugging, test analysis, and repository management without sending code to the cloud.

Install it with the published platform installer. On Linux or macOS, run `curl -fsSL https://downloads.synapse-mcp.dev/install.sh | sh`; on Windows PowerShell, run `irm https://downloads.synapse-mcp.dev/install.ps1 | iex`.

Yes, Cursor is named as a supported agent example in the README.

Yes, its `synapse_modify_files` capability simulates proposed edits, validates them against the compiler and linter, and commits changes atomically only after the checks pass. If validation fails, it rolls back rather than leaving the files in the attempted state.

It runs as a persistent daemon that watches for file changes and re-indexes only affected files. It also detects a new Git HEAD and re-indexes the relevant diff instead of rebuilding the entire workspace.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSynapse MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/myelixlabs-synapse-mcp?style=directory)](https://allmcps.com/mcp/myelixlabs-synapse-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/myelixlabs-synapse-mcp"><img src="https://allmcps.com/api/badge/myelixlabs-synapse-mcp?style=directory" alt="Synapse MCP on AllMCPs" /></a>