Skip to main content
Glama

Your agent knows code. Give it the decisions behind yours.

Connect your code, docs, and conversations so your agents can find the right files, recall saved decisions, and build on past work across sessions and tools.

The numbers, their sources, and what they do not claim are under Benchmarks.

Related MCP server: Doclea MCP

Start free with MCP

10,000 monthly credits. No credit card required.

Works with Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, Qwen Code, Kimi Code, Muse Code, ZCode, Zed, and more MCP clients, on Claude, GPT, Gemini, Kimi, GLM, Qwen, and other models. Create your account or sign in during MCP onboarding. No separate website signup needed.

macOS and Linux

curl -fsSL https://contextstream.io/scripts/mcp.sh | bash

Windows PowerShell

irm https://contextstream.io/scripts/mcp.ps1 | iex

Paste the command into your terminal and follow onboarding to connect your project and supported editor. Restart your editor after setup.

What gets installed and indexed? · Supported clients · Setup guide · Prefer to start on the web?

Make the next session useful

Ask your connected agent:

Use ContextStream to find the files relevant to my next change. Cite the sources and retrieve any saved project decisions that should guide the work.

Then ask it to save a real decision and its reason. Start a new session and retrieve that decision without explaining it again. Indexing supplies code context; it cannot recover every undocumented decision.

Give any AI app the project: Live Capsule

Ask your agent to "make a live capsule". One capsule(action="live") call returns:

  • a live link (/c/<token>/live) to paste into ChatGPT or Claude: small, current pages about the file tree, files, symbols, decisions, lessons, plans and docs, which the chat reads by following links;

  • an MCP link (/c/<token>/mcp) to add once as a custom connector in Claude, ChatGPT, Gemini, Cursor or any MCP app. The app shows it as "Live Capsule". It needs no sign-in, because the link is its own key.

By default a link shows no file contents and no personal items, and it expires after 7 days. Including code or personal items, or a longer expiry (up to 30 days), happens only when you ask for it. You can revoke a link at any time. When someone pastes a live link, the agent reads it with capsule(action="live_read").

Use capsule(action="create", review=...) in a local MCP session to make a Review Capsule from Git changes with secret redaction. Capsules and handoffs can show the verification state of the indexed tree.

Check your changes

Turn on remote checks with contextstream-mcp remote-checks on or session(action="remote_checks", enabled=true). In a local MCP session, check runs supported tests, lints, type checks and builds on a worker using a snapshot of your checkout. From a shell, use contextstream-mcp run -- <command>. If the worker declines the check, run runs the command on your machine. Supported toolchains.

  • Run the checks your edit needs. Use verify (also callable as ms_verify) in a local MCP session. It uses the project's dependency and test graph to choose checks. It widens the run for changes such as lockfiles, migrations, auth code, shared fixtures or configuration, and when the graph finds broad impact or cannot map the changes to tests. Ask for scope="full" to run the full detected suite before completing a task. Checks run remotely when available, with a local fallback, and stop at the first failure. To choose checks by directory, open Verification Map in the workspace's Capsules panel. The next targeted plan uses the most specific matching rules alongside the graph's checks. The panel flags stale rules.

  • Check more commands in one run. Supported && chains use one checkout upload and stop on the first failure. The MCP reports stages as they run when the client supplies a progress token. Try npx prisma generate && npx tsc --noEmit, npx next typegen && npx tsc --noEmit or npx svelte-kit sync && npx svelte-check. Checks also cover tools such as tsgo, Oxlint, Oxfmt in check mode, vue-tsc --noEmit, astro check, ty check, Pyrefly, Basedpyright, cargo fmt --check and go tool staticcheck. Run Prettier with --check, -c, --list-different or -l through npx, pnpm exec, yarn exec, npm exec or the project's node_modules/.bin. Use the project's pinned Prettier version. The worker declines write flags such as --write and -w.

  • See what broke. When base-tree results are available, failure diagnostics put new failures ahead of existing ones. The report can cite a matching lesson, decision or commit.

  • Check consumers of a shared contract. After a successful remote check from a local MCP session, ContextStream can check indexed consumers in the same workspace. It applies eligible changed contract files to each reachable consumer's default branch in the worker and returns compiler errors with your result. The worker needs the consumer's default-branch tree from a previous check. A consumer whose change cannot be applied is reported as unverified.

  • Prepare before the first check. Supported local editor hooks can send a free :prepare call in the background to set up the worker's checkout and dependencies. A busy worker or failed preparation leaves the next check to start as usual. Remote checks can report up to 32 local tool versions. They use go version for Go and try java --version followed by java -version for Java.

  • Check saves in the background. Speculative checks are off until you opt in. With remote checks enabled, set CONTEXTSTREAM_SPECULATIVE_CHECKS=on for the editor hooks, or set speculative_checks with enabled in PUT /api/v1/mcp/hosted-tools/enabled for your account. After a supported edit and a pause, the hook can run up to three checks. A matching cached result costs no credits. The hosted service defaults to 100 speculative credits per account per hour in addition to the client's limits below. Explicit checks can still run when the speculative budget is spent.

  • Require a passing receipt. Workspace owners and admins can set a gate for pushes, pull-request creation or completion through the API. Gates start off. The policy can require specific check families. An enabled gate names what is missing when the exact Git tree lacks a fresh passing receipt. Git's managed pre-push hook checks the trees being pushed, including from a terminal. Setup installs it where Git capture is enabled. Set up verification gates.

