New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

Trace

191 tools. 32 can modify or destroy data without limits.

3 destructive tools with no built-in limits. Policy required.

Last updated:

32 can modify or destroy data
159 read-only
191 tools total

Community server · catalogue entry checked 04/10/2026

How to control Trace ↓

What Trace exposes to your agents

Read (159) Write / Execute (29) Destructive / Financial (3)
Critical Risk

The most dangerous Trace tools

32 of Trace's 191 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Trace

PolicyLayer is an MCP gateway — it sits between your AI agents and Trace, and nothing reaches the server without passing your rules. These are the rules we recommend:

Deny destructive operations
{
  "delete_corpus": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Blocked by default. Requires approval."
      }
    ]
  }
}

Destructive tools should never be available to autonomous agents without human approval.

Rate limit write operations
{
  "add_decision": {
    "limits": [
      {
        "counter": "add_decision_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "analyze_perf": {
    "limits": [
      {
        "counter": "analyze_perf_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Trace — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON TRACE →

Instant setup, no code required.

All 191 Trace tools

WRITE 26 tools
Write add_decision Manually record an architectural decision, tech choice, preference, or convention. Links to code symbols/files Write apply_codemod Structural (AST-aware) or regex find-and-replace across files. Default engine Write apply_move Move a symbol to a different file or rename/move a file, updating all import paths across the codebase. Dry-ru Write apply_rename Rename a symbol across all usages (definition + all importing files). Runs collision detection first and abort Write apply_startup_recommendations Apply or preview a get_startup_context_audit recommendation: disable an unused MCP server, move an unused skil Write approve_decision Approve a decision currently in the memoir-style review queue (review_status= Write build_corpus Pack a slice of project context into a persistent corpus on disk so future query_corpus calls can prime an LLM Write build_decision_clusters Recompute the L2 thematic cluster overlay over the decision store using the configured LLM. Stable cluster ids Write change_signature Change a function/method signature (add/remove/rename/reorder parameters) and update all call sites. Dry-run b Write consolidate_decisions LLM-driven semantic dedup of the decision store. For each decision in scope, finds top-K similar candidates (F Write generate_docs Generate project documentation from the code graph — architecture, API surface, data models, components, depen Write index_sessions Index conversation content from Claude Code / Claw Code sessions for cross-session search. Stores chunked mess Write invalidate_decision Mark a decision as no longer valid. The decision remains in the knowledge graph for historical queries but is Write pin Boost (or demote) a symbol and/or file in PageRank-driven ranking by setting a multiplicative weight. Unifies Write refresh_co_changes Rebuild co-change index from git history. Mutates the co-change index; idempotent. Use after significant git h Write register_edit Notify trace-mcp that a file was edited. Reindexes the single file and invalidates search caches. Call after E Write reject_decision Reject a decision currently in the memoir-style review queue (review_status= Write remember_decision Live agent write into the decision knowledge graph. Confidence-scores the input and routes it through the memo Write snapshot_graph Capture the current graph shape (file/symbol counts, edges by type, top in-degree files, communities, exported Write subproject_add_repo Add a repository as a subproject of the current project. Pass Write subproject_sync Re-scan all subprojects: re-discover services, re-parse contracts, re-scan client calls, and re-link everythin Write trace_state_add_dead_end Shortcut to record a failed approach or dead end into task state without a full patch. Write trace_state_checkpoint Save a named state checkpoint snapshot for safe rollback if a future exploration path fails. Write trace_state_patch Apply an RFC 7396 JSON Merge Patch to update state atomically. Validates schema and increments version. Return Write unpin Remove a ranking pin by target. Pass either symbol_id (for a pinned symbol) or file_path (for a pinned file). Write visualize_subproject_topology Open interactive HTML visualization of the subproject topology: services as nodes, API calls as edges, health/
READ 159 tools
Read analyze_perf Per-tool latency telemetry: p50/p95/max, count, error_rate. Default reads the current session ring; Read assess_change_risk Before modifying a file or symbol, predict risk level (low/medium/high/critical) with contributing factors and Read audit_config Scan AI agent config files (CLAUDE.md, AGENTS.md, .cursorrules, etc.) for stale references, dead paths, token Read benchmark_project Synthetic token efficiency benchmark: compare raw file reads vs trace-mcp compact responses across symbol look Read check_architecture Check architectural layer rules: detect forbidden imports between layers (e.g. domain importing infrastructure Read check_claudemd_drift Detect drift between AI agent config files (CLAUDE.md, AGENTS.md, .cursorrules) and the live tool/skill/comman Read check_duplication Check if a function/class name already exists before creating it. Pass Read check_edit_safe Edit-safety preflight: before modifying a symbol or file, get one verdict for Read check_embedding_drift Pin and re-check a 16-string canary against the active embedding provider. Catches silent provider model swaps Read check_quality_gates Run configurable quality gate checks (complexity, coupling, circular imports, dead exports, tech debt, securit Read check_rename Pre-rename collision detection: checks the symbol Read compare_branches Compare two branches at symbol level: what was added, modified, removed. Resolves merge-base automatically, gr Read detect_antipatterns Detect performance & design antipatterns: N+1 queries, missing eager loading, unbounded queries, event listene Read detect_ast_clones Find Type-2 AST clones: functions/methods with identical structure after normalizing identifiers and literals Read detect_communities Run Leiden community detection on the file dependency graph. Identifies tightly-coupled file clusters (modules Read detect_drift Detect architectural drift: cross-module co-change anomalies (files in different modules that always change to Read detect_topic_tunnels Cross-project topic tunnels: links between registered subprojects sharing canonical entities — manifest packag Read diff_graph_snapshots Compare two named graph snapshots and report deltas in counts, communities, and top in-degree files. Use to tr Read discover_claude_sessions Scan ~/.claude/projects for projects Claude Code has touched on this machine, decode each directory name back Read discover_hermes_sessions List Hermes Agent (NousResearch) sessions visible on this machine. Scans $HERMES_HOME (default ~/.hermes) for Read embed_repo Precompute and cache symbol embeddings for semantic / hybrid search. Also computed lazily on first semantic qu Read explain_architecture AI-powered architecture analysis — layers, patterns, and data flow Read explain_symbol Explain a symbol in detail using AI — purpose, behavior, relationships, usage patterns Read export_decisions Export decisions to JSONL or Markdown. Read-only; no schema mutations. Use for audit, sharing with external to Read export_graph Export the dependency graph in formats external tools understand. Supports GraphML (Gephi/yEd/NetworkX), Cyphe Read export_security_context Export security context for MCP server analysis. Generates enrichment JSON for skill-scan: tool registrations Read extract_function Extract a line range out of an enclosing function into a new named helper (AST-aware, TypeScript/JavaScript). Read find_similar Find semantically similar symbols using vector search + optional AI reranking Read find_usages Find all references to a symbol or file (imports, calls, renders, dispatches). Use instead of Grep for symbol Read generate_insights_report Single-call narrative health snapshot: god files (PageRank), architectural bridges (edge bottlenecks), risk ho Read generate_sbom Generate a Software Bill of Materials (SBOM) from package manifests and lockfiles. Supports npm, Composer, pip Read get_api_contract Get API contract (OpenAPI/gRPC/GraphQL) for a service. Parses spec files found in the service repo. Use to ins Read get_api_surface List all exported symbols (public API) of a file or matching files. Use to understand what a module exposes. F Read get_artifacts Surface non-code knowledge from the index: DB schemas (migrations, ORM models), API specs (routes, OpenAPI end Read get_call_graph Build a bidirectional call graph centered on a symbol (who calls it + what it calls). Each branch keeps its di Read get_change_impact Full change impact report: risk score + mitigations, breaking change detection, enriched dependents (complexit Read get_changed_symbols Map a git diff to affected symbols (functions, classes, methods), for PR review. If Read get_circular_imports Find circular dependency chains in the import graph (Kosaraju SCC algorithm). Considers only import-typed edge Read get_cluster_decisions Return the member decisions of a cluster, plus the cluster header. Use after get_decision_clusters to drill in Read get_co_changes Find files that frequently change together in git history (temporal coupling). Requires git. Use to discover h Read get_code_owners Git-based code ownership: who contributed most to specific files (git shortlog). Requires git. Use to identify Read get_communities Get previously detected communities (file clusters). Run detect_communities first. Read-only. Returns JSON: { Read get_community Get details for a specific community: files, inter-community dependencies. Read-only. Use after detect_communi Read get_complexity_report Get complexity metrics (cyclomatic, max nesting, param count) for symbols in a file or across the project. Use Read get_complexity_trend File complexity over git history: cyclomatic complexity at past commits. Shows if a file is getting more or le Read get_component_tree Build a component render tree starting from a given .vue file. Use to visualize parent-child component hierarc Read get_context_bundle Get a symbol Read get_contract_drift Detect mismatches between API spec and implementation: endpoints in spec but not in code, or in code but not i Read get_contract_versions Show version history for a service API contract with breaking change detection between versions. Compares requ Read get_control_flow Build a Control Flow Graph (CFG) for a function/method: if/else branches, loops, try/catch, returns, throws. S Read get_coupling Coupling analysis: afferent (Ca), efferent (Ce), instability index per file. Shows which modules are stable vs Read get_coupling_trend File coupling over git history: Ca/Ce/instability at past commits. Shows if a module is stabilizing or destabi Read get_cross_domain_deps Show which business domains depend on which. Based on edges between symbols in different domains. Use to under Read get_cross_service_impact Analyze cross-service impact of changing an endpoint or event. Shows which services would be affected. Use bef Read get_cross_workspace_impact Show which workspaces are affected by changes in a given workspace. Lists all cross-workspace edges, affected Read get_dataflow Intra-function dataflow analysis: track how each parameter flows through the function body — into which calls, Read get_dead_code Dead code detection. Modes: Read get_decision Fetch a single decision by id, including its full Read get_decision_clusters List decision clusters with optional full-text filter. Each row carries a short noun-phrase title, 1-3 sentenc Read get_decision_stats Overview of the decision knowledge graph: total decisions, active/invalidated counts, breakdown by type and so Read get_decision_timeline Chronological timeline of decisions for a project, symbol, or file. Shows when decisions were made and invalid Read get_dependency_diagram Render dependency diagram for a file/directory path as Mermaid or DOT. Input: a path like Read get_di_tree Trace NestJS dependency injection tree (what a service injects + who injects it). Use to understand DI wiring Read get_diagnostics Execute type-checker (tsc, mypy, pyright) and map errors to enclosing AST symbols. Read-only. Read get_domain_context Get all code related to a specific business domain. Supports Read get_domain_map Get hierarchical map of business domains with key symbols per domain. Auto-builds domain taxonomy on first cal Read get_edge_bottlenecks Find architectural bottleneck edges in the import graph: edges on many shortest paths (betweenness), edges who Read get_endpoint_analytics Per-route analytics: request count, error rate, latency, caller services. Requires OTLP trace ingestion. Read- Read get_env_vars List environment variable keys from .env files with inferred value types/formats. Never exposes actual values Read get_event_graph Get event/signal/task dispatch graph (Laravel events, Django signals, NestJS events, Celery tasks, Socket.io e Read get_feature_context Search code by keyword/topic → returns ranked source snippets within a token budget. Use when you need to READ Read get_federation_impact Aggregates cross-repo impact into ONE call: if you change an endpoint, service, or symbol, this combines subpr Read get_file_health_timeline Aggregates get_complexity_trend, get_coupling_trend, and get_git_churn into one per-file time series: complexi Read get_git_churn Per-file git churn: commits, unique authors, frequency, volatility assessment. Requires git. Use to identify f Read get_graph_timeline Graph-evolution timeline: samples evenly-spaced historical commits (via git log) and reports file-count + comm Read get_health_trends Time-series health metrics for a file or module: bug score, complexity, coupling, churn over time. Populated b Read get_implementations Find all classes that implement or extend a given interface or base class. Use when you know the interface nam Read get_import_graph Show file-level dependency graph: what a file imports and what imports it (requires reindex for ESM edge resol Read get_index_health Get index status, statistics, health, and pipeline progress (indexing, summarization, embedding). Includes the Read get_livewire_context Get full context for a Livewire component: properties, actions, events, view, child components. Use to underst Read get_middleware_chain Trace middleware chain for a route URL (Express/NestJS/FastAPI/Flask). Use when you only need the middleware s Read get_minimal_context Single-call orientation context (~150 tokens). Returns project shape, top 3 risk hotspots, top 3 PageRank-cent Read get_model_context Get full model context: relationships, schema, and metadata (Eloquent/Mongoose/Sequelize/SQLAlchemy/Prisma/Typ Read get_module_graph Build NestJS module dependency graph (module -> imports -> controllers -> providers -> exports). Use to unders Read get_navigation_graph Build React Native navigation tree from screens, navigators, and deep links. Use to understand app navigation Read get_nova_resource Get full context for a Laravel Nova resource: model, fields, actions, filters, lenses, metrics. Use to underst Read get_outline Get all symbols for a file (signatures only, no bodies) — cheaper than Read for understanding a file before ed Read get_package_deps Cross-repo package dependency analysis: find which registered projects depend on a package, or what packages a Read get_pagerank File importance ranking via PageRank on the import graph. Shows most central/important files. Use to identify Read get_plugin_registry List registered indexer plugins and edge types. Read-only. Returns JSON: { language_plugins, framework_plugins Read get_project_health Structural health: coupling instability, dependency cycles, PageRank rankings, refactor candidates. Use for ar Read get_project_map Get project overview: detected frameworks, languages, file counts, structure. Read-only, no side effects. Call Read get_refactor_candidates Find functions with high complexity called from many files — candidates for extraction to shared modules. Use Read get_related_symbols Find symbols related via co-location (same file), shared importers, and name similarity. Use when exploring a Read get_request_flow Trace request flow for a URL+method: route → middleware → controller → service (Laravel/Express/NestJS/Fastify Read get_risk_hotspots Code hotspots: files with both high complexity AND high git churn (Adam Tornhill methodology). Score = complex Read get_runtime_call_graph Actual call graph from runtime traces (vs static analysis). Shows observed call paths with call counts and lat Read get_runtime_deps Which external services (databases, caches, APIs, queues) does this code actually call at runtime. Based on OT Read get_runtime_profile Runtime profile for a symbol or route: call count, latency percentiles (p50/p95/p99), error rate, calls per ho Read get_schema Get database schema reconstructed from migrations or ORM model definitions. Use to understand table structure. Read get_screen_context Get full context for a React Native screen: navigator, navigation edges, deep link, platform variants, native Read get_service_deps Get external service dependencies: which services this one calls (outgoing) and which call it (incoming). Use Read get_service_map Get map of all services, their APIs, and inter-service dependencies. Auto-detects services from Docker Compose Read get_session_journal Session history: all tool calls made, files read, zero-result searches, and duplicate queries. Use to avoid re Read get_session_snapshot Compact session snapshot (~200 tokens) for context recovery after compaction. Returns focus files (by read cou Read get_startup_context_audit What every session pays before your first message, what it costs, and what went unused: source decomposition, Read get_state_stores List all Zustand stores and Redux Toolkit slices with their state fields, actions/reducers, and dispatch sites Read get_subproject_clients Find all client calls across subprojects that call a specific endpoint. Shows file, line, call type, and confi Read get_subproject_graph Show all subprojects and their cross-repo connections. A subproject is any working repository in your project Read get_subproject_impact Cross-repo impact analysis: find all client code across subprojects that would break if an endpoint changes. R Read get_suggested_questions Auto-generated, prioritized review questions derived from the analyses we already cache (untested framework en Read get_surprises Rank cross-module file edges by how unexpected they look (deep folder distance + popular target + few edges = Read get_symbol Look up a symbol by symbol_id or FQN and return its source code. Use instead of Read when you need one specifi Read get_symbol_complexity_trend Single symbol complexity over git history: cyclomatic, nesting, params, lines at past commits. Requires git. U Read get_symbol_owners Git blame-based symbol ownership: who wrote which lines of a specific symbol. Requires git. Use for fine-grain Read get_task_context All-in-one context for starting a dev task: execution paths, tests, entry points, adapted by task type. Use as Read get_tech_debt Per-module tech debt score (A–F grade) combining: complexity, coupling instability, test coverage gaps, and gi Read get_tests_for Find test files/functions covering a given symbol or file. Understands test-to-source mapping, not just filena Read get_type_hierarchy Walk TypeScript class/interface hierarchy: ancestors (what it extends/implements) and descendants (what extend Read get_untested_symbols Find symbols lacking test coverage. scope= Read get_wake_up Compact orientation context (~300 tokens) for session start. By default returns a {stable, dynamic} split: sta Read get_workspace_map List all detected monorepo workspaces with file counts, symbol counts, and languages. Returns dependency graph Read graph_query Trace how named symbols relate in the dependency graph → returns subgraph + Mermaid diagram. Input is NATURAL Read list_bundles List installed pre-indexed bundles for dependency libraries. Shows package name, version, symbol/edge counts, Read list_corpora List every corpus saved on disk with its manifest (scope, project_root, sizes, timestamps). Read-only. Use to Read list_graph_snapshots List previously captured graph snapshots, most recent first. Each entry includes its summary so you can inspec Read list_pins List all active ranking pins with weight, scope, target, expiry, and creator. Use to inspect what is currently Read list_projects List projects registered with trace-mcp (~/.trace/registry.json) — the roots call_project_tool accepts. Use to Read mine_sessions Mine Claude Code / Claw Code session logs for architectural decisions, tech choices, bug root causes, and pref Read name description Read pack_context Pack project context into a single document for external LLMs. Intelligent selection by graph importance, fits Read plan_batch_change Analyze the impact of updating a package/dependency. Shows all affected files, import references, and generate Read plan_refactoring Preview any refactoring (rename, move, extract, signature) without applying. Returns all edits as {old_text, n Read predict_bugs Heuristic bug-risk triage: ranks files by git churn, fix-commit ratio, complexity, coupling, PageRank, and aut Read query_by_intent Map a business question to domain taxonomy → returns domain ownership and relevance scores (no source code). U Read query_corpus Answer a natural-language question against a saved corpus. Loads the corpus body, primes the configured AI pro Read query_decisions Query the decision knowledge graph. Filter by type, subproject, code symbol, file path, tag, or time — answers Read regenerate_project_memo Synthesise (or refresh) the project memo — a 250-400 word LLM-written orientation digest over the decision sto Read review_change AI-powered review of a file change — identify issues, risks, and suggestions Read rollback_startup_recommendations Undo one apply_startup_recommendations(dry_run:false) call byte-for-byte: restores files and moved skills. Def Read scan_code_smells Find deferred work and shortcuts: TODO/FIXME/HACK/XXX comments, empty functions & stubs, hardcoded values (IPs Read scan_security Scan project files for OWASP Top-10 vulnerabilities (SQLi, XSS, command injection, path traversal, hardcoded s Read search Search symbols by name, kind, or text. Use instead of Grep for functions, classes, methods, variables. For raw Read search_bundles Search pre-indexed bundles for symbols from popular libraries (React, Express, etc.). Returns symbol definitio Read search_sessions Search across all past session conversations. Finds what was discussed, decided, or debugged in previous sessi Read search_text Full-text search across all indexed files. Supports regex, glob file patterns, language filter. Use for findin Read self_audit Dead code & coverage audit: dead exports, untested public symbols, heritage debt. Use as a one-shot health che Read suggest_queries Onboarding helper: shows top imported files, most connected symbols (PageRank), language stats, and example to Read suggest_tests Suggest test cases for a symbol using AI Read taint_analysis Track flow of untrusted data from sources (HTTP params, env vars, file reads) to dangerous sinks (SQL queries, Read trace_state_get Retrieve current execution state for a task in compact markdown (~150 tokens) or full JSON. Read trace_state_init Initialize structured execution state for a task (arXiv:2608.26263). Saves state to SQLite and returns compact Read trace_state_list List recent agent execution task states and their status in storage. Read trace_state_rollback Rollback task execution state to a previously saved checkpoint snapshot by label or ID. Read traverse_graph Walk the dependency graph from a starting symbol or file using BFS/DFS, with a hard token budget on the respon Read tune_decision_weights Decision memory, not retrieval ranking (that is Read tune_weights Retrieval fusion ranking for Read verify_docs Verify a markdown document against the code graph — the reverse of generate_docs, for catching doc drift after Read verify_index Read-only structural check of the local SQLite index: SQLite integrity_check, foreign-key violations, required

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Trace

Can an AI agent delete data through the Trace MCP server? +

Yes. The Trace server exposes 3 destructive tools including delete_corpus, remove_dead_code, repair_index. These permanently remove resources with no undo. PolicyLayer blocks destructive tools by default so they never reach the upstream server.

How do I prevent bulk modifications through Trace? +

The Trace server has 26 write tools including add_decision, apply_codemod, apply_move. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Trace.

How many tools does the Trace MCP server expose? +

191 tools across 4 categories: Destructive, Execute, Read, Write. 159 are read-only. 32 can modify, create, or delete data.

How do I enforce a policy on Trace? +

Register the Trace MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Trace tool call.

Deterministic rules across all 191 Trace tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

191 Trace tools catalogued and risk-classified — across an index of 46,500+ MCP servers.

// WHERE THIS COMES FROM

These policies come from Trace's registry record.

The record behind this page: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.