Skip to main content
Glama
solucortex-mcp

solucortex-mcp

Official

SoluCortex MCP

Offizieller Model Context Protocol-Server für SoluCortex — lebendiges technisches Gedächtnis für KI-Agenten.

Verbinden Sie einen beliebigen MCP-kompatiblen Agenten (Claude Code, Claude Desktop, Cursor, Codex, Cline, …) mit Ihrem SoluCortex-Projekt, damit er die Entscheidungen, Konventionen, Risiken und Architektur, die wichtig sind, abrufen kann, bevor er arbeitet, und speichern kann, was er danach lernt.

Tools

Tool

Was es tut

Wann verwenden

solucortex_recall

Erstellt lebendigen Kontext für eine Aufgabe (nach semantischer Ähnlichkeit + Wichtigkeit sortiert)

Zu Beginn einer Aufgabe, bevor Code angefasst wird

solucortex_search

Semantische Ad-hoc-Suche über die Erinnerungen des Projekts

Bei spezifischen Fragen mitten in der Aufgabe

solucortex_remember

Zeichnet eine Erinnerung auf (als approved gespeichert + als autorisierter Agent protokolliert)

Bei Abschluss oder bei einer relevanten technischen Entscheidung

solucortex_list_memories

Listet Erinnerungen ohne semantische Suche

Schnelle Überprüfung / Audit

Related MCP server: Mindtrail

Anforderungen

  • Ein SoluCortex-Konto und ein Projekt-API-Schlüssel (Präfix scx_) — erhalten Sie ihn über Ihr SoluCortex-Dashboard.

  • Eines davon: uv (empfohlen), Python ≥ 3.10 oder Docker.

Konfiguration

stdio-Modus (Standard, lokal)

Der Server wird vollständig über Umgebungsvariablen konfiguriert:

Variable

Erforderlich

Beschreibung

SOLUCORTEX_API_KEY

✅

Projekt-API-Schlüssel (scx_…)

SOLUCORTEX_PROJECT_ID

empfohlen

Standard-Projekt-UUID (kann pro Aufruf überschrieben werden)

SOLUCORTEX_URL

optional

Basis-URL der API. Standard: https://solucortex.ai

HTTP-Modus (Remote, Multi-Tenant)

Führen Sie den Server mit MCP_TRANSPORT=http (oder --http) aus, um Streamable HTTP auf $PORT (Standard 8080) bereitzustellen — das ist der Modus hinter https://mcp.solucortex.ai. Die Zugangsdaten werden mit jeder Anfrage übertragen, und die Umgebung wird ignoriert:

Header

Erforderlich

Beschreibung

Authorization: Bearer scx_…

✅

Der Projekt-API-Schlüssel des Aufrufers (401 ohne ihn)

X-Solucortex-Project

empfohlen

Standard-Projekt-UUID für die Sitzung

GET /health (und lokal /healthz; das Frontend von Cloud Run fängt /healthz ab) antwortet ohne Authentifizierung. Der MCP-Endpunkt ist /mcp, läuft zustandslos und teilt nichts zwischen Anfragen/Mandanten.

Committen Sie Ihren API-Schlüssel niemals. Bewahren Sie ihn im env-Block Ihrer MCP-Client-Konfiguration oder in einer lokalen .env-Datei auf (siehe .env.example).

Installation

Remote (empfohlen — nichts zu installieren)

Der gehostete Server unter https://mcp.solucortex.ai/mcp spricht Streamable HTTP; Ihr Schlüssel wird mit jeder Anfrage übertragen:

claude mcp add --transport http solucortex https://mcp.solucortex.ai/mcp \
  --header "Authorization: Bearer scx_xxx" \
  --header "X-Solucortex-Project: your-project-uuid"

Oder in einem beliebigen Client mit Unterstützung für Remote-MCP:

{
  "mcpServers": {
    "solucortex": {
      "type": "http",
      "url": "https://mcp.solucortex.ai/mcp",
      "headers": {
        "Authorization": "Bearer scx_xxx",
        "X-Solucortex-Project": "your-project-uuid"
      }
    }
  }
}

Claude Code (lokal, stdio)

claude mcp add solucortex \
  -e SOLUCORTEX_API_KEY=scx_xxx \
  -e SOLUCORTEX_PROJECT_ID=your-project-uuid \
  -- uvx --from git+https://github.com/soluai-spa/solucortex-mcp solucortex-mcp

(Sobald das Paket auf PyPI veröffentlicht ist: Ersetzen Sie den Befehl durch uvx solucortex-mcp.)

Claude Desktop / Cursor / Cline (JSON-Konfiguration)

