cuemap-mcp

v0.7.5
io.github.cuemap-dev/cuemap-mcp Checked 3 days ago Published 1 month ago

Local 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.

ParameterTypeDescription
path *stringAbsolute path to the repository root.
ignoredExtensionsarrayOptional additional excluded extensions without a leading dot.
ignoredPatternsarrayOptional additional gitignore-style exclusion patterns.
includedPathsarrayOptional repository-relative files or folders to preview. Empty means every supported file allowed by ignore rules.
projectNamestringOptional 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.

ParameterTypeDescription
confirmed *booleanMust be true only after the user explicitly confirms the previewed ingestion scope.
path *stringAbsolute path to the repository root.
ignoredExtensionsarrayAdditional excluded extensions without a leading dot.
ignoredPatternsarrayAdditional gitignore-style exclusion patterns approved by the user.
includedPathsarrayUser-approved repository-relative files or folders. Empty means every supported file allowed by ignore rules.
projectNamestringOptional 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.

ParameterTypeDescription
content *stringThe natural-language memory content to store.
async_ingestbooleanProcess ingestion in the background and return immediately. Default is false.
cuesarrayNormally omit: CueMap generates cues from content automatically. Optionally add deliberate reusable tags, e.g. type:conversation for an explicitly saved conversation.
disable_temporal_chunkingbooleanDisable temporal chunking for this memory. Default is false.
embeddingarrayOptional precomputed memory embedding.
event_timenumberOptional original event timestamp as Unix seconds. Defaults to ingestion time.
metadataobjectOptional JSON metadata to store with the memory.
projectstringOptional project ID. Defaults to a stable ID derived from the current Git repository.
source_keystringOptional 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.

ParameterTypeDescription
text *string
projectstringOptional project ID. Defaults to the repository-scoped project.
targetstringClassification 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.

ParameterTypeDescription
projectstringOptional 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.

ParameterTypeDescription
projectstringProject 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.

ParameterTypeDescription
projectstringProject 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.

ParameterTypeDescription
projectstringProject 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.

ParameterTypeDescription
output_path *stringAbsolute local path for the .cuemap file.
confirmedbooleanMust be true after explicit user approval of the output path and any overwrite.
overwritebooleanReplace an existing output file. Default is false.
projectstringProject 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.

ParameterTypeDescription
package_path *stringAbsolute local path to the .cuemap package.
confirmedbooleanMust 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.

ParameterTypeDescription
destination *stringExact S3 object URI or prefix.
confirmedbooleanMust be true after explicit user approval of the S3 destination.
projectstringProject 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.

ParameterTypeDescription
source *stringExact S3 object URI for a .cuemap package.
confirmedbooleanMust 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.

ParameterTypeDescription
remote *stringExact S3 root used for this project's sync history.
confirmedbooleanMust be true after explicit user approval of the project and S3 sync root.
projectstringProject ID to synchronize. Defaults to the repository-scoped project.

cuemap_stats

Read CueMap statistics for the repository-scoped project or globally across the engine.

ParameterTypeDescription
globalbooleanReturn global engine statistics instead of project statistics. Default is false.
projectstringOptional 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.

ParameterTypeDescription
memory_id *integer
projectstringOptional project ID. Defaults to the repository-scoped project.

cuemap_memory_reinforce

Reinforce one CueMap memory, optionally along specific cue pathways.

ParameterTypeDescription
memory_id *integer
cuesarray
projectstringOptional project ID. Defaults to the repository-scoped project.

cuemap_memory_delete

Permanently delete one CueMap memory. Set confirmed=true only after explicit user confirmation.

ParameterTypeDescription
confirmed *booleanMust be true only after the user explicitly confirms permanent deletion.
memory_id *integer
projectstringOptional 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.

ParameterTypeDescription
url *string
depthintegerCrawl depth. Zero ingests only the supplied page.
projectstringOptional project ID. Defaults to the repository-scoped project.
same_domain_onlybooleanRestrict 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.

ParameterTypeDescription
content *string
embeddingsarrayOptional one-vector-per-produced-chunk embeddings.
filenamestringLogical source filename used for type detection. Default is content.txt.
metadataobject
projectstringOptional project ID. Defaults to the repository-scoped project.
segment_max_chunk_charsinteger
segment_min_chunk_charsinteger
segment_overlapinteger
segment_window_sizeinteger
segmenterstringHow 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_keystringStable source key for deterministic replacement or deduplication.
structural_cuesarrayNormally 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.

