Cuemap Mcp

io.github.cuemap-dev由 GitHub 帳號 cuemap-dev 發布v0.7.5更新於 Oct 24, 2026

Local memory and context retrieval for AI agents through CueMap.

概覽

AI 產生的概覽

本機 CueMap 記憶伺服器,讓 AI 程式設計助理匯入程式碼儲存庫並以語意搜尋回想程式碼庫脈絡。

可以做什麼
  • 預覽並確認儲存庫匯入範圍,接著啟動並監控背景索引
  • 以自然語言語意搜尋回想程式碼庫脈絡,可依專案、線索或時間限定
  • 儲存、讀取、強化與刪除單筆記憶,並對文字做意圖分類
  • 檢視、載入、儲存、卸載、封裝、匯出與同步專案,包含 S3 傳輸
  • 明確匯入網址、爬取頁面、提供的文字或單一本機檔案
  • 管理線索別名與 Lexicon 關係
適用情境
適合希望 AI 程式設計助理跨程式碼庫或筆記集合長期記住並檢索脈絡、不必每次重新讀取檔案的情境。適用於以儲存庫為範圍的調查,以及桌面端的長期專案記憶。
執行需求
以 npm 套件 cuemap-mcp 透過 stdio 在本機執行;預先編譯的 Rust 引擎二進位檔透過選用 npm 相依套件下載,因此套件管理器需允許安裝選用相依套件。支援 Linux x64/ARM64、macOS x64/ARM64 與 Windows x64。選用環境變數包括 CUEMAP_PORT、CUEMAP_CONFIG_PATH、CUEMAP_URL、CUEMAP_PROJECT 與 CUEMAP_LOG_PATH。S3 傳輸工具依賴主機已設定的 AWS CLI。
安裝前請注意
匯入會讀取儲存庫檔案並持續監看其變更,套用前請先確認預覽的範圍。刪除記憶、合併別名與刪除 Lexicon 需要明確確認且無法復原。專案推送、拉取與同步會使用主機的 AWS 憑證把封裝傳送到 S3。啟用後,回想操作可能自動強化檢索到的記憶。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Cuemap Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[CueMap]

CueMap MCP Server v0.7.5

A premium MCP bridge for explainable, repository-aware agent memory.

[npm] [npm downloads] [MCP compatible] [License]

The Model Context Protocol (MCP) server for CueMap, allowing AI coding assistants (like Claude Desktop, Cursor, Windsurf, and Antigravity) to instantly recall codebase context using the CueMap engine.

For agent-facing operating guidance—including repository consent, supported content types, recall modes, accuracy-oriented knob selection, and troubleshooting—see SKILL.md.

Zero-Config Deployment

The CueMap MCP Server is designed to work completely out-of-the-box. When started, it automatically manages a high-performance Rust instance of the CueMap Server in the background. The v0.7.3 engine bundles qint8 MiniLM-L3 by default and q4 MiniLM-L3 for the edge profile; no model download occurs at runtime.

You do not need to install or run the CueMap CLI manually. The correct pre-compiled binary for your operating system is automatically downloaded via optional NPM dependencies. Embedded startup supports Linux x64/ARM64, macOS x64/ARM64, and Windows x64.

Installation

bash
# Global installation makes the `cuemap-mcp` command availablenpm install -g cuemap-mcp

(Note: Ensure your package manager is configured to download optionalDependencies so the local Rust binary is included).

Agent Plugin

CueMap also ships a separate cuemap-agent-plugin package for Agent Plugins-compatible clients. It bundles the portable plugin.json manifest, stdio mcp.json configuration, and a repository-memory skill. The plugin launches this MCP server at the matching release version and must be installed or downloaded separately from cuemap-mcp.

Configuration (Environment Variables)

