Solucortex-mcp is the official Model Context Protocol (MCP) server for SoluCortex, positioned as the "living technical memory for AI agents." It is designed to solve the problem of AI agents lacking contextual memory during project work by connecting MCP-compatible agents with SoluCortex projects, enabling agents to recall a project's approved decisions, conventions, risks, and architecture before starting a task, and to record what they learn after completing a task.
Main capabilities
- Connect any MCP-compatible agent (such as Claude Code, Claude Desktop, Cursor, Codex, Cline, etc.) to SoluCortex projects to enable reading and recording of technical memory.
- Provide governance mechanisms: agents can only make suggestions; they cannot change memory status, rewrite metadata, or delete memories. Edits return to a pending state, and deletion is only allowed in the SoluCortex panel.
- Memory type vocabulary specification: includes architecture, decision, risk, convention, bug_history, tech_debt, sensitive_module, learning, external_integration, etc.; some backends accept the legacy set (technical_decision, historical_bug, current_state, task_closure), and the server passes the type through and prompts retrying with the other set when encountering HTTP 422.
- Security reminder: storing real secrets in memory is prohibited; instead, record the location, type, severity, and actions taken.
Usage
Before use, you need a SoluCortex account and a project API key (prefix scx_), available from the SoluCortex dashboard. The runtime environment supports uv (recommended), Python ≥ 3.10, or Docker.
stdio mode (default, local)
The server is configured entirely through environment variables.
HTTP mode (remote, multi-tenant)
Run with MCP_TRANSPORT=http (or --http) to serve Streamable HTTP on $PORT (default 8080), i.e., https://mcp.solucortex.ai the mode behind it. Credentials are passed with each request, and environment variables are ignored. GET /health (locally there is also /healthz, but the Cloud Run frontend intercepts /healthz) responds without authentication. The MCP endpoint is at /mcp, runs statelessly, and shares nothing between requests/tenants. Never commit API keys; keep them in the env block of the MCP client configuration or in a local .env file (see .env.example).
Remote mode (recommended, no installation required)
Hosted server https://mcp.solucortex.ai/mcp Supports Streamable HTTP, with the key passed with each request. It can also be used in any client that supports remote MCP.
Local client configuration examples
- Claude Code (local, stdio)
- Claude Desktop / Cursor / Cline (JSON configuration): add to the client's MCP configuration (claude_desktop_config.json, Cursor mcp.json, etc.).
- Run from a local clone
- A prebuilt image on GHCR, or build it yourself. The server uses MCP via stdio, so the client starts it as a subprocess (-i keeps stdin open).
Agent instructions (AGENTS.md)
After connecting, you can copy templates/AGENTS.md to the repository root (it can be used as AGENTS.md or CLAUDE.md) so that the methodology is documented and version-controlled alongside the code, and you can also extend custom conventions, or optionally enable the Claude Code hook recipe in the comments to ensure recall.
When to use
Suitable for development teams that need AI agents to maintain consistency of technical memory during project work, especially in scenarios involving multi-agent collaboration, the need to follow approved decisions and conventions, managing technical debt and risks, and recording lessons learned. Through the MCP standard protocol, it can be integrated with a variety of mainstream AI coding assistants.
Limitations
- Requires a SoluCortex account and a project API key.
- Agents cannot autonomously change memory state or delete memories; governance is entirely under human control.
- Storing real keys in memory is prohibited.
- There are differences between the old and new sets of memory type vocabulary, and some backends may require retries.
- The documentation does not mention fees, pricing, or specific platform support details; this information is not currently provided.