ContextStream MCP Server
ContextStream MCP Server is a context and memory platform that gives AI agents persistent workspace memory, semantic code/context search, and project knowledge management across sessions and tools.
Session context & initialization: Start sessions (
init) and fetch token-efficient relevant context before every response (context), including decisions, lessons, preferences, and memory.Search: Query code, memory, docs, and transcripts via
search(semantic, keyword, regex, exhaustive, refactor, team, crawl) with compact output formats.Memory capture: Save decisions, insights, preferences, lessons, notes, plans, corrections, and session snapshots (
session,session_capture,memory_create_event,session_remember).Knowledge base Q&A: Ask grounded workspace questions with citations and confidence, plus save/list/update KB guidance, guardrails, FAQs, and runbooks (
qa).Durable docs & planning: Create specs, runbooks, ADRs, RFCs, PRDs, roadmaps, tasks, todos, and diagrams (
memory,capture_plan).Structured entities: CRUD for tickets, handoffs, incidents, releases, experiments, goals, key results, sprints, reviews, and risks (
entity).Code graph analysis: Inspect dependencies, change impact, call paths, related nodes, circular dependencies, unused code, and symbol usages (
graph).Project & workspace management: Create, index, ingest local folders, list files, view index history/status, purge, merge, and manage workspaces/team members (
project,workspace).Context capsules: Create, share, and revoke portable context snapshots and handoff links for teammates, external agents, or fresh sessions (
capsule).Skills: Define, run, import/export, share, and supersede reusable instruction+action bundles (
skill).Reminders: Create, list, snooze, complete, and dismiss time-based reminders (
reminder).Integrations: Query and act on Slack, GitHub, and Notion data, including Slack channels, GitHub repos/issues, and Notion databases/pages (
integration).Media: Index, search, and retrieve clips from video/audio/image assets with transcript and keyframe support (
media).Version control: Run local git actions (status, diff, log, blame) and remote repo operations (PRs, issues, commits, reviews, notifications) (
vcs).Editor tooling: Generate AI rule files and install hooks for Cursor, Claude Code, Copilot, Aider, and others (
generate_rules,help).Tool discovery: Search and execute deferred/hidden capabilities via
tool_searchandexecute_operation, with batched read-only operations (batch_operations).
Referenced in decision history examples, showing how ContextStream tracks database technology selection rationale and architectural trade-offs.
Used as an example database preference in the memory system, demonstrating how ContextStream can remember and recall database technology choices and architectural decisions.
Featured prominently in memory examples, demonstrating how ContextStream remembers language preferences, strict mode settings, and coding standards across sessions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ContextStream MCP Server what did we decide about the authentication flow yesterday?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 | bashWindows PowerShell
irm https://contextstream.io/scripts/mcp.ps1 | iexPaste 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 asms_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 forscope="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. Trynpx prisma generate && npx tsc --noEmit,npx next typegen && npx tsc --noEmitornpx svelte-kit sync && npx svelte-check. Checks also cover tools such astsgo, Oxlint, Oxfmt in check mode,vue-tsc --noEmit,astro check,ty check, Pyrefly, Basedpyright,cargo fmt --checkandgo tool staticcheck. Run Prettier with--check,-c,--list-differentor-lthroughnpx,pnpm exec,yarn exec,npm execor the project'snode_modules/.bin. Use the project's pinned Prettier version. The worker declines write flags such as--writeand-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
checkfrom 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
:preparecall 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 usego versionfor Go and tryjava --versionfollowed byjava -versionfor Java.Check saves in the background. Speculative checks are off until you opt in. With remote checks enabled, set
CONTEXTSTREAM_SPECULATIVE_CHECKS=onfor the editor hooks, or setspeculative_checkswithenabledinPUT /api/v1/mcp/hosted-tools/enabledfor 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-pushhook 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 |
| Unset, so available hosted tools can be used |
|
| On |
|
| Follows the account setting, which starts off |
|
|
| Milliseconds to wait after a supported edit. |
|
| Local speculative credits per hour across repositories for the configured credential and API. |
|
| Local speculative credits per repository per hour. |
| Allowed when a local call needs a snapshot |
|
| 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. |
| On |
|
| On for installed editor hooks |
|
| On |
|
| On |
|
| Follows the repository setting, then the global default |
|
| On | Sets the fallback for Git capture when the repository and |
| On for regular sessions |
|
| Off for HTTP connections |
|
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, withsizes(up to 6, such asinstagram-postorlinkedin-post) or avoice, and the plan keeps to it.Plan, then price.
planreturns 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) ascontext; the producer reads it next to the team's own context.Your go-ahead.
makespends 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, setCONTEXTSTREAM_GO_AHEAD=asked(a local binary) or sendX-ContextStream-Go-Ahead: asked(a hosted connection): then only your own yes in the client's form counts for spending and sending, and thedeletetool, which never asks, deletes nothing.Following it.
statusreports each piece while it waits (withnotifications/progresswhere the call asks for them); a product film takes 13 to 21 minutes.resultshows 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.
revisestarts from a made image or sound: avariation(more like it), arevision(it, changed as you say) or aresize(an image in newsizes). Alsostop,library,brandandproducts.Email, where Create offers it. Manage campaigns on your team's Resend account. Ask
email_audienceswhich lists exist, what each is for and how many people subscribe.email_contactsupdates contact fields and membership, previews a CSV and imports it with your consent source, note and confirmed eligible count. Useemail_segmentsto preview or save rules andemail_recipientsto see who a campaign would reach today. Draft from a prompt withemail_draftor from a saved template withemail_templates. Revise or duplicate the draft, compare subjects withemail_ab, open a shareable mail-client preview or send a test to yourself. Beforeemail_sendsends 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_reportshows campaign results and workspace trends.email_unsubscribesreports opt-outs, bounces and complaints, andemail_diagnosticsshows whether webhook events are arriving.email_connectionchecks or refreshes the sender and domain status. Connect Resend in the studio. Erase a contact, audience, segment or template through the full MCP'sdeletetool after confirmation, or on its email page in the studio.Connector. The hosted path
/studioserves 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 setupThe 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=fastSupported 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 --repairScripted 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 --workspaceUse 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 toolsbatch_operationsBatch operationsAInspect
Execute multiple independent read-only operations in one call. Rejects write or destructive operations.
Inputs: no named parameters.
capsuleContextCapsuleARead-onlyIdempotentInspect
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 queryARead-onlyIdempotentInspect
CALL THIS BEFORE EVERY AI RESPONSE to get relevant context.
This is the KEY tool for token-efficient AI interactions. It:
Analyzes the user's message to understand what context is needed
Retrieves only relevant context in a minified, token-efficient format
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:
User asks "how should I implement auth?"
AI calls context(user_message="how should I implement auth?")
Gets: "W:Maker|P:contextstream|D:Use JWT for auth|D:No session cookies|M:Auth API at /auth/..."
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 OperationsBRead-onlyIdempotentInspect
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)CRead-onlyIdempotentInspect
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.
graphGraphBRead-onlyIdempotentInspect
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.
helpHelpARead-onlyIdempotentInspect
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 instructionsCRead-onlyIdempotentInspect
Session-scoped instruction cache operations. Actions: bootstrap, get, push, ack, clear, stats, checkpoint, verify.
Inputs: action (required), session_id (required), ids, limit, +5 more.
integrationIntegrationCRead-onlyIdempotentInspect
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.
mediaMediaARead-onlyIdempotentInspect
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:
media(action="index", file_path="/path/to/video.mp4") → get content_id
media(action="status", content_id="...") → wait for indexed
media(action="search", query="where John explains authentication") → get timestamps
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.
memoryMemoryARead-onlyIdempotentInspect
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 docBDestructiveInspect
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.
projectProjectCRead-onlyIdempotentInspect
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&AARead-onlyIdempotentInspect
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.
reminderReminderCRead-onlyIdempotentInspect
Reminder management. Actions: list, active (pending/overdue), create, snooze, complete, dismiss.
Inputs: action (required), limit, title, until, +10 more.
searchSearchARead-onlyIdempotentInspect
Search workspace memory and knowledge. Modes: auto (recommended), semantic (meaning-based), hybrid (legacy alias for auto), keyword (exact match), pattern (regex), exhaustive (all matches like grep), refactor (word-boundary matching for symbol renaming), team (cross-project team search - team plans only), crawl (deep multi-modal search).
Output formats: full (default, includes content), paths (file paths only - 80% token savings), minimal (compact - 60% savings), count (match counts only - 90% savings).
Inputs: query (required), mode, limit, offset, +7 more.
sessionSessionARead-onlyIdempotentInspect
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 skillsBRead-onlyIdempotentInspect
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.
tool_searchTool searchARead-onlyIdempotentInspect
Search available tools and hidden operations, then call direct tools or use execute_operation for deferred capabilities.
Inputs: no named parameters.
vcsVersion ControlCRead-onlyIdempotentInspect
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.
workspaceWorkspaceCRead-onlyIdempotentInspect
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
Scored across 36 tools
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.
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.
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.
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
Related MCP Connectors
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
One shared project memory for your AI coding tools: recall, save and brief decisions anywhere.
Related MCP Servers
- AlicenseBqualityCmaintenanceProvides 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.1661 npm2MIT

Doclea MCPofficial
AlicenseNot gradedqualityCmaintenanceProvides 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- AlicenseNot gradedqualityDmaintenanceProvides AI coding assistants with persistent, context-rich memory of a codebase, including documentation and git history, enabling recall across sessions.105Apache 2.0
- AlicenseAqualityCmaintenanceProvides 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.542 npmMIT