By default, the embedded engine runs on port 8735. You can customize the server behavior by passing the following environment variables in your MCP configuration:

  • CUEMAP_PORT: Override the port the embedded engine binds to (default: 8735).
  • CUEMAP_CONFIG_PATH: Absolute path to a custom server_config.toml to configure advanced Engine tuning, background jobs, and RAG search parameters.
  • CUEMAP_URL: If you prefer to bypass the embedded engine and connect to a remotely hosted or separately running CueMap server, specify its URL here (e.g. http://localhost:8735).
  • CUEMAP_PROJECT: Override the default project. Without this setting, CueMap derives a stable repository-scoped project from the current Git remote or working directory.
  • CUEMAP_LOG_PATH: Override the embedded engine log path. It defaults to ~/.cuemap/server.log, which is the file read by cuemap logs.

Server lifecycle

The MCP server calls EmbeddedCueMap.start() as soon as Codex launches the plugin process, before any CueMap tool is invoked. It attaches to a compatible engine already listening at CUEMAP_URL or the configured port; otherwise it starts and owns a local engine automatically. cuemap_init does not start the server—it previews or applies a confirmed repository scope after the engine is ready. An engine owned by the MCP process is stopped gracefully when that process exits.

Using with AI Agents

To use this MCP server with your AI assistant, add it to your assistant's MCP configuration file.

Example Configuration (Claude Desktop)

json
{  "mcpServers": {    "cuemap": {      "command": "npx",      "args": [        "-y",        "cuemap-mcp"      ],      "env": {        "CUEMAP_PORT": "8735"      }    }  }}

Available Tools

  • cuemap_init_preview: Performs a read-only repository metadata scan and returns supported top-level folders/root files, counts, the stable repository project ID, and any existing saved scope. Present this preview to the user before ingestion.

    • path (string): Absolute path to the repository root.
    • projectName (string, optional): Project ID override. Defaults to the stable repository-scoped ID.
    • includedPaths (string[], optional): Repository-relative files or folders to preview. Empty means all supported files allowed by ignore rules.
    • ignoredPatterns (string[], optional): Additional gitignore-style exclusions.
    • ignoredExtensions (string[], optional): Additional excluded extensions.
  • cuemap_init: Applies a user-confirmed repository ingestion scope, starts the initial scan, and keeps watching that scope for new, changed, deleted, newly ignored, or newly unignored supported files. It only reports verified completion after observing ingestion activity, reaching a terminal job phase, and completing intent annotation; an initial idle status with 0/0 writes is not considered complete.

    • path (string): Absolute path to the repository root.
    • projectName (string, optional): Project ID override. Defaults to the stable repository-scoped ID.
    • includedPaths (string[], optional): User-approved repository-relative files or folders. Empty means all supported files allowed by ignore rules.
    • ignoredPatterns (string[], optional): Additional gitignore-style exclusions.
    • ignoredExtensions (string[], optional): Additional excluded extensions.
    • confirmed (boolean): Must be true only after explicit user confirmation of the previewed scope.
  • cuemap_status: Returns project-scoped background ingestion progress plus derived monitoring fields. Poll it after cuemap_init until verified_complete is true.

    • project (string, optional): Project ID override. Defaults to the stable repository-scoped ID.
    • active: Whether the current phase is non-terminal or writes/intent annotations remain pending.
    • observed_activity: Whether this MCP process has observed an active phase or positive write/intent counts for the project.
    • pending_writes: Remaining writes based on the latest totals.
    • pending_intents: Remaining memory intent annotations based on the latest totals.
    • verified_complete: True only after activity has been observed, the project reaches done or idle, no work failed or remains pending, and intent_ready is not false.

Project inspection and memory lifecycle

  • cuemap_projects: List projects and their summary metadata, including whether each project is currently loaded in RAM.
  • cuemap_project_load: Explicitly warm a persisted project before a latency-sensitive operation. Ordinary project requests demand-load it when needed.
  • cuemap_project_save: Persist a current snapshot without unloading it.
  • cuemap_project_unload: Persist and unload a project to reduce memory usage. Active work can produce a retryable busy response.
  • cuemap_project_pack / cuemap_project_package_load: Write or load a ready-to-query local .cuemap package.
  • cuemap_project_push / cuemap_project_pull: Transfer a package through S3 using the engine host's configured AWS CLI.
  • cuemap_project_sync: Fast-forward immutable S3 history and refuse divergence.
  • cuemap_stats: Read repository-project statistics, or global engine statistics with global: true.
  • cuemap_memory_get: Read one memory as decoded text and provenance by numeric memory_id and owning project. Requires an engine supporting GET /memories/:id?decoded=true; older engines return an upgrade error through this tool.
  • cuemap_memory_reinforce: Reinforce one memory, optionally on explicit cues.
  • cuemap_memory_delete: Permanently delete one memory. Requires confirmed: true after explicit user confirmation.
  • cuemap_project_export: Export a cursor-paginated project page with configurable content, cue, and metadata inclusion.
  • cuemap_project_artifacts: Inspect CueBridge artifact metadata without reloading it.

Explicit ingestion

  • cuemap_ingest_url: Ingest one URL or recursively crawl it with depth and same_domain_only controls.
  • cuemap_ingest_content: Ingest supplied text with filename, source-key, metadata, structural-cue, segmentation, and optional one-vector-per-produced-chunk embeddings.
  • cuemap_ingest_file: Ingest one user-approved local file path.

These tools are for explicit ingestion requests. Repository initialization continues to use the preview, confirmation, and watcher workflow above.

Alias and Lexicon administration

  • cuemap_alias_list, cuemap_alias_add, cuemap_alias_merge: Inspect and manage manual cue aliases. Merging requires confirmed: true.

  • cuemap_lexicon_inspect, cuemap_lexicon_graph, cuemap_lexicon_wire, cuemap_lexicon_delete: Inspect and administer Lexicon relationships. Deletion requires confirmed: true.

  • cuemap_add: Stores one natural-language memory. The project is created automatically if it does not exist.

    • content (string): Memory content to store.
    • project (string, optional): Project ID that will own the memory. Defaults to the current repository-scoped project.
    • cues (string[], optional): Explicit cues/tags to associate with the memory.
    • metadata (object, optional): JSON metadata to store with the memory.
    • source_key (string, optional): Stable source key for deterministic upsert/deduplication.
    • event_time (number, optional): Original event timestamp as Unix seconds. Defaults to ingestion time.
    • embedding (number[], optional): Precomputed memory embedding.
    • disable_temporal_chunking (boolean, optional): Disable temporal chunking for this memory.
    • async_ingest (boolean, optional): Process ingestion in the background and return immediately.
  • cuemap_intent_classify: Classifies text with the engine's local intent model. Accepts target: "query" or "memory" and returns relative intent scores, recall/memory eligibility, confidence weight, and model/taxonomy versions. Scores are ranking signals, not calibrated probabilities.

  • cuemap_recall: Recalls context about a codebase from your CueMap integrated brain. Uses natural language and semantic search to find relevant information.

    • query (string): The natural language query to search for.
    • limit (number, optional): Maximum results to return (default: 10).
    • response_mode (full | preview, optional): Default full. Use preview for broad discovery; each hit returns a leading excerpt instead of full content, retaining IDs and metadata.
    • preview_chars (integer, optional): Preview length cap, 100–2000 UTF-16 code units (default: 200). Ignored in full mode. Metadata and diagnostics are not capped.
    • projects (string[], optional): List of project IDs to scope the search to. Multiple enables cross-project queries.
    • cues (string[], optional): Specific cue tags to filter the search.
    • query_time (string, optional): Timestamp or natural-language time anchor for v0.7 temporal query intent.
    • depth (number, optional): Depth of multi-hop recall expander (default: 1).
    • expansion_depth (number or "conversation_round", optional): Neighbor context expansion (default: "conversation_round"). Values above 1 include nearby parent chunks or source-ordered context, using a radius of expansion_depth - 1 when linkage exists. "conversation_round" prepends the message each result replies to (for an assistant reply, the user message that prompted it) when memories carry session, turn and role metadata, for example after ingesting with segmenter: "conversation". The top result also gets the message that replies to it (for a user message, the assistant's answer). Memories without conversation metadata are returned as they are; pass 1 for matched memories only. A message that would also appear lower in the results is moved up instead of repeated, so fewer than limit results can come back.
    • auto_reinforce (boolean, optional): Automatically reinforce retrieved memories (default: false).
    • min_intersection (number, optional): Minimum required cue intersection count (default: 0).
    • explain (boolean, optional): Include scoring explanation data in results (default: false).
    • trace_timing (boolean, optional): Include v0.7 timing diagnostics.
    • disable_salience_bias (boolean, optional): Disable salience scoring bias.
    • disable_alias_expansion (boolean, optional): Disable lexicon synonym injection during querying (default: true).
    • parent_fusion (off | auto | force, optional): Chunk-parent fusion mode.
    • ordered_reconstruction (off | auto | force, optional): Ordered session reconstruction mode.
    • evidence_coverage (off | auto | force, optional): Multi-evidence coverage mode.
    • disable_cuebridge_artifacts (boolean, optional): Disable CueBridge artifact expansion.
    • cuebridge_gap_limit (number, optional): Maximum CueBridge gap expansions.
    • semantic_mode (lexical, semantic, or hybrid, optional): Choose cue-only recall, vector candidate discovery, or local semantic reranking of lexical candidates. The engine default is hybrid.
  • query_embedding (number[], optional): Supply a precomputed query vector when the calling application owns the embedding provider.

Recall response and follow-up inspection

Recall returns engine JSON in both MCP structuredContent and a matching JSON text block. This replaces the earlier prose-only format. Each identified memory carries project_id and memory_id; metadata, source locations, and requested diagnostics are preserved as supplied by the engine. Explicit project queries may return project blocks containing their own results or error, including empty groups. Ordinary unscoped queries return memory records directly in results.

Use a hit's project and ID with cuemap_memory_get when the stored record is needed. That tool returns readable content without vectors or compressed storage bytes; it does not expand neighboring chunks or read live files. Prefer opening the cited source when recall already returned the relevant text. Follow-up recalls should address a new evidence gap. See SKILL.md for the coding investigation workflow and bounded recall controls.

For broad discovery, pass response_mode: "preview". A hit's content is replaced by preview, content_truncated, and content_length (UTF-16 code units). This is a leading excerpt, not a generated summary or query-selected snippet. Full content is omitted from both MCP output forms; fetch promising memories by their project/ID or read the live source. Full mode remains the default. The engine shapes previews before sending its response. This does not change ranking or retrieval work, and does not limit metadata or diagnostics.

License

The MCP server package is MIT-licensed. Its optional native engine dependencies are separate packages: v0.7.3 and later engine packages are Apache-2.0, while pre-v0.7.3 engine packages remain under BSL-1.1. See LICENSE for the MCP server license.

來源:README.md,提交 f27dd0a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.7.5最新Oct 16, 2026
  2. v0.7.4Sep 20, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分