Reference

75 MCP Tools
for AI Coding Agents

A toolkit for code intelligence, context memory, and LSP navigation — all served by one MCP server over stdio (devscriptor mcp). Works with Claude Desktop, Claude Code, Cursor, Cline, Rusta, and any MCP-compatible agent.

32 Core Tools
38 LSP Tools
5 Architecture Tools

Core tools operate on the local SQLite knowledge graph built by devscriptor scan or scan_codebase, and need no language server. The ones that answer from the index, the analyses of the whole index included, first wait for the watcher, then check the files they name against the disk and re-index those that changed, each project in its own devscriptor.yaml. One index can hold several projects: the analyses of the whole index take the workspace's. An answer says when the workspace is not indexed, and a search names the Context Graph notes its query matches.

Scanning & Analysis Jobs

7

scan_codebase

Scan a codebase and build the entity database. extensions is a whitelist; exclude_patterns add to the built-in excludes; the project’s devscriptor.yaml sets both when omitted

{
  "path": "/path/to/project",
  "extensions": ["rs", ".toml"],
  "exclude_patterns": ["**/tests/**", "*_test.rs"]
}

analyze_code

Run an analysis — dead_code, complexity, cross_reference, call_graph, code_smells, cross_file, clones, or all — and return its findings under a directory, each with its file_path, line and details

start_analysis

Start a background analysis job, for large repositories

get_analysis_progress

Get the progress of an analysis job; wait blocks until it completes or the timeout passes

list_analysis_jobs

List all analysis jobs

cancel_analysis

Cancel a running analysis job

cleanup_old_jobs

Clean up old completed jobs

Statistics & Health

2

get_statistics

Index statistics — files, entities and relationships of the workspace’s project, or of the paths path matches

health_check

Server health: the database, jobs, version, the project configuration, and daemon_pid under a shared server

Search & Embeddings

6

search_entities

Search entity names; entity_type filters by kind. semantic_search matches on body text

search_functions

Search functions by name, optionally within files whose path matches

search_classes

Search classes and types by name, optionally within files whose path matches

fuzzy_search

Typo-tolerant fuzzy search over entity names (scores every candidate, not a substring match)

semantic_search

Hybrid search by meaning: keyword (BM25) and vector rankings, fused. The server embeds the candidates a query touches on demand, so it works right after a scan. Omit entity_type to search every kind

{
  "query": "function to read and parse config files",
  "entity_type": "function",
  "limit": 10
}

generate_embeddings

Embed the entities missing vectors in one pass (idempotent) — the MCP counterpart of devscriptor embed

{
  "force": false,
  "batch_size": 16
}

Code Quality Analysis

2

find_dead_code

Find the functions and classes nothing reaches — no call, reference, use or supertype, nor a runtime, framework or test runner — each with a confidence and a reason

analyze_complexity

Rank the functions in scope by cyclomatic complexity

Entities & Relationships

2

get_entity_details

Where an entity is, and its signature, members, fields and supertypes

{
  "entity_type": "function",
  "name": "parse_file",
  "file_path": "src/parser.rs"
}

get_relationships

What an entity is linked to — calls, uses, supertypes, members — with where each end is and the lines a call is made on

Context Graph

5

add_context_note

Add a note, optionally linked to code entities and concepts

search_context

Search notes: keyword, semantic or hybrid, with type, status and priority filters

get_related_context

Notes linked to an entity: by its type, optionally narrowed by name and file

prune_context

Archive old or surplus notes, and delete long-archived ones (a dry run by default)

get_context_statistics

Context Graph statistics

File Context & Edit Validation

5

describe_file

Describe a file's contents: its entities and a numbered excerpt

describe_modification

Describe what a modification would do

get_file_context

The entities in a file, with a source excerpt around each

validate_file_edit

Validate a file edit with context

query_with_context

Query with context awareness

Real-time Watcher

3

start_watching

Watch a directory and keep the graph current. The server already watches the scanned project it runs in

{
  "path": "/path/to/project",
  "debounce_ms": 400
}

stop_watching

Stop the watcher, and keep scans from starting it again

get_watch_status

Whether it watches, and how (native events, or polling and why), with the re-index count and the last re-index

Configuration

Connect Your MCP Client

Point your client at the devscriptor binary on your PATH with args: ["mcp"]. It serves all 75 tools over JSON-RPC on stdio — there is no network port. The clients of one workspace share one server process, through a local socket: one index, watcher, embedding model and set of language servers. On connecting, the server tells the model which tools to start with, which matters most to a client that loads tools on demand.

Claude Desktop / Claude Code / Cline

{
  "mcpServers": {
    "devscriptor": {
      "command": "devscriptor",
      "args": ["mcp"]
    }
  }
}

For debug logs on stderr use:

"args": ["--verbose", "mcp", "--no-daemon"]

A shared server writes its log to its runtime directory instead. Setting RUST_LOG has no effect — it is not read.

Cursor

{
  "mcpServers": {
    "devscriptor": {
      "command": "devscriptor",
      "args": ["mcp"]
    }
  }
}

Identical on every platform — Devscriptor ships one executable answering to one name (devscriptor.exe on Windows).

Works with Any MCP Client

All 75 tools are available through the Model Context Protocol — to Claude Desktop, Claude Code, Cursor, Cline, and any other MCP-compatible agent. Rusta detects Devscriptor and wires it in with no configuration.