What Sinter MCP server does
The Sinter MCP server provides agents with a local, persistent graph of repository symbols. Nodes represent definitions and related code elements; directed edges describe relationships supported by syntax, scope, imports, or compiler indexing. Unresolved references remain unresolved instead of being guessed, and graph queries can expose the evidence associated with an edge.
The graph is intended for code navigation and change analysis. It can identify dependency hubs, documentation entry points, affected symbols, paths between symbols, related tests, and likely starting points for a task. Cross-repository workspaces can combine declared member repositories for distributed-system analysis.
How it works
Tree-sitter supplies syntax information across supported languages, allowing Sinter to create a graph without an LSP or compiler setup. Incremental refresh keeps derived state current as files change. Syntax-only analysis can resolve relationships supported by names, imports, scope, and available type information, but it does not provide complete compiler-level binding for every receiver call, re-export, or macro.
A SCIP index can add compiler evidence when the repository has an appropriate index. The build report separates heuristic resolution from compiler comparisons, and edited files are not rebound against stale byte positions from an older index. Rust trait implementations can contribute labeled dynamic-dispatch edges, while workspace manifests can declare cross-repository links.
Setup and configuration
Install the sinter binary with Cargo, uv, pipx, Homebrew, or the supplied Linux, macOS, and Windows installers. Building from source requires Rust. sinter ensure /path/to/repo creates or refreshes the .sinter/ directory without installing hooks or changing client configuration. sinter init /path/to/repo can build the graph, install repository hooks, register the agent integration and MCP entry, and produce a diagnostic report.
Initialization shows planned writes and asks for confirmation unless -y or an appropriate non-interactive invocation is used. The optional --global mode adds machine-wide agent materials and hooks. SCIP setup is also optional; --scip and --no-scip select the behavior up front.
Tools and capabilities
The Sinter MCP server is suited to operations corresponding to these documented commands:
map returns a bounded repository inventory with module and file counts, dependency hubs, documentation entry points, and graph-health notes.
affected follows transitive dependents of a symbol and identifies the reverse blast radius.
path traces how one symbol reaches another, while impact analyzes symbols and tests touched by a changeset.
grep performs regex search over a graph-selected corpus rather than over the whole repository.
ask ranks lexical navigation candidates; it is a navigator, not a semantic answer engine.
show presents a symbol card, optional source or implementation details, and enclosing-symbol information for a file location.
context creates task evidence with candidate edits, relevant literals, mirrors, and runnable affected-test commands.
assert checks snapshot-scoped caller or deletion conditions without claiming runtime exhaustiveness.
cite and verify-doc maintain and validate stable Markdown references to symbols.
Limitations and notes
Sinter MCP server results describe the indexed snapshot, not every runtime behavior. Zero-setup graphs are deliberately a precise subset of possible relationships, so missing edges should not be treated as proof that code is unrelated. ask confidence reflects evidence and ranking buckets rather than a per-result probability. Assertions can return not_proven, and test dependents may be counted rather than listed unless requested. Large symbol bodies are summarized with an outline instead of being fully emitted.