Back to Home
contextstream icon

mcp-server

Verified Safe

by contextstream

Overview

Provides persistent memory, semantic search, and code intelligence to AI coding tools (e.g., Cursor, Claude Code, VS Code) by acting as an MCP server proxy to the ContextStream API, enabling AI to 'remember' context across sessions and tools.

Installation

Run Command
npx -y @contextstream/mcp-server

Environment Variables

  • CONTEXTSTREAM_API_URL
  • CONTEXTSTREAM_API_KEY
  • CONTEXTSTREAM_JWT
  • CONTEXTSTREAM_WORKSPACE_ID
  • CONTEXTSTREAM_PROJECT_ID
  • CONTEXTSTREAM_USER_AGENT

Security Notes

The server correctly handles API keys/JWTs via environment variables, avoiding hardcoded secrets. Network requests are made using standard `fetch` with retries and timeouts, and a specific user agent is set. File system operations are localized to `.contextstream/config.json` in the project root and `~/.contextstream-mappings.json` globally, as well as reading project files for indexing. File reading for ingestion includes explicit ignore lists for common sensitive directories/files (`node_modules`, `.git`, lock files) and a maximum file size limit (1MB), mitigating risks of accidental data exposure or excessive resource consumption. No `eval` or similar dynamic code execution vulnerabilities were found. Overall, the server appears well-designed for security within its intended scope as a local client-side agent.

Similar Servers

Stats

Interest Score81
Security Score9
Cost ClassMedium
Avg Tokens350
Stars2
Forks0
Last Update2025-12-12

Tags

AI MemoryCode ContextSemantic SearchKnowledge GraphDeveloper Tools