scipq-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| --root | No | Default project root (defaults to the project the server is started in). | |
| --tools | No | Tools to expose: all, core, or a comma-separated list of tool names. | |
| --always | No | Expose the tools even when the starting directory is not a Java project. | |
| --config | No | Path to the project configuration TOML file (default: $XDG_CONFIG_HOME/scipq/config.toml). | |
| --cache-dir | No | Directory for the user cache (default: $XDG_CACHE_HOME/scipq or ~/Library/Caches/scipq on macOS). | |
| --freshness | No | Freshness checking mode: full, results, or off (default: full). | |
| --shards-dir | No | Directory containing SCIP shards (default: build/scip-targetroot). | |
| --build-workers | No | Number of workers for index build (default: min(4, CPUs/4), at low CPU/IO priority). | |
| --index-external | No | How many external/JDK/library references to keep in the auxiliary index: all, methods, or none. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Java code navigation from the SCIP shards that javac writes when the build runs the scip-javac plugin. Read-only: it never compiles, runs tests or writes to the repository.
WHEN TO USE: for anything about Java symbols — uses, callers, hierarchy, overrides, Lombok accessors, a method's body — use these tools instead of grep. grep also matches same-named members of other classes and text in comments; these tools do not, and they answer in well under a second with no startup. Use grep for text (string literals, comments, logs, non-Java files) and for code edited since the last compilation. If an LSP/IDE tool is also available, prefer these unless you need uncompiled code. find_symbols finds a symbol from part of its name.
FIRST USE: the tools need the shards. If a tool answers that there are no SCIP shards, call
setup: it inspects the build (Gradle/Maven) and returns the exact steps and the init script
or pom snippet to add. Ask the user before changing their build or ~/.gradle, then compile.
Results reflect the LAST COMPILATION. Answers end with a WARNING (and the task to recompile) when sources changed after it; a file that never compiled is not indexed. Paths are relative to the project root; lines are 1-based.
Symbols can be given as names: Account, Account#setState, Account.setState(),
com.example.Account, setState(+1) (one overload), Account#<init> (constructor), or as
the exact SCIP symbol printed by find_symbols/definition (e.g. com/example/Account#setState().).
JDK and library symbols work too (PersistenceManager#evict). A unique name is resolved and
the answer starts with -- name → symbol; an ambiguous name returns the candidates.
Every list takes offset/limit and says next offset N when there is more. batch runs several
queries in one call. project_root (optional everywhere) selects the checkout or worktree; by
default, the one the server was started in.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| setupA | How this project produces the SCIP shards the other tools need, and whether they are there and fresh. When they are missing it returns the exact steps for its build (Gradle init script or Maven compiler configuration). It changes nothing itself. |
| find_symbolsA | Definitions in the project by name or part of a name (like workspace/symbol). Each row: path:line kind exact symbol — signature. |
| referencesA | Every use of a symbol (like findReferences), grouped by file, with the line of code and [the enclosing method]. Exact: only this symbol, not same-named members of other types. Overrides are separate symbols: see family / callers. Large results open with a summary. |
| definitionA | Where a symbol is defined, with kind, signature, javadoc and what it overrides or extends (like goToDefinition + hover). Lombok members point at what generates them. JDK and library symbols come from the JDK's src.zip and the -sources.jar files in the Gradle/Maven caches, saying which version. |
| sourceA | The exact source of a definition (method, field, class) with line numbers, so you do not have to read the whole file; also for JDK and library symbols (from their sources jars). |
| implementationsA | Subtypes of a class or interface, or overrides of a method, at any depth; indirect ones say which result they go through. Anonymous classes are included. |
| supertypesB | Supertypes of a type, or the methods a method overrides, direct ones first. |
| membersA | Members of a type: its own, then those inherited from each supertype (not private,
not constructors, not overridden), marking overrides and generated (Lombok) ones;
library supertypes are listed from their sources jars, nearest first, without what a
nearer type overrides. Library types themselves work too (e.g. |
| familyA | The override family of a method — what it overrides, its overrides, and the other overrides of its ancestors — with the uses of each. references on an abstract method does not see calls through the overrides; this does. |
| overloadsC | Every overload of a method in its type, with the uses of each. |
| outlineC | Definitions in a file (like documentSymbol), nested, with line and signature. |
| callersA | Incoming calls / uses grouped by the enclosing method (like incomingCalls). Exact: only this symbol, not same-named members of other types. Calls in lambdas and anonymous classes count for the enclosing method; field initializers for the field; initializer blocks for the class. offset/limit page the direct callers. |
| calleesB | Methods and constructors referenced from the body of a definition (like outgoingCalls), with the lines; optionally fields and types too. |
| annotatedB | Classes, methods, fields and parameters carrying an annotation, with the annotation's line (which holds its attribute values). |
| typedC | Where a type is used, by kind: fields, parameters, return types, local variables, try-with-resources, supertype clauses, method bodies (new, casts, static calls) and imports. |
| testsA | Test classes (in test compile tasks or src/test/) that use a symbol, directly or
(transitive) through callers, with a ready filter: |
| impactA | Transitive callers of a symbol, by depth, grouped by module or package, marking tests: what a change can affect. Uses the auxiliary index (built once per checkout, then updated incrementally). |
| pathB | Shortest call chains from one symbol to another, with the lines of each call. |
| changedA | From |
| depsB | Dependencies between modules or packages (reference counts) and their cycles; with
sites, every place where |
| dead_codeA | Candidates for dead code: definitions nobody references, leaving out overrides, framework-managed members (non-JDK annotations), main and serialization hooks, no-arg constructors, Lombok accessors in use and names found in string literals. Candidates, not verdicts: reflection can still reach them. |
| censusC | Censuses over the project: annotations in use, or entities with their tables. |
| cache_statusB | Where the auxiliary index of this checkout is, its size and row counts. |
| index_statusA | The state of the index: shards per compile task, stale and not-yet-compiled sources, git-tracked .java files without a shard, and what to recompile. |
| batchA | Run several queries on the same checkout in one call (one freshness check). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| setup | Set up SCIP indexing for this project |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 25 tools
Most tools target clearly distinct code-intelligence queries, and the descriptions explicitly differentiate close pairs such as references vs. callers vs. impact, or family vs. overloads vs. implementations. A few boundaries still require careful reading, especially among the several status/readiness tools and the override/call-graph query family.
All names are lowercase snake_case, which keeps them readable, but the convention is mixed: some are bare nouns (definition, source, family), some are adjective/noun compounds (dead_code, changed, annotated), and only one uses a clear verb_noun form (find_symbols). The set is predictable enough to scan but does not follow a single naming pattern.
At 25 tools this is at the heavy end for a single MCP server, even for a rich SCIP code-intelligence domain. Most tools earn their place, but the surface is broad enough that several advanced queries could likely be composed from a smaller core set.
The surface covers setup, indexing status, symbol lookup, definitions, references, call graphs, type hierarchies, overrides, tests, change impact, module dependencies, and batching. For a read-only code-intelligence server, there are no obvious dead ends in the query lifecycle.