ParameterTypeDescription
path *stringAbsolute or repository-relative path to the file.
projectstringOptional project ID. Defaults to the repository-scoped project.

cuemap_project_export

Export a cursor-paginated page of memories from a CueMap project.

ParameterTypeDescription
cursor
include_contentboolean
include_cuesboolean
include_metadataboolean
limitinteger
projectstringOptional project ID. Defaults to the repository-scoped project.

cuemap_project_artifacts

Inspect CueBridge artifact metadata for a CueMap project without reloading or mutating it.

ParameterTypeDescription
projectstringOptional project ID. Defaults to the repository-scoped project.

cuemap_alias_list

List manual cue aliases associated with one cue.

ParameterTypeDescription
cue *string
projectstringOptional project ID. Defaults to the repository-scoped project.

cuemap_alias_add

Add a manual weighted mapping from one cue to another.

ParameterTypeDescription
from *string
to *string
projectstringOptional project ID. Defaults to the repository-scoped project.
weightnumberAssociation 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.

ParameterTypeDescription
confirmed *booleanMust be true only after the user explicitly confirms the merge.
cues *array
to *string
projectstringOptional project ID. Defaults to the repository-scoped project.

cuemap_lexicon_inspect

Inspect one cue and its Lexicon relationships.

ParameterTypeDescription
cue *string
projectstringOptional project ID. Defaults to the repository-scoped project.

cuemap_lexicon_graph

Read the current Lexicon graph for a project.

ParameterTypeDescription
projectstringOptional project ID. Defaults to the repository-scoped project.

cuemap_lexicon_wire

Manually wire a token to a canonical Lexicon cue.

ParameterTypeDescription
canonical *string
token *string
projectstringOptional project ID. Defaults to the repository-scoped project.

cuemap_lexicon_delete

Permanently delete one Lexicon entry. Set confirmed=true only after explicit user confirmation.

ParameterTypeDescription
confirmed *booleanMust be true only after the user explicitly confirms permanent deletion.
entry_id *
projectstringOptional 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.

ParameterTypeDescription
query *stringThe natural language query to search the codebase memory for.
auto_reinforcebooleanAutomatically reinforce retrieved memories. Default is false.
cuebridge_gap_limitnumberMaximum CueBridge gap expansions. Default is 6.
cuesarrayNormally 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.
depthnumberDepth of multi-hop recall. Default is 1.
disable_alias_expansionbooleanDisable alias expansion during querying. Default is true.
disable_cuebridge_artifactsbooleanDisable CueBridge artifact expansion. Default is false.
disable_salience_biasbooleanDisable salience bias scoring. Default is false.
evidence_coveragestringEvidence coverage mode for multi-evidence answers. Default is off.
evidence_coverage_limitnumberResult scan limit for evidence coverage. Default is 100.
evidence_coverage_max_sessionsnumberMaximum sessions considered for evidence coverage. Default is 3.
evidence_coverage_session_scan_limitnumberPer-session scan limit for evidence coverage. Default is 4096.
expansion_depthNeighbor 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"…
explainbooleanInclude explain component for debug information in results. Default is false.
limitnumberOptional limit on the number of results to return. Default is 10.
min_intersectionnumberMinimum intersection count for retrieval. Default is 0.
ordered_max_sessionsnumberMaximum sessions considered for ordered reconstruction. Default is 3.
ordered_reconstructionstringOrdered session reconstruction mode. Default is off.
ordered_reconstruction_limitnumberResult scan limit for ordered reconstruction. Default is 80.
ordered_session_scan_limitnumberPer-session scan limit for ordered reconstruction. Default is 4096.
parent_fusionstringParent fusion mode for chunk-parent reconstruction. Default is off.
parent_fusion_limitnumberCandidate limit for parent fusion. Default is 80.
parent_fusion_min_chunksnumberMinimum sibling chunks required for parent fusion. Default is 2.
preview_charsintegerMaximum 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.
projectsarrayOptional list of project IDs to scope the search to. Provide multiple for cross-project recall. If not provided, searches the default project.
query_embeddingarrayOptional precomputed query vector. Use this when the application owns the embedding provider.
query_timestringOptional timestamp or natural-language time anchor used by v0.7 temporal query intent.
response_modestringDefault 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_modestringQuery signal mode. lexical uses cue recall only, semantic uses vector candidate discovery, and hybrid reranks lexical candidates. Default is hybrid.
trace_timingbooleanInclude v0.7 timing diagnostics in the response. Default is false.