MCP tools
Tracemoor gives the AI its index, projectdocs, specs and Git functions as
tools of the MCP server code-explorer. In the chat transcript, a tool call
appears with the prefix mcp__code-explorer__, for example
mcp__code-explorer__describe_symbol. See Working with the AI.
A tool marked Brave changes state. It runs only in a session in Brave mode. In Read-Only and Safe mode it answers that the session needs Brave mode. See Session modes. Several of these tools show a preview that you confirm before anything is written.
Reference projects have their own servers ce-ref-<slug> with a read-only
subset of these tools. See Reference projects and the AI.
Index and status
| Tool | Brave | Purpose |
|---|---|---|
status | Freshness of the index and counts of files, symbols and languages. | |
reanalyze_project | Starts a new analysis of the project. | |
sweep_status | State of a baseline sweep. |
Symbols and text
| Tool | Brave | Purpose |
|---|---|---|
describe_symbol | Definition, direct callers and callees of a symbol. | |
code_search | Full-text search over the source files. | |
text_search | Search for user-facing strings, including i18n values. | |
find_ui_source | From a visible UI label to the code that renders it and its event handler. | |
find_label | Ranked search over UI labels. | |
ui_elements | Structured UI elements: tag, label, handler, component. | |
find_similar | Symbols whose meaning is close to a description. | |
find_duplicates | Pairs of symbols with near-identical meaning. | |
semantic_domains | Groups the code into functional domains. | |
symbol_tests | Tests that cover a symbol. |
Graph
| Tool | Brave | Purpose |
|---|---|---|
neighbors | Direct neighbours of a file or symbol, up to three hops. | |
call_chain | All callers and callees of a symbol with code snippets. | |
call_tree | Callers and callees of a symbol as one tree. | |
transitive_callers | Callers of a symbol over several levels. | |
transitive_callees | Callees of a symbol over several levels. | |
shortest_path | Shortest import path between two files. | |
file_imports | Files a file imports. | |
file_importers | Files that import a file. | |
impact_radius | Files that depend on a file, directly or indirectly. | |
dependencies_radius | Files a file depends on, directly or indirectly. | |
metrics | Lines, fan-in, fan-out and instability per file. | |
findings | Cycles, dead exports and orphan files. | |
cluster_tree | Cluster hierarchy with labels and sizes. | |
cluster_files | Files of one cluster. |
Interfaces and reference projects
| Tool | Brave | Purpose |
|---|---|---|
boundary_list | Endpoints, messages, commands and IPC calls the project provides or uses. | |
xref_links | Links between calls here and endpoints in linked references. | |
xref_unresolved | Calls here that no linked reference answers. | |
xref_call_tree | Call tree that continues into linked references. | |
xref_compare | Differences between two states of a linked reference, and calls that break. |
projectdocs
| Tool | Brave | Purpose |
|---|---|---|
projectdocs_list_phases | Phases with status and parent. | |
projectdocs_read_entry | One entry. | |
projectdocs_search_docs | Keyword search over entries. | |
projectdocs_semantic_search | Search by meaning over entries, optionally over specs. | |
projectdocs_for_symbol | Entries anchored to a symbol. | |
symbols_for_projectdoc | Symbols anchored from an entry, with current location. | |
projectdocs_create_phase | yes | Creates a phase or subphase. |
projectdocs_rename_phase | yes | Changes the title of a phase. |
projectdocs_set_phase_parent | yes | Moves a phase under another phase. |
projectdocs_set_phase_status | yes | Sets the status of a phase. |
projectdocs_mark_phase_reviewed | yes | Stamps the review time of a phase. |
projectdocs_create_entry | yes | Creates an entry. |
projectdocs_append_entry_section | yes | Appends a section to an entry. |
projectdocs_set_entry_status | yes | Sets the status of a bugreport. |
projectdocs_set_entry_tags | yes | Replaces the tags of an entry. |
projectdocs_append_comment | yes | Adds a comment block. |
projectdocs_toggle_comment | yes | Marks a comment as resolved or new. |
projectdocs_anchor_add | yes | Anchors an entry to a symbol. |
projectdocs_anchor_remove | yes | Removes a symbol anchor. |
projectdocs_sync_anchors | yes | Writes anchors that exist only in the index into the entries, then rebuilds the index from the entries. |
projectdocs_commit_anchor_add | yes | Anchors an entry to a commit. |
projectdocs_commit_anchor_remove | yes | Removes a commit anchor. |
projectdocs_verify_commit_anchors | Checks all commit anchors against the repository. | |
projectdocs_remap_commit_anchors | yes | Repairs commit anchors after a history rewrite. |
session_new_chat_from_entry | yes | Starts a new chat session with an entry or text as first message. |
Documents in the Docs View
| Tool | Brave | Purpose |
|---|---|---|
docs_list | Markdown documents of the exploration outside projectdocs and specs. | |
docs_search | Finds documents by name or content. | |
docs_read | Reads a document. | |
docs_create | yes | Creates a document. |
docs_write | yes | Replaces the content of a document. |
docs_append_section | yes | Appends a section. |
docs_rename | yes | Renames a document. |
docs_move | yes | Moves a document to another folder. |
docs_delete | yes | Deletes a document. |
Specs
| Tool | Brave | Purpose |
|---|---|---|
spec_profile_active | Active spec profile with types, links and workflow. | |
spec_list | Lists spec artifacts. | |
spec_read | Reads an artifact. | |
spec_search | Full-text search over artifacts. | |
spec_template | Template for an artifact type. | |
spec_create | yes | Creates an artifact. |
spec_update_body | yes | Replaces the body of an artifact. |
spec_set_field | yes | Sets one frontmatter field. |
spec_set_status | yes | Moves an artifact to another status. An approval needs a signer when the profile requires signatures. |
spec_batch_set_status | yes | Moves several artifacts with one signature. |
spec_request_batch_approval | yes | Prepares a batch approval for a person to sign. |
spec_list_approval_requests | Batch approvals waiting for a signature. | |
spec_add_link | yes | Links two artifacts. |
spec_remove_link | yes | Removes a link. |
spec_add_anchor | yes | Anchors an artifact to a symbol. |
spec_add_anchors_batch | yes | Adds many anchors in one pass. |
spec_remove_anchor | yes | Removes an anchor. |
spec_reanchor | yes | Moves an anchor to another symbol. |
spec_anchors_for_symbol | Artifacts anchored to a symbol. | |
spec_symbols_for_artifact | Anchors of an artifact. | |
spec_suspect_anchors | Anchors marked suspect. | |
spec_resolve_suspect | yes | Resolves a suspect anchor. |
spec_resolve_all_anchors | Resolves all anchors against the current index again. | |
spec_reindex | Rebuilds the spec index from the files. | |
reverse_spec_create_draft | yes | Creates a spec draft from code, with anchors. |
reverse_spec_list_drafts | Drafts of a run. | |
reverse_spec_accept_draft | yes | Accepts a draft. |
reverse_spec_discard_draft | yes | Discards a draft. |
reverse_spec_run_start | yes | Starts a run that generates drafts for a list of symbols. |
reverse_spec_run_status | State of a generation run. | |
spec_decompose_strategies | Strategies for capability decomposition. | |
spec_decompose_candidates | Capability candidates from the code graph. |
Coverage, traceability and signatures
| Tool | Brave | Purpose |
|---|---|---|
spec_coverage_summary | Coverage figures of the project. | |
spec_coverage_for_file | Coverage of a file. | |
spec_coverage_for_symbol | Coverage of a symbol. | |
spec_coverage_for_cluster | Coverage of a cluster. | |
spec_coverage_gaps | Code without spec coverage. | |
spec_coverage_overlay | Data of the coverage heatmap. | |
spec_traceability_matrix | Live traceability matrix. | |
spec_export_matrix_markdown | Traceability matrix as a Markdown table. | |
spec_signing_status | Signer, credential and lockout state. | |
spec_set_signer_profile | yes | Sets the local signer identity. Refused once a signing passphrase is set; then change the identity in Project Settings › Signing. |
spec_register_signer | yes | Registers the SSH public key in specs/_signers.yaml. |
spec_verify_signature | Checks the signature of an artifact. | |
spec_verify_audit_chain | Checks the audit trail. | |
audit_bundle_create | yes | Creates an audit bundle. |
audit_bundle_list | Lists audit bundles. | |
audit_bundle_open | Path of a bundle file. | |
audit_bundle_verify | Checks a bundle. |
Git, changelists and sharing
| Tool | Brave | Purpose |
|---|---|---|
changelists_list | Changelists of the exploration. | |
changelists_create | yes | Creates a changelist. |
changelists_set_active | yes | Makes a changelist active. |
exploration_status | Git state of the exploration. | |
exploration_commit | yes | Commits the exploration. |
exploration_pull | yes | Pulls the exploration from its remote. |
exploration_push | yes | Pushes the exploration. |
exploration_set_remote | yes | Sets the remote of the exploration. |
pr_list | Pull requests of the repository. | |
pr_get | One pull request. | |
pr_review_comments | Review comments of a pull request, as threads. | |
pr_reply_comment | yes | Replies to a review comment. |
Tickets and work packages
| Tool | Brave | Purpose |
|---|---|---|
tickets_providers | Configured ticket providers and their state. | |
tickets_search | Searches tickets. | |
tickets_get | One ticket. | |
tickets_children | Tickets under a parent. | |
tickets_templates | Ticket templates of the project. | |
tickets_create_meta | Projects, types and fields for a new ticket. | |
tickets_edit_meta | Editable fields of a ticket. | |
tickets_transitions | Allowed status transitions of a ticket. | |
tickets_create | yes | Creates a ticket. |
tickets_update | yes | Changes title, description or fields. |
tickets_comment | yes | Adds a comment. |
tickets_assign | yes | Assigns or unassigns a ticket. |
tickets_transition | yes | Moves a ticket to another status. |
tickets_set_parent | yes | Moves tickets under a parent. |
tickets_import_to_projectdocs | yes | Imports tickets as projectdocs entries. |
workflow_policy_get | Reads the Workflow Policy. | |
workflow_policy_set | yes | Creates or changes the Workflow Policy. |
workpackage_status | State of all open work packages. | |
workpackage_start | yes | Starts a work package branch. |
workpackage_switch | yes | Checks out another branch. |
workpackage_sync | yes | Merges the base branch into a package. |
workpackage_open_pr | yes | Opens the pull request of a package. |
workpackage_finish | yes | Finishes a merged package. |
Run configuration
| Tool | Brave | Purpose |
|---|---|---|
run_config_read | Reads run.toml or build.toml. | |
run_config_write | yes | Writes run.toml or build.toml. |
Operating an application (macOS)
| Tool | Brave | Purpose |
|---|---|---|
app_windows | Windows of running applications. | |
app_screenshot | Picture of one window. | |
app_elements | Controls of a window from the accessibility interface. | |
app_press | yes | Presses a control by its path. |
app_menu | yes | Chooses a menu entry. |
app_click | yes | Clicks at a point in a window. |
app_type | yes | Types text. |
app_key | yes | Presses a key, with modifiers. |
app_scroll | yes | Scrolls. |
app_drag | yes | Drags from one point to another. |