
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
@contextstream/mcp-server
Advanced tools
MCP server exposing ContextStream public API - code context, memory, search, and AI tools for developers
Persistent memory, semantic search, and code intelligence for any MCP-compatible AI tool.
ContextStream is a shared “brain” for your AI workflows. It stores decisions, preferences, and lessons, and lets your AI tools search and analyze your codebase with consistent context across sessions.
session_init, context_smart)projects_ingest_local)Run directly (recommended for MCP configs):
npx -y @contextstream/mcp-server
Or install globally:
npm install -g @contextstream/mcp-server
contextstream-mcp
Add to your MCP config:
{
"mcpServers": {
"contextstream": {
"command": "npx",
"args": ["-y", "@contextstream/mcp-server"],
"env": {
"CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
"CONTEXTSTREAM_API_KEY": "your_api_key"
}
}
}
}
~/.codex/config.toml)[mcp_servers.contextstream]
command = "npx"
args = ["-y", "@contextstream/mcp-server"]
[mcp_servers.contextstream.env]
CONTEXTSTREAM_API_URL = "https://api.contextstream.io"
CONTEXTSTREAM_API_KEY = "your_api_key"
After editing, restart your MCP client so it reloads the server configuration.
You can authenticate using either:
CONTEXTSTREAM_API_KEY (recommended for local/dev)CONTEXTSTREAM_JWT (useful for hosted or user-session flows)| Variable | Required | Description |
|---|---|---|
CONTEXTSTREAM_API_URL | Yes | Base API URL (e.g. https://api.contextstream.io) |
CONTEXTSTREAM_API_KEY | Yes* | API key (*required unless CONTEXTSTREAM_JWT is set) |
CONTEXTSTREAM_JWT | Yes* | JWT (*required unless CONTEXTSTREAM_API_KEY is set) |
CONTEXTSTREAM_WORKSPACE_ID | No | Default workspace ID fallback |
CONTEXTSTREAM_PROJECT_ID | No | Default project ID fallback |
CONTEXTSTREAM_USER_AGENT | No | Custom user agent string |
CONTEXTSTREAM_PRO_TOOLS | No | Comma-separated tool names treated as PRO (default: ai_context,ai_enhanced_context,ai_context_budget,ai_embeddings,ai_plan,ai_tasks) |
CONTEXTSTREAM_UPGRADE_URL | No | Upgrade link shown when Free users call PRO tools (default: https://contextstream.io/pricing) |
session_init(folder_path="...", context_hint="<first user message>")context_smart(user_message="<current user message>")session_capture(...) or session_capture_lesson(...)Most tools accept omitted workspace_id / project_id and will use the current session defaults.
session_init first (or pass the ID explicitly).workspace_associate once so the server can auto-select the right workspace for that folder.If your account has no workspaces, ContextStream will prompt your AI assistant to ask you for a workspace name.
workspace_bootstrap(workspace_name="...", folder_path="...")Most MCP clients expose ContextStream prompts as /contextstream:... slash commands.
session_init + session defaults.Tools are labeled as (Free) or (PRO) in the MCP tool list.
ai_context, ai_enhanced_context, ai_context_budget, ai_embeddings, ai_plan, ai_tasksCONTEXTSTREAM_PRO_TOOLS and the upgrade link via CONTEXTSTREAM_UPGRADE_URL.@contextstream/mcp-server and restart your MCP client (prompts are parameter-free and should insert immediately).CONTEXTSTREAM_API_URL and CONTEXTSTREAM_API_KEY (or CONTEXTSTREAM_JWT).workspace_associate to map the current repo folder to the correct workspace.git clone https://github.com/contextstream/mcp-server.git
cd mcp-server
npm install
npm run dev
npm run typecheck
npm run build
MIT
FAQs
Verified npm launcher for the open-source ContextStream Rust MCP server
The npm package @contextstream/mcp-server receives a total of 907 weekly downloads. As such, @contextstream/mcp-server popularity was classified as not popular.
We found that @contextstream/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.