Remote check environment variables

Set these in the environment of the local MCP process, editor hooks or shell that runs the check.

Variable

Default

What it controls

CONTEXTSTREAM_HOSTED_TOOLS

Unset, so available hosted tools can be used

off disables hosted check execution, command routing, background preparation, speculative checks and local receipt gates.

CONTEXTSTREAM_CONTRACT_CHECK

On

off skips the consumer check.

CONTEXTSTREAM_SPECULATIVE_CHECKS

Follows the account setting, which starts off

on opts in locally when check is available. off overrides the account setting.

CONTEXTSTREAM_SPECULATIVE_DEBOUNCE_MS

3000

Milliseconds to wait after a supported edit. 0 removes the wait.

CONTEXTSTREAM_SPECULATIVE_HOURLY_CAP

30

Local speculative credits per hour across repositories for the configured credential and API. 0 stops background execution.

CONTEXTSTREAM_SPECULATIVE_REPO_HOURLY_CAP

15

Local speculative credits per repository per hour. 0 stops background execution.

CONTEXTSTREAM_CHECKOUT_SNAPSHOT

Allowed when a local call needs a snapshot

off disables checkout snapshots for hosted checks, speculative checks and :prepare.

CONTEXTSTREAM_CHECKOUT_SNAPSHOT_REPOS

All repositories eligible

Limit snapshots to repositories whose origin URL or checkout folder name starts with a listed prefix. Use commas or spaces between prefixes.

CONTEXTSTREAM_HOSTED_ENV

On

off omits the streamed environment description and tool-version probes.

CONTEXTSTREAM_HOOK_ENABLED

On for installed editor hooks

off disables editor hook activity, including automatic preparation, speculative checks and editor-side gates. Git hooks have separate controls.

CONTEXTSTREAM_SESSION_INIT_ENABLED

On

false disables the session-start hook, including its :prepare trigger.

CONTEXTSTREAM_POSTWRITE_ENABLED

On

false disables the post-write indexing path and its :prepare trigger. Speculative scheduling happens before this switch is read.

CONTEXTSTREAM_GIT_CAPTURE

Follows the repository setting, then the global default

off stops Git event capture and skips managed hook installation. An already installed pre-push hook can still check receipts.

CONTEXTSTREAM_GIT_CAPTURE_DEFAULT

On

Sets the fallback for Git capture when the repository and CONTEXTSTREAM_GIT_CAPTURE leave it unset.

CONTEXTSTREAM_CAPSULE_ENABLED

On for regular sessions

off hides the capsule tool in those sessions, including Review Capsule creation.

CONTEXTSTREAM_HTTP_LOCAL_FILES

Off for HTTP connections

allow is a self-hosted gateway setting for access to the gateway's own filesystem. Use a local client to check your checkout.

The hooks also read the usual connection settings. CONTEXTSTREAM_API_KEY, CONTEXTSTREAM_WORKSPACE_ID and CONTEXTSTREAM_PROJECT_ID have no built-in value. The hooks can read them from local configuration. CONTEXTSTREAM_API_URL defaults to https://api.contextstream.io when local configuration supplies no address.

What remote checks and verification send.

Benchmarks

Each benchmark runs through the production API, is registered before its results are read, and is published with its method, confidence interval, and losses.

Benchmark

ContextStream

Compared with

LongMemEval-S, all 500 questions

96.8% (484/500); 96.0% on the half held out from tuning

Above Mastra (94.87%) and supermemory (85.4%) on the same official GPT-4o judge. Level with agentmemory's self-reported 96.2%, which is inside our 95% interval

LoCoMo, all 1,540 questions

95.7% (1474/1540); 95.8% held out; 97.8% on the audited answer key

Above every system in the EverMemOS paper's same-judge table: EverMemOS 93.05%, Zep 85.22%, MemOS 80.76%, MemU 66.67%, Mem0 64.20%

Code search, 177 judged developer queries

98.77% best answer in the top 10; 100% a useful file in the top 10

