solucortex-mcp
OfficialSoluCortex MCP
AI 에이전트를 위한 살아있는 기술 메모리 — SoluCortex — 의 공식 Model Context Protocol 서버입니다.
MCP 호환 에이전트(Claude Code, Claude Desktop, Cursor, Codex, Cline, …)를 SoluCortex 프로젝트에 연결하면, 작업을 시작하기 전에 중요한 결정, 규칙, 위험 및 아키텍처를 상기하고 작업이 끝나면 배운 내용을 기억할 수 있습니다.
도구
도구 | 기능 | 사용 시점 |
| 작업을 위한 살아있는 컨텍스트 구축(의미적 유사성 + 중요도 기준 순위) | 코드를 건드리기 전, 작업 시작 시 |
| 프로젝트 메모리에 대한 임시 의미적 검색 | 작업 중 특정 질문이 있을 때 |
| 메모리 기록( | 작업 종료 시 또는 관련 기술 결정 시 |
| 의미적 검색 없이 메모리 나열 | 빠른 확인 / 감사 |
Related MCP server: codemem
요구 사항
SoluCortex 계정과 프로젝트 API 키(접두사
scx_) — SoluCortex 대시보드에서 받을 수 있습니다.다음 중 하나:
uv(권장), Python ≥ 3.10 또는 Docker.
구성
stdio 모드(기본, 로컬)
서버는 전적으로 환경 변수를 통해 구성됩니다:
변수 | 필수 여부 | 설명 |
| ✅ | 프로젝트 API 키 ( |
| 권장 | 기본 프로젝트 UUID(호출별로 재정의 가능) |
| 선택 | API 기본 URL. 기본값 |
HTTP 모드(원격, 다중 테넌트)
MCP_TRANSPORT=http(또는 --http)로 실행하면 $PORT(기본값 8080)에서 Streamable HTTP를 제공합니다 — https://mcp.solucortex.ai에서 사용되는 모드입니다. 자격 증명은 각 요청과 함께 전달되며 환경 변수는 무시됩니다:
헤더 | 필수 여부 | 설명 |
| ✅ | 호출자의 프로젝트 API 키(없으면 401) |
| 권장 | 세션의 기본 프로젝트 UUID |
GET /health(로컬에서는 /healthz; Cloud Run 프론트엔드가 /healthz를 가로챔)는 인증 없이 응답합니다. MCP 엔드포인트는 /mcp이며 상태를 유지하지 않고 요청/테넌트 간에 아무것도 공유하지 않습니다.
API 키를 커밋하지 마세요. MCP 클라이언트 구성의 env 블록이나 로컬 .env 파일에 보관하세요(.env.example 참조).
설치
원격(권장 — 설치 불필요)
https://mcp.solucortex.ai/mcp의 호스팅 서버는 Streamable HTTP를 사용하며, 키는 각 요청과 함께 전달됩니다:
claude mcp add --transport http solucortex https://mcp.solucortex.ai/mcp \
--header "Authorization: Bearer scx_xxx" \
--header "X-Solucortex-Project: your-project-uuid"또는 원격 MCP를 지원하는 모든 클라이언트에서:
{
"mcpServers": {
"solucortex": {
"type": "http",
"url": "https://mcp.solucortex.ai/mcp",
"headers": {
"Authorization": "Bearer scx_xxx",
"X-Solucortex-Project": "your-project-uuid"
}
}
}
}Claude Code(로컬, 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(PyPI에 게시된 후에는 명령어를 uvx solucortex-mcp로 바꾸세요.)
Claude Desktop / Cursor / Cline(JSON 구성)
클라이언트의 MCP 구성(claude_desktop_config.json, Cursor mcp.json 등)에 추가하세요:
{
"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"
}
}
}
}로컬 클론에서
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-mcpDocker
docker build -t solucortex-mcp .
docker run --rm -i \
-e SOLUCORTEX_API_KEY=scx_xxx \
-e SOLUCORTEX_PROJECT_ID=your-project-uuid \
solucortex-mcp서버는 stdio를 통해 MCP로 통신하므로, 클라이언트는 이를 하위 프로세스로 실행합니다(-i는 stdin을 열어 둡니다).
개발
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참고 사항
메모리
type어휘: 정식 집합은architecture, decision, risk, convention, bug_history, tech_debt, sensitive_module, learning, external_integration입니다. 일부 백엔드는 이전 집합(technical_decision, historical_bug, current_state, task_closure)을 허용합니다. 서버는type을 그대로 전달하고HTTP 422를 반환하므로 다른 집합으로 다시 시도할 수 있습니다.메모리에 실제 비밀 정보를 저장하지 마세요. 대신 위치, 유형, 심각도 및 취한 조치를 기록하세요.
라이선스
MIT — LICENSE 참조.
Available Tools
4 toolssolucortex_list_memoriesARead-onlyInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max memories to return. | |
| project_id | No | Project UUID. If omitted, the session default applies, else the backend infers it from the API key. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, and the description adds value beyond that by disclosing 'Does not consume OpenAI quota' and clarifying the GET operation has no semantic processing. No contradiction with annotations, and the extra cost/behavioral detail is genuinely useful for agent decision-making.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three concise sentences, each earning its place: the core action, the best use cases, and a cost-relevant detail. Information is front-loaded and there is no redundant filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only list tool with two optional parameters and an existing output schema, the description covers purpose, usage scenarios, and a notable behavioral trait (no quota consumption). Nothing critical is missing for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and both parameters (limit, project_id) are fully documented in the schema with defaults and constraints. The description does not add parameter-level details, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'List the project's memories' and explicitly notes the non-semantic nature with 'without semantic search (GET /memories)' and gives concrete use cases. This differentiates it from the semantic-search siblings (solucortex_search, solucortex_recall) without ambiguity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides explicit use contexts: 'quick inspection/audit' and 'confirm a just-created memory was stored'. It also implies that semantic search is NOT this tool's function, steering agents toward siblings for that need. It does not name the sibling tools explicitly, so there is a small gap, but the context is clear enough.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
solucortex_recallARead-onlyInspect
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).
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Describe the current task/module in natural language, e.g. 'implement API key rotation in the secrets module'. Used to semantically retrieve the most relevant memories. | |
| project_id | No | Project UUID. If omitted, the session default applies, else the backend infers it from the API key. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the readOnlyHint and openWorldHint annotations, the description adds valuable behavioral detail: it returns only approved/active memories, ranks by semantic similarity plus importance, and warns about OpenAI embeddings being slower with a 20 req/min limit. This gives the agent important expectations about latency and throttling without needing to discover it at runtime.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact: one sentence states the action and endpoint, one sentence gives usage timing and return value, and one sentence notes performance characteristics. Every sentence adds meaningful information and the most important usage guidance is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the rich input schema, annotations, and presence of an output schema, the description covers the essential operating context: when to call it, what it returns, how results are ranked, and its performance constraints. No critical missing information prevents an agent from selecting and invoking the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already fully documents both parameters (query and project_id) with clear descriptions, so the schema coverage is 100%. The tool description adds no extra parameter-level meaning beyond what the schema provides, which matches the baseline of 3 for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies a specific action ('Build living context for a task') and an endpoint ('POST /context/build'), and explains it returns approved, active memories ranked by similarity and importance. This is not a tautology and conveys the tool's read-oriented purpose, though it does not explicitly compare itself to sibling tools like solucortex_search.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives a clear timing directive: 'Call this at the START of a task, before touching code.' It establishes the intended context of use effectively, but it does not provide explicit exclusion criteria or name alternatives for cases where this tool would not be appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Memory type. The backend validates the value. Canonical vocabulary: architecture, decision, risk, convention, bug_history, tech_debt, sensitive_module, learning, external_integration. (Older backends may use technical_decision, historical_bug, current_state, task_closure.) On HTTP 422, retry with the alternate vocabulary. | |
| title | Yes | Short, clear title (~80 chars max). | |
| content | Yes | Full content: what to remember, why it matters, where it applies and what it prevents. NEVER include real secrets (tokens, passwords, .env, credentials). | |
| importance | No | Priority 1-10. Default 5. 6-7 high; 8-9 important decision/risk/convention; 10 critical. | |
| project_id | No | Project UUID. If omitted, the session default applies, else the backend infers it from the API key. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Given annotations already indicate this is a non-read, non-destructive, non-idempotent operation, the description adds valuable behavioral context: the memory is stored with status 'approved' and is traced, and a bearer API key is required. It also discloses the safe-handling policy for secrets, which goes beyond the structured annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is four concise sentences with no filler. The core action is front-loaded, followed by when-to-use, behavioral context, and the security caveat. Every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description is complete for a memory-creation tool: it covers action, trigger conditions, authentication, post-condition (approved/traced), and secret-handling policy. With an output schema present and comprehensive parameter schemas, nothing essential is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description adds meaning by explaining how to handle sensitive content in the `content` parameter: record location/type/severity and action taken with a redacted reference. This is practical guidance beyond the schema's 'NEVER include real secrets' note.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Record a memory in SoluCortex (POST /memories)'. It clearly distinguishes this write operation from its siblings (list, recall, search) by naming the creation endpoint and memory domain.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to call the tool: 'Call when closing a task or making a relevant technical decision.' It does not mention exclusions or alternatives, but the sibling tools are clearly different operations, so the primary usage context is sufficient.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
solucortex_searchARead-onlyInspect
Ad-hoc semantic search of memories (POST /search/semantic).
Use for specific questions during a task (e.g. 'how is authentication implemented?'), distinct from recall which builds the full startup context. Uses OpenAI embeddings (20 req/min).
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max memories to return. | |
| query | Yes | Question or topic to search across the project's memories. | |
| project_id | No | Project UUID. If omitted, the session default applies, else the backend infers it from the API key. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint and openWorldHint, so the description only needs to add context beyond that. It adds the rate limit ('20 req/min'), the embedding model dependency ('OpenAI embeddings'), and the ad-hoc nature. This is useful behavioral context without contradicting the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences, each earning its place: the first defines the operation, the second gives usage context and sibling differentiation, the third discloses operational constraints. The most important distinction is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple search operation, full schema coverage, readOnly/openWorld annotations, and the presence of an output schema, the description is complete. It covers purpose, usage context, sibling differentiation, and rate limiting — nothing essential is missing for an agent to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all three parameters. The description does not add parameter-specific semantics, but it sets general context (semantic search over memories). This meets the baseline for full schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Ad-hoc semantic search of memories (POST /search/semantic).' It also gives a concrete example ('how is authentication implemented?') and explicitly distinguishes itself from solucortex_recall, so an agent can tell them apart.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It says precisely when to use this tool — 'for specific questions during a task' — and when not to, by contrasting with recall, which 'builds the full startup context.' This gives the agent an explicit selection rule between the two most similar siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v1.0.0- Changed
solucortex_list_memories1 field changed- changed
Input schema / properties / project_id / descriptionPrevious value: -"Project UUID. If omitted, uses SOLUCORTEX_PROJECT_ID."New value: +"Project UUID. If omitted, the session default applies, else the backend infers it from the API key."
- Changed
solucortex_recall1 field changed- changed
Input schema / properties / project_id / descriptionPrevious value: -"Project UUID. If omitted, uses SOLUCORTEX_PROJECT_ID."New value: +"Project UUID. If omitted, the session default applies, else the backend infers it from the API key."
- Changed
solucortex_remember1 field changed- changed
Input schema / properties / project_id / descriptionPrevious value: -"Project UUID. If omitted, uses SOLUCORTEX_PROJECT_ID."New value: +"Project UUID. If omitted, the session default applies, else the backend infers it from the API key."
- Changed
solucortex_search1 field changed- changed
Input schema / properties / project_id / descriptionPrevious value: -"Project UUID. If omitted, uses SOLUCORTEX_PROJECT_ID."New value: +"Project UUID. If omitted, the session default applies, else the backend infers it from the API key."
4 tool updates
v0.1.0- First observed
solucortex_list_memories - First observed
solucortex_recall - First observed
solucortex_remember - First observed
solucortex_search
TDQS
Scored across 4 tools
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.
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.
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.
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
Related MCP Connectors
Shared memory for connected AI tools. Projects, rules and skills over MCP. OAuth or API key.
Hosted long-term memory for AI agents via MCP. Recalld updates facts as information changes and retrieves relevant context. Connect with a Recalld EU account.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceProvides 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.3Apache 2.0
- AlicenseNot gradedqualityAmaintenanceProvides persistent, searchable memory across coding projects and machines, letting agents record and retrieve projects, reusable assets, sessions, decisions, commits, and handoffs via MCP.2Apache 2.0
- FlicenseNot gradedqualityCmaintenanceEnables AI coding agents and IDEs to capture conversations, extract structured knowledge into a queryable graph database, and recall past decisions, patterns, files, and errors across all projects and workspaces. Provides persistent memory tools for saving, searching, and cleaning up knowledge via MCP.2-
- AlicenseNot gradedqualityBmaintenanceProvides AI coding agents with deterministic, attestable org memory via an MCP server, enabling automatic recall of relevant facts on every prompt, loss-proof capture of learnings, and curated promotion of verified facts to a tenant-isolated memory store.Apache 2.0