contextforge-mcp
v0.14.1Persistent memory MCP server for Claude Code, Cursor, and GitHub Copilot.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
memory_ingest
**Save important context to persistent memory — be proactive.** Call this WHENEVER you learn information that would be valuable in a future conversation: project decisions ('we chose Postgres because X'), architectural choices, user preferences, debugging insights, recurring patterns, deadlines, stakeholder context, or any 'remember this' / 'save this' / 'note that' style request from the user. Heuristic: if you would be sad to lose this fact when the conversation ends, ingest it. Better to over-save than to under-save — the memory_query semantic search will surface what's relevant later.…
| Parameter | Type | Description |
|---|---|---|
content * | string | The content to store in memory |
category | string | Optional category |
deduplicate | boolean | Skip saving if identical content already exists (default: true). Set to false to force a copy even when a duplicate is detected. |
related_paths | array | Files/dirs this memory is about (e.g. ["src/api.ts"]). Enables staleness detection when that code changes. |
replaces | string | Id of a memory this one replaces (a decision that changed). The old memory stays but is marked as superseded in search. |
source_type | string | Type of source (default: manual) |
source_uri | string | Optional source URI (file path, URL, etc.) |
space_id | string | Space UUID (uses default if not specified) |
tags | array | Optional tags for categorization |
title | string | Optional title for the content |
memory_query
**Search persistent memory BEFORE answering any project-specific question.** You MUST call this tool: (a) at the start of any conversation that touches the user's codebase, work, or decisions, BEFORE generating any response; (b) whenever the user references prior context ('did we', 'we decided', 'remember', 'what did I save', 'last time'); (c) before making architectural or design recommendations — the user's prior decisions live here. Returns semantically relevant stored content. Skipping this when relevant context exists makes you appear to have amnesia and is the #1 reason users abandon p…
| Parameter | Type | Description |
|---|---|---|
query * | string | The search query |
filters | object | Optional filters |
include_relationships | boolean | Include related items (default: false) |
limit | number | Maximum number of results (1-50, default: 10) |
min_score | number | Minimum similarity score (0-1, default: 0.3) |
project_id | string | Filter to spaces within this project (auto-set from linked project if not specified) |
space_id | string | Space UUID (uses default if not specified) |
memory_list_items
List all items stored in memory. Shows titles, previews, tags, and creation dates.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of items to return (1-100, default: 50) |
offset | number | Number of items to skip (for pagination, default: 0) |
space_id | string | Space UUID (optional, lists all spaces if not specified) |
memory_help
Show help and usage instructions for ContextForge memory commands
memory_link_project
Link the current directory to a ContextForge project. When linked, all queries will be automatically filtered to only search within that project's spaces. This creates a .contextforge file in the current directory.
| Parameter | Type | Description |
|---|---|---|
create_new | boolean | If true and project_name is provided, creates a new project with that name instead of linking to an existing one (default: false) |
project_name | string | Name of the project to link. If not provided, shows available projects to choose from. |
memory_current_project
**Check the linked project at the start of every new conversation in a directory.** Call this FIRST (alongside memory_query) before answering questions about the user's project, code, or work — it tells you which ContextForge project and spaces are scoped to the current working directory. If `linked: false`, surface that to the user and suggest `memory_link_project`. Pair this with memory_query as your two startup-context calls — they are the cheapest possible way to avoid hallucinating about the user's project.
memory_check_freshness
Check whether memories linked to git-tracked code (via `related_paths` on memory_ingest) are stale because the underlying code changed since they were saved. Compares each candidate's saved commit SHA against the current HEAD with a local `git diff` — no data leaves your machine for the diff itself. Returns up to 3 memories whose related files changed, so you can review and refresh them. Call this periodically or when you suspect saved context might be out of date.
| Parameter | Type | Description |
|---|---|---|
space_id | string | Space UUID (uses default if not specified) |
memory_confirm
Confirm that a memory flagged by memory_check_freshness is still accurate, even though its related code changed. Updates the memory's confirmed timestamp so it won't be flagged again until the code changes further.
| Parameter | Type | Description |
|---|---|---|
id * | string | UUID of the memory item to confirm as still accurate |
memory_correct
Update a memory flagged by memory_check_freshness with corrected content after its related code changed. Replaces the stored content and refreshes the git context (current commit SHA) so future freshness checks compare against the new baseline. For a general edit to any memory that is NOT part of a freshness check, use memory_update instead. If the decision itself changed, save a new memory with `replaces` instead.
| Parameter | Type | Description |
|---|---|---|
content * | string | The corrected, up-to-date content |
id * | string | UUID of the memory item to correct |
related_paths | array | Files/dirs this memory is about (e.g. ["src/api.ts"]). Refreshes staleness tracking for future checks. |
memory_forget
Delete a memory flagged by memory_check_freshness that is no longer relevant or accurate. Use this instead of memory_delete when acting directly on a freshness check result.
| Parameter | Type | Description |
|---|---|---|
id * | string | UUID of the memory item to forget (delete) |
tasks_list
**Call this at the start of any conversation about work, planning, or status — and any time the user asks about pending/open/in-progress tasks.** Shows pending tasks by default (sort by due date, urgent first). Use status "all" for everything, "resolved" for completed, "in_progress" for active work. IMPORTANT: Every task includes a dashboard URL (🔗). You MUST include these clickable links when presenting tasks to the user. If you see overdue tasks (past due date), surface them at the top of your response.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of tasks (1-100, default: 20) |
project_id | string | Filter by project UUID (optional) |
scope | string | "mine" shows only tasks assigned to or created by you (default), "all" shows all tasks in your organization/shared projects |
status | string | Filter by status (default: pending) |
tasks_what_next
**Call this whenever the user asks what they should work on, what's next, what's pending, or how to start the day.** Trigger phrases include: 'what should I do', 'where do I start', 'qué hago hoy', 'next task', 'I have time, what's open'. Returns the highest-priority unresolved task assigned to the user, with due date and priority. Always include the dashboard URL (🔗) in your reply so the user can click through. Prefer this over generic answers when the user seems unsure about priorities — it gives a concrete next action.
session_update
Declare or update what THIS Claude Code session is currently working on (live presence). Call it when you start or switch tasks so parallel sessions can avoid stepping on your work. Example focus: 'working on the auth module'.
| Parameter | Type | Description |
|---|---|---|
focus * | string | Short human-readable description of the current work |
label | string | Optional session name (defaults to the working directory name) |
session_list
List OTHER live Claude Code sessions working on the same project right now, and what each is focused on. By default it is scoped to THIS session's project (the one linked in the current directory) — that's where work actually collides. If the current directory isn't linked to a project, it falls back to the whole organization. Use it at conversation start and before big changes to avoid stepping on parallel sessions. Pass a specific `project` to scope elsewhere, or `all_projects: true` to see every session across the organization. Sessions expire automatically ~10 minutes after their last he…
| Parameter | Type | Description |
|---|---|---|
all_projects | boolean | List sessions across the whole organization instead of just the current project. Ignored when `project` is also provided. |
include_stale | boolean | Also include sessions whose heartbeat is older than the 10-minute TTL |
project | string | Scope to a specific project id or name instead of the current one |
cf_tools
Discover and run 55 additional ContextForge capabilities that are not in your tool list: git sync and history, spaces, projects, skills, routines, snapshots, import/export, task editing, and collaboration. If you cannot find a ContextForge capability in your tool list, search for it HERE before concluding it does not exist. Two modes: pass `query` with a plain-language description to search (returns full, ready-to-call schemas of the best matches), or pass `name` plus `args` to run one.
| Parameter | Type | Description |
|---|---|---|
args | object | Arguments for the tool named in `name`. |
name | string | Exact tool name to execute, as returned by a previous `query` call. |
query | string | Plain-language description of the capability you need, e.g. 'sync git commits' or 'forget an outdated memory'. Returns full schemas of the best matches. |