cuemap-mcp
v0.7.5Local memory and context retrieval for AI agents through CueMap.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cuemap_init_preview
Preview supported repository files without ingesting content. Call this before first-time repository initialization, present the grouped paths to the user, and ask them to confirm or adjust the selection before calling cuemap_init.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the repository root. |
ignoredExtensions | array | Optional additional excluded extensions without a leading dot. |
ignoredPatterns | array | Optional additional gitignore-style exclusion patterns. |
includedPaths | array | Optional repository-relative files or folders to preview. Empty means every supported file allowed by ignore rules. |
projectName | string | Optional project ID. Defaults to the stable repository-scoped CueMap project ID. |
cuemap_init
Apply a user-confirmed repository ingestion scope and start CueMap's incremental filesystem watcher. Always call cuemap_init_preview first for a new repository and obtain explicit user confirmation before setting confirmed=true.
| Parameter | Type | Description |
|---|---|---|
confirmed * | boolean | Must be true only after the user explicitly confirms the previewed ingestion scope. |
path * | string | Absolute path to the repository root. |
ignoredExtensions | array | Additional excluded extensions without a leading dot. |
ignoredPatterns | array | Additional gitignore-style exclusion patterns approved by the user. |
includedPaths | array | User-approved repository-relative files or folders. Empty means every supported file allowed by ignore rules. |
projectName | string | Optional project ID. Defaults to the stable repository-scoped CueMap project ID. |
cuemap_add
Store a natural-language memory in CueMap. Uses the repository-scoped default project unless one is supplied, creates it when needed, and applies deterministic cue extraction plus any cues and metadata.
| Parameter | Type | Description |
|---|---|---|
content * | string | The natural-language memory content to store. |
async_ingest | boolean | Process ingestion in the background and return immediately. Default is false. |
cues | array | Normally omit: CueMap generates cues from content automatically. Optionally add deliberate reusable tags, e.g. type:conversation for an explicitly saved conversation. |
disable_temporal_chunking | boolean | Disable temporal chunking for this memory. Default is false. |
embedding | array | Optional precomputed memory embedding. |
event_time | number | Optional original event timestamp as Unix seconds. Defaults to ingestion time. |
metadata | object | Optional JSON metadata to store with the memory. |
project | string | Optional project ID. Defaults to a stable ID derived from the current Git repository. |
source_key | string | Optional stable source key for deterministic upsert/deduplication. |
cuemap_intent_classify
Classify text with CueMap's local intent model and return recall/memory eligibility signals. Scores are ranking signals, not calibrated probabilities.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
project | string | Optional project ID. Defaults to the repository-scoped project. |
target | string | Classification target. Default is query. |
cuemap_status
Check CueMap background ingestion progress for a project. After cuemap_init, poll this tool until verified_complete is true. An initial idle status with 0/0 writes is not proof that ingestion completed.
| Parameter | Type | Description |
|---|---|---|
project | string | Optional project ID. Defaults to the stable repository-scoped CueMap project ID. |
cuemap_projects
List CueMap projects, summary metadata, and whether each project is currently loaded in RAM.
cuemap_project_save
Persist the current state of a CueMap project without unloading it. Package operations save automatically; use this only when an explicit durable checkpoint is useful.
| Parameter | Type | Description |
|---|---|---|
project | string | Project ID to save. Defaults to the repository-scoped project. |
cuemap_project_load
Load a persisted CueMap project into RAM before a latency-sensitive operation. Normal project requests load automatically, so use this for explicit warm-up.
| Parameter | Type | Description |
|---|---|---|
project | string | Project ID to load. Defaults to the repository-scoped project. |
cuemap_project_unload
Persist and unload a CueMap project from RAM to reduce memory use. Use only when the user explicitly asks to unload or free inactive project memory; active projects return a retryable busy error.
| Parameter | Type | Description |
|---|---|---|
project | string | Project ID to unload. Defaults to the repository-scoped project. |
cuemap_project_pack
Write a ready-to-query .cuemap package for one project to a local file. The package contains sensitive project content; use only after the user explicitly approves the exact output path.
| Parameter | Type | Description |
|---|---|---|
output_path * | string | Absolute local path for the .cuemap file. |
confirmed | boolean | Must be true after explicit user approval of the output path and any overwrite. |
overwrite | boolean | Replace an existing output file. Default is false. |
project | string | Project ID to package. Defaults to the repository-scoped project. |
cuemap_project_package_load
Install and warm a local .cuemap package. Use only after the user explicitly approves the exact package path; existing projects are never overwritten.
| Parameter | Type | Description |
|---|---|---|
package_path * | string | Absolute local path to the .cuemap package. |
confirmed | boolean | Must be true after explicit user approval of the package path. |
cuemap_project_push
Pack and upload a CueMap project with the engine host's configured AWS CLI. Use only after explicit approval of the exact S3 destination; an existing object at that URI may be replaced.
| Parameter | Type | Description |
|---|---|---|
destination * | string | Exact S3 object URI or prefix. |
confirmed | boolean | Must be true after explicit user approval of the S3 destination. |
project | string | Project ID to push. Defaults to the repository-scoped project. |
cuemap_project_pull
Download, install, and warm a .cuemap package with the engine host's configured AWS CLI. Use only after explicit approval of the exact S3 source; existing projects are never overwritten.
| Parameter | Type | Description |
|---|---|---|
source * | string | Exact S3 object URI for a .cuemap package. |
confirmed | boolean | Must be true after explicit user approval of the S3 source. |
cuemap_project_sync
Fast-forward a project through immutable history at an S3 sync root. Pushes local-only changes, pulls remote-only changes, and refuses divergent histories or stale concurrent writes. Use only after explicit approval of the project and exact S3 root.
| Parameter | Type | Description |
|---|---|---|
remote * | string | Exact S3 root used for this project's sync history. |
confirmed | boolean | Must be true after explicit user approval of the project and S3 sync root. |
project | string | Project ID to synchronize. Defaults to the repository-scoped project. |
cuemap_stats
Read CueMap statistics for the repository-scoped project or globally across the engine.
| Parameter | Type | Description |
|---|---|---|
global | boolean | Return global engine statistics instead of project statistics. Default is false. |
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_memory_get
Get one stored memory as readable text with source metadata. Pass the memory_id and owning project_id from recall as memory_id and project. Does not expand neighbors or read live source files.
| Parameter | Type | Description |
|---|---|---|
memory_id * | integer | |
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_memory_reinforce
Reinforce one CueMap memory, optionally along specific cue pathways.
| Parameter | Type | Description |
|---|---|---|
memory_id * | integer | |
cues | array | |
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_memory_delete
Permanently delete one CueMap memory. Set confirmed=true only after explicit user confirmation.
| Parameter | Type | Description |
|---|---|---|
confirmed * | boolean | Must be true only after the user explicitly confirms permanent deletion. |
memory_id * | integer | |
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_ingest_url
Explicitly ingest content from a URL, optionally crawling same-domain links. Use only when the user asks to ingest that URL.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
depth | integer | Crawl depth. Zero ingests only the supplied page. |
project | string | Optional project ID. Defaults to the repository-scoped project. |
same_domain_only | boolean | Restrict recursive crawling to the starting domain. Default is true. |
cuemap_ingest_content
Explicitly ingest supplied raw content into CueMap. Use only when the user asks to persist that content.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
embeddings | array | Optional one-vector-per-produced-chunk embeddings. |
filename | string | Logical source filename used for type detection. Default is content.txt. |
metadata | object | |
project | string | Optional project ID. Defaults to the repository-scoped project. |
segment_max_chunk_chars | integer | |
segment_min_chunk_chars | integer | |
segment_overlap | integer | |
segment_window_size | integer | |
segmenter | string | How content is split. "conversation" is for chat histories (Claude or ChatGPT exports, JSON message lists, or transcripts whose lines start with User:/Assistant: or speaker names): one memory per mess… |
source_key | string | Stable source key for deterministic replacement or deduplication. |
structural_cues | array | Normally omit: CueMap extracts structural cues automatically. Optionally add reliable source structure or a reusable category such as type:conversation. |
cuemap_ingest_file
Explicitly ingest one local file into CueMap. Use only for a file the user has placed in scope and asked to ingest.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or repository-relative path to the file. |
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_project_export
Export a cursor-paginated page of memories from a CueMap project.
| Parameter | Type | Description |
|---|---|---|
cursor | ||
include_content | boolean | |
include_cues | boolean | |
include_metadata | boolean | |
limit | integer | |
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_project_artifacts
Inspect CueBridge artifact metadata for a CueMap project without reloading or mutating it.
| Parameter | Type | Description |
|---|---|---|
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_alias_list
List manual cue aliases associated with one cue.
| Parameter | Type | Description |
|---|---|---|
cue * | string | |
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_alias_add
Add a manual weighted mapping from one cue to another.
| Parameter | Type | Description |
|---|---|---|
from * | string | |
to * | string | |
project | string | Optional project ID. Defaults to the repository-scoped project. |
weight | number | Association weight from 0 to 1. Default is 1. |
cuemap_alias_merge
Merge multiple cues into one canonical cue. Set confirmed=true only after explicit user confirmation.
| Parameter | Type | Description |
|---|---|---|
confirmed * | boolean | Must be true only after the user explicitly confirms the merge. |
cues * | array | |
to * | string | |
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_lexicon_inspect
Inspect one cue and its Lexicon relationships.
| Parameter | Type | Description |
|---|---|---|
cue * | string | |
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_lexicon_graph
Read the current Lexicon graph for a project.
| Parameter | Type | Description |
|---|---|---|
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_lexicon_wire
Manually wire a token to a canonical Lexicon cue.
| Parameter | Type | Description |
|---|---|---|
canonical * | string | |
token * | string | |
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_lexicon_delete
Permanently delete one Lexicon entry. Set confirmed=true only after explicit user confirmation.
| Parameter | Type | Description |
|---|---|---|
confirmed * | boolean | Must be true only after the user explicitly confirms permanent deletion. |
entry_id * | ||
project | string | Optional project ID. Defaults to the repository-scoped project. |
cuemap_recall
Recall evidence for a focused question; follow up with narrower queries as needed. Returns engine JSON with project_id and memory_id handles, source metadata, and requested diagnostics in text and structuredContent. Use handles with cuemap_memory_get when the stored record is needed. Hybrid locally reranks lexical candidates. Start with a small limit and depth 1; enable reconstruction only when surrounding evidence is needed.
| Parameter | Type | Description |
|---|---|---|
query * | string | The natural language query to search the codebase memory for. |
auto_reinforce | boolean | Automatically reinforce retrieved memories. Default is false. |
cuebridge_gap_limit | number | Maximum CueBridge gap expansions. Default is 6. |
cues | array | Normally omit: CueMap generates cues from the query. Supply known tags only to deliberately narrow lexical/hybrid recall, e.g. type:conversation to search tagged conversations. |
depth | number | Depth of multi-hop recall. Default is 1. |
disable_alias_expansion | boolean | Disable alias expansion during querying. Default is true. |
disable_cuebridge_artifacts | boolean | Disable CueBridge artifact expansion. Default is false. |
disable_salience_bias | boolean | Disable salience bias scoring. Default is false. |
evidence_coverage | string | Evidence coverage mode for multi-evidence answers. Default is off. |
evidence_coverage_limit | number | Result scan limit for evidence coverage. Default is 100. |
evidence_coverage_max_sessions | number | Maximum sessions considered for evidence coverage. Default is 3. |
evidence_coverage_session_scan_limit | number | Per-session scan limit for evidence coverage. Default is 4096. |
expansion_depth | Neighbor context expansion. 1 returns the matched chunk; values above 1 include nearby parent chunks or source-ordered context with radius expansion_depth - 1 when linkage exists. "conversation_round"… | |
explain | boolean | Include explain component for debug information in results. Default is false. |
limit | number | Optional limit on the number of results to return. Default is 10. |
min_intersection | number | Minimum intersection count for retrieval. Default is 0. |
ordered_max_sessions | number | Maximum sessions considered for ordered reconstruction. Default is 3. |
ordered_reconstruction | string | Ordered session reconstruction mode. Default is off. |
ordered_reconstruction_limit | number | Result scan limit for ordered reconstruction. Default is 80. |
ordered_session_scan_limit | number | Per-session scan limit for ordered reconstruction. Default is 4096. |
parent_fusion | string | Parent fusion mode for chunk-parent reconstruction. Default is off. |
parent_fusion_limit | number | Candidate limit for parent fusion. Default is 80. |
parent_fusion_min_chunks | number | Minimum sibling chunks required for parent fusion. Default is 2. |
preview_chars | integer | Maximum leading content length per hit in preview mode (100–2000 UTF-16 code units; default 200). Does not cap metadata or diagnostics. Ignored in full mode. |
projects | array | Optional list of project IDs to scope the search to. Provide multiple for cross-project recall. If not provided, searches the default project. |
query_embedding | array | Optional precomputed query vector. Use this when the application owns the embedding provider. |
query_time | string | Optional timestamp or natural-language time anchor used by v0.7 temporal query intent. |
response_mode | string | Default full. Use preview for broad discovery to return only a leading excerpt per hit, with IDs and source metadata. Fetch promising stored memories with cuemap_memory_get; previews are not complete… |
semantic_mode | string | Query signal mode. lexical uses cue recall only, semantic uses vector candidate discovery, and hybrid reranks lexical candidates. Default is hybrid. |
trace_timing | boolean | Include v0.7 timing diagnostics in the response. Default is false. |