Embedding-only search 72.84% and ripgrep 42.59% on the same queries and judgments

Agent tasks, 8 tasks × 3 trials

23/24 passed (96%); 9/9 on tasks that need team knowledge

14/24 (58%) and 0/9 with the repository alone

61 ms median server-side search time (127 ms p95) in the October 27 production run. End to end it was 223 ms, because the client ran in a different region from the one serving the workspace. Your latency depends on your distance from that region.

Competitor figures are as each vendor or the EverMemOS paper published them; we did not re-run them, and readers and judges differ across rows. The code-search baselines come from the August 1 run on the same queries. The agent-task result uses one repository and one agent model, so treat it as directional. Results, methodology, and limitations.

ContextStudio

For people ContextStream Create offers one-prompt making to, the server adds one tool, studio: ask for a film, a product explainer filmed from your connected product, an image, sound or music in plain words, and ContextStudio's producer plans the pieces from what your team knows (brand kit, docs, decisions, connected products). There are no models to pick.

  • Brand work by name. Brand images (social sets in each network's size, ad sets, hero and product shots, posters and flyers with print PDFs, email headers, brand graphics) and brand sounds (sonic logos, music beds, loops, effect packs, voice-overs, podcast intros and outros): pass form, with sizes (up to 6, such as instagram-post or linkedin-post) or a voice, and the plan keeps to it.

  • Plan, then price. plan returns the pieces and one price ("up to N credits, likely about M") and spends nothing. Pass what your agent knows that the workspace may not (the diff it just made, release notes, the doc it has open) as context; the producer reads it next to the team's own context.

  • Your go-ahead. make spends at most the plan's price, and only after you agree. The agent shows you the plan and its price and passes the price you accepted. A client that shows you a form in the middle of a call (MCP elicitation) still asks you itself, for up to 45 seconds: your no wins, and if you give no answer in that time the price the agent passed counts. A client that answers through the call's result (input_required, as Claude Code does) asks you only when the agent passed no accepted price: with one, the plan is made at once. To take no go-ahead from the agent at all, set CONTEXTSTREAM_GO_AHEAD=asked (a local binary) or send X-ContextStream-Go-Ahead: asked (a hosted connection): then only your own yes in the client's form counts for spending and sending, and the delete tool, which never asks, deletes nothing.

  • Following it. status reports each piece while it waits (with notifications/progress where the call asks for them); a product film takes 13 to 21 minutes. result shows images inline and links video and sound (signed links valid about 15 minutes), with each piece's placard. Brand work comes as files, each with its own link: every size as PNG, JPG and WebP with a ZIP of the set, a print PDF, or WAV and MP3 for the web with a broadcast master and stems, plus alt text, a caption and the checks it was held to.

  • Revising. revise starts from a made image or sound: a variation (more like it), a revision (it, changed as you say) or a resize (an image in new sizes). Also stop, library, brand and products.

  • Email, where Create offers it. Manage campaigns on your team's Resend account. Ask email_audiences which lists exist, what each is for and how many people subscribe. email_contacts updates contact fields and membership, previews a CSV and imports it with your consent source, note and confirmed eligible count. Use email_segments to preview or save rules and email_recipients to see who a campaign would reach today. Draft from a prompt with email_draft or from a saved template with email_templates. Revise or duplicate the draft, compare subjects with email_ab, open a shareable mail-client preview or send a test to yourself. Before email_send sends or schedules, review the audience or segment, its purpose, eligible count, sender, local time and warnings. A live client asks you first. You can cancel a campaign, pause delivery or resume it after confirming how many people still wait. email_report shows campaign results and workspace trends. email_unsubscribes reports opt-outs, bounces and complaints, and email_diagnostics shows whether webhook events are arriving. email_connection checks or refreshes the sender and domain status. Connect Resend in the studio. Erase a contact, audience, segment or template through the full MCP's delete tool after confirmation, or on its email page in the studio.

  • Connector. The hosted path /studio serves only this tool, for Claude.ai or ChatGPT connectors, with OAuth tokens bound to that resource (read:studio, write:studio).

Data controls

Scoped access. Traceable sources. Configurable capture. Indexing sends eligible source contents to ContextStream for hosted search. Transcript saving and local Git metadata capture are on by default and can be turned off. Review data handling and controls before connecting sensitive projects.

Live run progress from the hooks (a run that starts when your agent takes up a ticket, or after two minutes of work it reported nothing on, stays live while the session works and ends with it, without the agent having to report) is off by default. Turn it on for yourself with CONTEXTSTREAM_RUN_PROGRESS_AUTO=on in the environment your editor starts with; what it sends. For Codex, run contextstream-mcp update-hooks with it set and approve the two hooks it adds with /hooks in Codex CLI.

npm (Node.js 20+)

npx -y @contextstream/mcp-server@latest setup

The npm launcher downloads the native Rust binary for your platform and verifies its SHA-256 checksum. Pin an exact package version for production automation.

Hosted MCP without a local process

For clients supporting Streamable HTTP and OAuth, the hosted endpoint is:

https://mcp.contextstream.io/mcp?default_context_mode=fast

Supported clients lists one-line add commands for Claude Code, Codex, Gemini CLI, Qwen Code, Copilot CLI, and Droid, and one-click install for VS Code. Use the MCP documentation for other clients and stdio alternatives. A hosted connection alone does not sync your local checkout.

Preview or diagnose setup

contextstream-mcp setup --dry-run
contextstream-mcp doctor
contextstream-mcp doctor --repair

Scripted and CI setup

For automation, wrap the install in pipefail so it fails when the download fails, instead of reporting success after installing nothing:

bash -o pipefail -c 'curl -fsSL https://contextstream.io/scripts/mcp.sh | bash'

setup --yes reads the key from CONTEXTSTREAM_API_KEY or saved credentials, and needs --workspace-id when the account has more than one workspace:

export CONTEXTSTREAM_API_KEY=...   # or: printf %s "$KEY" | contextstream-mcp configure --api-key-stdin
contextstream-mcp setup --yes --editors=claude --workspace-id=<UUID> --project-path=.

Package Bouncer (opt-in)

A hook for Claude Code and Cursor that checks the packages an install command names against their public registry before the command runs. It covers npm, pnpm, yarn, bun, npx, pip, uv, uvx, pipx, poetry and cargo, including claude mcp add ... -- npx ....

  • It denies a package the registry does not have, naming the popular package it looks like. An agent may have invented the name, and anyone can register it.

  • It asks before a barely downloaded lookalike of a popular package.

  • It allows everything else, including whenever a lookup fails or takes too long.

It skips projects and commands that use a private registry (.npmrc, pip.conf, uv or poetry sources, --registry, --index-url). CONTEXTSTREAM_PACKAGE_BOUNCER=off turns it off.

Claude Code: add this entry to PreToolUse in ~/.claude/settings.json, next to the hooks setup installed. update-hooks leaves it alone.

{ "matcher": "Bash", "hooks": [{ "type": "command", "command": "contextstream-mcp hook package-bouncer", "timeout": 8 }] }

Cursor (~/.cursor/hooks.json):

{ "version": 1, "hooks": { "beforeShellExecution": [{ "command": "contextstream-mcp hook package-bouncer" }] } }

Open source and contributing

This repository contains the MIT-licensed Rust MCP server, client, editor setup, and release tooling. The hosted backend is separate and is not included here. See the architecture, release integrity, and latest release.

cargo build --locked -p mcp-server --bin contextstream-mcp
cargo test --locked --workspace

Use the pinned Rust toolchain. For contribution checks and commit sign-off, read CONTRIBUTING.md. Report vulnerabilities using SECURITY.md. See LICENSE, NOTICE, and GOVERNANCE.md for licensing, trademarks, and project governance.


Let humans be human.

Docs · Pricing · Integrations · Benchmarks

Optional deep project learning

Deep project learning starts off for new accounts. Interactive setup offers it once per account (or once when terms change) and remembers if you decline; plain contextstream-mcp setup --yes preserves your current choice.

contextstream-mcp configure --account-learning status   # show current consent state
contextstream-mcp configure --account-learning on       # open privacy page in browser (or print URL)
contextstream-mcp configure --account-learning off      # withdraw consent and queue deletion

--deep-learning is accepted as an alias for --account-learning. Only a person can grant consent by ticking the unchecked box on the signed-in privacy page (https://contextstream.io/dashboard/account/privacy); agents and API keys cannot consent for you. Doctor and init show status only. See data handling and controls.

Available Tools

36 tools
batch_operationsBatch operationsAInspect

Execute multiple independent read-only operations in one call. Rejects write or destructive operations.

Inputs: no named parameters.

capsuleContextCapsuleA
Read-onlyIdempotent
Inspect

ContextCapsule: portable, shareable, hydrate-on-demand snapshots of project context. Use capsule when the user pastes a /c/ link or capsule token, asks for a handoff/share/team/external-agent link, wants to bootstrap a fresh agent with project state, asks for a paste-ready handoff prompt (bootstrap prompt / prompt for another LLM), wants share-token graphs, or wants to list/audit capsules. Do not use capsule for normal turn-by-turn retrieval; use context instead. Team share links are authenticated and reusable by default; external_agent/public_link/support shares are token-gated and single-use by default.

Inputs: action (required), url, mode, name, +29 more.

capture_planCapture planCInspect

Create a new implementation plan.

Inputs: title (required), tags, goals, steps, +6 more.

contextGet smart context for user queryA
Read-onlyIdempotent
Inspect

CALL THIS BEFORE EVERY AI RESPONSE to get relevant context.

This is the KEY tool for token-efficient AI interactions. It:

  1. Analyzes the user's message to understand what context is needed

  2. Retrieves only relevant context in a minified, token-efficient format

  3. Replaces the need to include full chat history in prompts

Format options:

  • 'minified': Ultra-compact D:decision|P:preference|M:memory (default, ~200 tokens)

  • 'readable': Line-separated with labels

  • 'structured': JSON-like grouped format

Type codes: W=Workspace, P=Project, D=Decision, M=Memory, I=Insight, T=Task, L=Lesson

Context Pack:

  • mode='pack' adds code context + distillation (higher credit cost)

Example usage:

  1. User asks "how should I implement auth?"

  2. AI calls context(user_message="how should I implement auth?")

  3. Gets: "W:Maker|P:contextstream|D:Use JWT for auth|D:No session cookies|M:Auth API at /auth/..."

  4. AI responds with relevant context already loaded

This saves ~80% tokens compared to including full chat history.

Inputs: user_message (required), mode, format, distill, +9 more.

entityStructured Entity OperationsB
Read-onlyIdempotent
Inspect

Unified CRUD across taxonomy expansion entities. Kinds: ticket, handoff, backlog_view, incident, release, experiment, goal, key_result, sprint, review, risk. Actions: list, get, create, update, delete. Body is free-form JSON forwarded to the API; workspace_id/project_id default to active scope when omitted.

Inputs: kind (required), action (required), id, body, +3 more.

execute_operationExecute operationAInspect

Execute a hidden or deferred capability returned by tool_search.

Inputs: no named parameters.

flashSession instructions (flash alias)C
Read-onlyIdempotent
Inspect

Alias of instruct. Session-scoped instruction cache operations. Actions: bootstrap, get, push, ack, clear, stats, checkpoint, verify.

Inputs: action (required), session_id (required), ids, limit, +5 more.

generate_editor_rulesGenerate editor AI rulesBInspect

Generate AI rule files for editors (Cursor, Cline, Kilo Code, Roo Code, Claude Code, GitHub Copilot, Aider). These rules instruct the AI to automatically use ContextStream for memory and context. Supported editors: codex, opencode, cursor, windsurf, cline, kilo, roo, claude, aider, antigravity, copilot

Inputs: mode, dry_run, editors, folder_path, +5 more.

generate_rulesGenerate ContextStream rulesCInspect

Generate AI rule files for editors (Cursor, Cline, Kilo Code, Roo Code, Claude Code, GitHub Copilot, Aider). Defaults to the current project folder; no folder_path required when run from a project. Supported editors: codex, opencode, cursor, windsurf, cline, kilo, roo, claude, aider, antigravity, copilot

Inputs: mode, dry_run, editors, folder_path, +8 more.

graphGraphB
Read-onlyIdempotent
Inspect

Code graph analysis. Actions: dependencies (module deps), impact (change impact), call_path (function call path), related (related nodes), path (path between nodes), decisions (decision history), ingest (build graph), circular_dependencies, unused_code, contradictions, usages (reverse deps).

Inputs: action (required), wait, limit, source, +9 more.

helpHelpA
Read-onlyIdempotent
Inspect

Utility and help. Actions: tools (list available tools), auth (current user), version (server version), editor_rules (generate AI editor rules and install hooks for real-time file indexing), enable_bundle (enable tool bundle in progressive mode), team_status (team subscription info - team plans only).

Inputs: action (required), mode, bundle, format, +12 more.

initInitialize conversation sessionAInspect

Initialize a new conversation session and automatically retrieve relevant context. This is the FIRST tool AI assistants should call when starting a conversation. Returns: workspace info, project info, recent memory, recent decisions, relevant context, high-priority lessons, and ingest_recommendation.

The ingest_recommendation field indicates if the project needs indexing for code search:

  • If [INGEST_RECOMMENDED] appears, ask the user if they want to enable semantic code search

  • Benefits: AI-powered code understanding, dependency analysis, better context retrieval

  • If user agrees, run: project(action="ingest_local", path="<project_path>")

IMPORTANT: Pass the user's FIRST MESSAGE as context_hint to get semantically relevant context! Example: init(folder_path="/path/to/project", context_hint="how do I implement auth?")

This does semantic search on the first message. You only need context on subsequent messages.

Inputs: auto_index, project_id, session_id, folder_path, +7 more.

instructSession instructionsC
Read-onlyIdempotent
Inspect

Session-scoped instruction cache operations. Actions: bootstrap, get, push, ack, clear, stats, checkpoint, verify.

Inputs: action (required), session_id (required), ids, limit, +5 more.

integrationIntegrationC
Read-onlyIdempotent
Inspect

Integration operations for Slack, GitHub, and Notion. Provider: slack, github, notion, all. Actions: status, search, stats, activity, contributors, knowledge, summary, channels (slack), discussions (slack), repos (github), issues (github), create_page (notion), create_database (notion), list_databases (notion), search_pages (notion with smart type detection - filter by event_type, status, priority, has_due_date, tags), get_page (notion), query_database (notion), update_page (notion), team_activity (aggregated team activity - team plans only).

Inputs: action (required), provider (required), days, tags, +21 more.

mediaMediaA
Read-onlyIdempotent
Inspect

Media operations for video/audio/image assets. Enables AI agents to index, search, and retrieve media with semantic understanding - solving the "LLM as video editor has no context" problem for tools like Remotion.

Actions:

  • index: Index a local media file or external URL. Triggers ML processing (Whisper transcription, CLIP embeddings, keyframe extraction).

  • status: Check indexing progress for a content_id. Returns transcript_available, keyframe_count, duration.

  • search: Semantic search across indexed media. Returns timestamps, transcript excerpts, keyframe URLs.

  • get_clip: Get clip details for a time range. Supports output_format: remotion (frame-based props), ffmpeg (timecodes), raw.

  • list: List indexed media assets.

  • delete: Remove a media asset from the index.

Example workflow:

  1. media(action="index", file_path="/path/to/video.mp4") → get content_id

  2. media(action="status", content_id="...") → wait for indexed

  3. media(action="search", query="where John explains authentication") → get timestamps

  4. media(action="get_clip", content_id="...", start="1:34", end="2:15", output_format="remotion") → get Remotion props

Inputs: action (required), end, fps, tags, +12 more.

memoryMemoryA
Read-onlyIdempotent
Inspect

Persistent memory — docs, runbooks, specs, ADRs, decisions, lessons, tasks, and todos live HERE, never on disk: when the user mentions "the doc on X", "our runbook for Y", or "why we decided Z", use action="search" or list_docs/get_doc — NOT filesystem tools. Tasks here are lightweight project-tracking items; for tickets, bugs, incidents, releases, or handoffs use the entity tool instead. Event actions: create_event, get_event, update_event, delete_event (accepts event_id UUID or exact title; delete_all=true bulk-removes exact-title matches), list_events, distill_event, import_batch (bulk import array of events). Node actions: create_node, get_node, update_node, delete_node (accepts node_id UUID or exact title; delete_all=true bulk-removes exact-title matches), list_nodes, supersede_node. Query actions: search, decisions, timeline, summary. Task actions: create_task (create task, optionally linked to plan), get_task, update_task (can link/unlink task to plan via plan_id), delete_task, list_tasks, reorder_tasks. Todo actions: create_todo, list_todos, get_todo, update_todo, delete_todo, complete_todo. Diagram actions: create_diagram, list_diagrams, get_diagram, update_diagram, delete_diagram. Doc actions: create_doc, list_docs, get_doc, update_doc, delete_doc, create_roadmap. Transcript actions: list_transcripts (list saved conversations), get_transcript (get full transcript by ID), search_transcripts (semantic search across conversations), search_archive (hosted archive tier; local npm returns unavailable), delete_transcript. Team actions (team plans only): team_tasks, team_todos, team_diagrams, team_docs.

Inputs: action (required), mode, tags, agent, +46 more.

memory_complete_todoComplete todoBInspect

Mark a todo complete. Same handler as memory(action="complete_todo").

Inputs: todo_id (required), project_id, workspace_id.

memory_create_docCreate docBInspect

Create a durable doc (spec, runbook, ADR, RFC, etc.). Same handler as memory(action="create_doc").

Inputs: title (required), content (required), tags, doc_type, +4 more.

memory_create_eventCreate memory eventCInspect

Create a memory event for a workspace/project

Inputs: title (required), content (required), event_type (required), metadata, +4 more.

memory_create_taskCreate taskBInspect

Create a project-tracking task, optionally linked to a plan step. Same handler as memory(action="create_task").

Inputs: title (required), tags, order, plan_id, +6 more.

memory_create_todoCreate todoCInspect

Create a lightweight todo. Same handler as memory(action="create_todo").

Inputs: content (required), tags, title, due_at, +4 more.

memory_delete_docDelete docB
Destructive
Inspect

Delete a doc. Same handler as memory(action="delete_doc").

Inputs: doc_id (required), project_id, workspace_id.

memory_update_docUpdate docCInspect

Update an existing doc. Same handler as memory(action="update_doc").

Inputs: doc_id (required), tags, title, content, +4 more.

memory_update_taskUpdate taskCInspect

Update a task (status, fields, plan linkage). Same handler as memory(action="update_task").

Inputs: task_id (required), order, title, plan_id, +8 more.

projectProjectC
Read-onlyIdempotent
Inspect

Project management. Actions: list, get, create, update, delete, index (trigger indexing), purge (completely de-index a project — removes file indices, code chunks, and search vectors but keeps the project record), forget_local (stop this machine from re-binding a folder to its saved scope; server data untouched), remove_paths (de-index specific files by exact path — pass paths=[...]), merge (merge source_project_id into project_id), overview, statistics, files, index_status, index_history (audit trail of indexed files), ingest_local (index local folder), team_projects (list all team projects - team plans only), recent_changes (git log/diff for recent file changes).

Inputs: action (required), name, page, path, +19 more.

qaAgent Q&AA
Read-onlyIdempotent
Inspect

ContextStream agent Q&A — ask the workspace/project knowledge base when you get stuck.

When to use:

  • You need workspace-specific knowledge you cannot derive from code: prior decisions ("why was X chosen over Y?"), conventions ("what's the file naming pattern in this repo?"), runbooks ("how does the team handle this kind of incident?"), guardrails ("what's off-limits in this workspace?").

  • You're about to make a non-trivial choice and the workspace probably has prior context that shapes it.

  • A teammate has likely answered this before and you'd rather reuse than re-derive.

When NOT to use:

  • General programming questions you can answer yourself or via web search ("how does Rust async work?").

  • Things you can determine by reading the code right in front of you — read it first.

  • Trivial syntax or single-line questions.

Not a reflex, not a last resort. If you're spending more than ~30 seconds stuck on something workspace-shaped, ask. If you can find the answer in 30 seconds yourself, do that.

Actions:

  • ask: submit a question, get a grounded answer with citations + confidence.

  • search: vector-similarity-free listing of prior Q&A — check before re-asking.

  • save_kb: store guidance/guardrail/faq/runbook/caveat for future asks to reference.

  • list_kb: browse stored knowledge.

  • get_kb / update_kb / delete_kb: manage individual KB items.

  • feedback: rate an answer (-1, 0, +1) so future retrievals weight it appropriately.

Answers come from ContextCode, ContextStream's grounded Q&A agent. Every claim cites the source ([id=decision:abc] / [id=lesson:xyz] / [id=qa_kb_item:def] etc.) so you can verify before acting on it.

Inputs: action (required), id, tag, kind, +18 more.

reminderReminderC
Read-onlyIdempotent
Inspect

Reminder management. Actions: list, active (pending/overdue), create, snooze, complete, dismiss.

Inputs: action (required), limit, title, until, +10 more.

sessionSessionA
Read-onlyIdempotent
Inspect

Session and memory management — NOT for codebase/file search (use the 'search' tool for that). LESSONS LIVE HERE: when a mistake or correction happens, call action='capture_lesson' (NEVER write lessons to ~/.claude/.../memory/, .cursorrules, or other local markdown — local files are invisible to [LESSONS_WARNING] auto-surfacing on future turns and across sessions). PAST SESSIONS LIVE HERE: use action='recall' FIRST when the user references "last time", "previous", "yesterday", or is continuing prior work — full-text transcripts are indexed across every prior session. context() may surface [GROUNDING]; use action='ground' with user_message for a one-shot bundle (recall + docs + decisions + lessons + skills) outside context(). Actions: capture (save decision/insight), retro_capture (after-the-fact decision/note/snapshot capture from prior work with source provenance — title plus content and/or query/transcript_ids), capture_lesson (mistakes/corrections — title+trigger+impact+prevention), get_lessons (retrieve lessons), update_lesson / delete_lesson (maintain a saved lesson by lesson_id — UUID or lookup text), recall (retrieve past conversation context via ranked fusion of transcripts/snapshots/docs/decisions), ground (one-shot prior-work bundle), remember (quick save), user_context (get preferences), summary (workspace summary), compress (compress chat), delta (changes since timestamp), smart_search (searches MEMORY/conversation history only, not code), decision_trace (trace decision provenance), restore_context (restore state after compaction). Plan actions: capture_plan, get_plan, update_plan, list_plans. Suggested rules actions: list_suggested_rules, suggested_rule_action, suggested_rules_stats. Team actions: team_decisions, team_lessons, team_plans. Team/personal mode: set_account_mode (team|personal|auto).

Inputs: action (required), mode, tags, agent, +48 more.

session_captureCapture context to memoryBInspect

Automatically capture and store important context from the conversation. Use this to persist decisions, insights, preferences, or important information.

Inputs: title (required), content (required), event_type (required), tags, +6 more.

session_capture_lessonCapture a lesson learnedAInspect

Capture a lesson learned from a mistake or correction. Use this when the user corrects you, expresses frustration, or points out an error. These lessons are surfaced in future sessions to prevent repeating the same mistakes.

Example triggers:

  • User says "No, you should..." or "That's wrong"

  • User expresses frustration (caps, "COME ON", "WTF")

  • Code breaks due to a preventable mistake

The lesson will be tagged with 'lesson' and stored with structured metadata for easy retrieval.

Inputs: title (required), impact (required), trigger (required), category (required), +5 more.

session_rememberRemember thisBInspect

Quick way to store something in memory. Use natural language. Example: "Remember that I prefer TypeScript strict mode" or "Remember we decided to use PostgreSQL"

Inputs: content (required), importance, project_id, workspace_id, +1 more.

skillManage reusable skillsB
Read-onlyIdempotent
Inspect

Manage and execute reusable skills (instruction + action bundles). Skills are portable across projects, sessions, and tools. Use 'supersede' to retire a stale skill (archives it so it stops surfacing).

Actions:

  • list: Browse skills (filter by scope, status, category)

  • get: Get skill details by ID or name

  • create: Define a new skill with name, instruction, and triggers

  • update: Modify an existing skill

  • run: Execute a skill (by ID or name)

  • delete: Remove a skill

  • import: Import skills from file or content (supports markdown, JSON, cursorrules, claude_md)

  • export: Export skills in various formats

  • share: Change skill visibility scope

Inputs: action (required), name, limit, query, +25 more.

vcsVersion ControlC
Read-onlyIdempotent
Inspect

Git version control and remote repo operations.

Local git actions: status, diff, log, blame, branches, stash_list Remote API actions: list_repos, get_repo, sync_repo, list_pulls, get_pull, get_pull_diff, get_pull_comments, get_pull_commits, get_pull_checks, get_pull_summary, summarize_pull, review_pull, comment_pull, merge_pull, list_issues, get_issue, create_issue, update_issue, comment_issue, list_commits, get_commit, get_commit_diff, compare_refs, list_branches_remote, list_tags, get_tree, get_blob, search_code, search_vcs, get_activity, list_notifications, mark_notification_read, mark_all_notifications_read, list_links, create_link, delete_link, list_automations, create_automation, update_automation, delete_automation, register_webhook, unregister_webhook

Inputs: action (required), ref, body, data, +20 more.

workspaceWorkspaceC
Read-onlyIdempotent
Inspect

Workspace management. Actions: list, get, create, delete, associate (link folder to workspace), bootstrap (create workspace and initialize), team_members (list members with access - team plans only), index_settings (get/update multi-machine sync settings - admin only).

Inputs: action (required), name, page, page_size, +14 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 36 tools

    Disambiguation2/5

    Numerous tools have overlapping purposes, such as multiple memory shortcuts (memory_create_doc, memory_update_doc, etc.) and separate session capture tools (session_capture, session_remember) that duplicate session actions. The context and init tools also share similar goals, making it difficult for an agent to select the correct tool.

    Naming Consistency2/5

    Tool names are a mix of single words (context, init), verb_noun (capture_plan, generate_editor_rules), and noun_verb patterns (memory_create_doc, session_capture_lesson). There is no consistent naming convention, which reduces predictability.

    Tool Count3/5

    With 36 tools, the server is on the heavy side. While many features are covered, several tools are redundant shortcuts (e.g., memory_*). Trimming duplicates would improve focus without sacrificing functionality.

    Completeness4/5

    The server covers a wide range of operations: memory management, context retrieval, project management, version control, media processing, and integrations. Minor gaps exist (e.g., no explicit code search outside of context), but overall the surface is comprehensive.

    Maintenance

    ActivityActive
    ResponsivenessUsually handled

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Provides AI assistants with persistent memory of your project architecture, development history, and technical decisions, allowing them to give context-aware coding help without needing repeated explanations.
      16
      61 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides persistent memory for AI coding assistants, storing and retrieving architectural decisions, patterns, and solutions across sessions using semantic search, while also offering git integration for commit messages and code expertise mapping.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI coding assistants with persistent, context-rich memory of a codebase, including documentation and git history, enabling recall across sessions.
      105
      Apache 2.0
    • A
      license
      A
      quality
      C
      maintenance
      Provides persistent memory and a codebase knowledge graph for AI coding assistants, enabling shared context across multiple tools like Claude, Cursor, and ChatGPT, with significant token reduction.
      5
      42 npm
      MIT