Fügen Sie Folgendes zur MCP-Konfiguration des Clients hinzu (claude_desktop_config.json, Cursor-mcp.json usw.):

{
  "mcpServers": {
    "solucortex": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/soluai-spa/solucortex-mcp", "solucortex-mcp"],
      "env": {
        "SOLUCORTEX_API_KEY": "scx_xxx",
        "SOLUCORTEX_PROJECT_ID": "your-project-uuid"
      }
    }
  }
}

Aus einem lokalen Klon

git clone https://github.com/soluai-spa/solucortex-mcp
cd solucortex-mcp
cp .env.example .env   # fill in your key
./run.sh               # loads .env, then runs via uv
# or, with SOLUCORTEX_* already exported: uv run solucortex-mcp

Docker

docker build -t solucortex-mcp .
docker run --rm -i \
  -e SOLUCORTEX_API_KEY=scx_xxx \
  -e SOLUCORTEX_PROJECT_ID=your-project-uuid \
  solucortex-mcp

Der Server spricht MCP über stdio, daher starten Clients ihn als Unterprozess (-i hält stdin offen).

Entwicklung

uv sync
uv run solucortex-mcp            # run (stdio)
MCP_TRANSPORT=http uv run solucortex-mcp   # run (HTTP on :8080)
uv run pytest                    # test suite
npx @modelcontextprotocol/inspector uv run solucortex-mcp   # interactive test

Hinweise

  • Vokabular für den Erinnerungs-type: Die kanonische Menge ist architecture, decision, risk, convention, bug_history, tech_debt, sensitive_module, learning, external_integration. Einige Backends akzeptieren eine ältere Menge (technical_decision, historical_bug, current_state, task_closure). Der Server leitet type unverändert weiter und liefert HTTP 422, damit Sie es mit der anderen Menge erneut versuchen können.

  • Speichern Sie niemals echte Geheimnisse in einer Erinnerung. Halten Sie stattdessen Ort, Typ, Schweregrad und die ergriffene Maßnahme fest.

Lizenz

MIT — siehe LICENSE.

Available Tools

4 tools
solucortex_list_memoriesA
Read-only
Inspect

List the project's memories without semantic search (GET /memories).

Useful for quick inspection/audit or to confirm a just-created memory was stored. Does not consume OpenAI quota.

Inputs: limit, project_id. Returns: object

solucortex_recallA
Read-only
Inspect

Build living context for a task (POST /context/build).

Call this at the START of a task, before touching code: returns approved, active memories (decisions, conventions, risks, sensitive modules, architecture) ranked by semantic similarity + importance. Uses OpenAI embeddings (slower, 20 req/min).

Inputs: query (required), project_id. Returns: object

solucortex_rememberAInspect

Record a memory in SoluCortex (POST /memories).

Call when closing a task or making a relevant technical decision. As an authorized agent (Bearer api_key), the memory is stored with status 'approved' and traced. Never store real secrets: if you find one, record location/type/severity and action taken, with a redacted reference.

Inputs: type (required), title (required), content (required), importance, +1 more. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 4 tools

    Disambiguation4/5

    Mostly distinct: recall and search both perform semantic retrieval, but their use cases are clearly separated (start-of-task context building vs. ad-hoc queries). list_memories and remember are unambiguously different. The overlap is minor and well-documented.

    Naming Consistency4/5

    All tools share the solucortex_ prefix and use lowercase snake_case, but the naming convention is mixed: recall, search, and remember are single verbs, while list_memories includes an object. Consistent enough to be predictable.

    Tool Count5/5

    Four tools cover the core memory interactions (list, recall, search, record) without unnecessary bloat. The count is well-scoped for a memory-oriented MCP server.

    Completeness3/5

    The set provides create and multiple read/search paths, but lacks update/delete or memory-status management. This creates a moderate lifecycle gap, though the primary agent workflows (build context, ask questions, record decisions) are covered.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides coding agents with governed semantic memory and code-graph context via MCP, enabling code-linked recall, blast-radius impact analysis, and lifecycle-aware memory management.
      528 PyPI
      3
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents to persistently remember, recall, and forget facts, preferences, and decisions through MCP, keeping project-scoped and personal memory available across sessions and clients.
      1
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding agents to store, search, and recall persistent project and cross-project memories locally over MCP, keeping architectural decisions, conventions, and error patterns available across sessions. Also optionally exposes a task server for autonomous task execution driven by that same memory store.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding agents to store and retrieve persistent project and cross-project memory over MCP, so decisions, preferences, error patterns, and guidelines survive across sessions. Searches that memory semantically and locally, with an optional task queue that reuses the same context for autonomous execution.
      -