Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Long-term, drift-free cognitive memory engine for AI Agents and Cursor IDE.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://cortex.bluesynergy.io/v1/mcp/sse在终端中运行这条命令
claude mcp add --transport sse cortex https://cortex.bluesynergy.io/v1/mcp/sse粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"cortex": {
"url": "https://cortex.bluesynergy.io/v1/mcp/sse"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"cortex": {
"type": "sse",
"url": "https://cortex.bluesynergy.io/v1/mcp/sse"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://cortex.bluesynergy.io/v1/mcp/sse菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 novotapeter-bs 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.0.0)于上个月进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Long-term, drift-free cognitive memory engine for AI Agents, Cursor IDE, and Claude Desktop via Model Context Protocol (MCP).
Deep Dive: Want to understand our tri-stream model, autonomous rest cycles, and dynamic invariant guards?
Read the full Engineering Whitepaper & Architecture Model (ARCHITECTURE.md).
Most memory systems treat everything as fluid vector soup—causing agents to hallucinate, forget strict technical requirements, or confuse user preferences with code specs.
Blue Synergy Cortex implements an enterprise-grade Tri-Stream Architecture backed by transactional PostgreSQL and enterprise knowledge graph architecture:
API Key Required: Blue Synergy Cortex is a fully hosted, zero-maintenance cognitive cloud engine. You need an active API key to connect your client.
🔑 [Get your 21-Day Free Trial Key here](https://cortex.bluesynergy.io) *(Instant activation, no credit card required, includes 500 graph nodes & up to 3 agents).*
ctx_live_xxxxxxxxxxxxxxxxxxxxxx.Ctrl+Shift+J or Cmd+Shift+J).cortex-memoryssehttps://cortex.bluesynergy.io/v1/mcp/sse?api_key=YOUR_API_KEYEdit your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the Cortex remote configuration (Claude Desktop):
{
"mcpServers": { "cortex": { "command": "npx", "args": [ "-y", "mcp-remote", "https://cortex.bluesynergy.io/v1/mcp/sse", "--header", "Authorization: Bearer YOUR_API_KEY" ] } } }
Restart Claude Desktop
💡 Crucial: Preventing Collapsed/Empty Messages in Claude Desktop
In Claude Desktop, if the assistant writes text *before* calling an MCP tool in the same turn, the desktop UI automatically collapses that text into the tool accordion, making the response appear empty or truncated to the user.
To guarantee 100% clean UI display and continuous memory ingestion, add this exact rule to your Claude Desktop settings (Settings ➡️ Profile / Custom Instructions):
`text
[CORTEX MEMORY PROTOCOL]
1. Inhale: Call
cortex_recallbefore answering whenever historical or project context is needed.
2. Exhale (UI-Safe): Do NOT write conversational text before calling
cortex_ingest_turn. Always execute thecortex_ingest_turntool call first (passing both the user's prompt and your planned answer).
3. Response: Generate your full substantive answer to the user immediately after the tool completes. This ensures your response displays cleanly in the UI without being collapsed into tool artifacts.
`
Use the SSE endpoint directly in your tool's MCP configuration:
{
"mcpServers": { "cortex": { "url": "https://cortex.bluesynergy.io/v1/mcp/sse?api_key=ctx_live_..." } } }
---
Example: Querying Context (cURL)
curl -X POST https://cortex.bluesynergy.io/v1/recall \
-H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "query": "System database requirements", "user_id": "developer", "agent_id": "backend_agent" }'
Cortex is not a passive key-value store; it is an active cognitive operating system with strict governance boundaries. Understanding when and why to call each tool ensures high-fidelity memory consolidation.
For every user turn, your agent should inherently follow this golden loop:
cortex_recall to fetch ground-truth context (User Bio + Active Project Specs + Graph Relations).cortex_ingest_turn to send the turn to the asynchronous ingestion buffer.| Tool Name | Type | When to Call | System Behavior |
|---|
| cortex_recall | query (string) compact (bool, optional) | Before answering the user (mandatory for full context awareness). | Fast context retrieval. Injects verified user preferences, active project specifications, and related domain facts. Set compact: true to strip preambles and return only high-relevance context (recommended for CLI / agent workflows). | | cortex_ingest_turn | Ingestion | Immediately after answering every conversational turn. | Asynchronously ingests the conversational turn. Automatically filters dialogue noise, learns communication preferences, and stages key technical facts for memory consolidation. | | cortex_list_projects | Discovery | Before creating projects or when the target slug is uncertain. | Returns all authorized active project workspaces with their canonical IDs, human-readable names, and descriptions. Prevents duplicate workspaces. | | cortex_create_project | Provisioning | When the user declares, initializes, or approves a new project scope. | Registers and authorizes a new canonical project_id. Establishes the project baseline and associates relevant staged notes with this workspace. | | cortex_store_memory | Write | For explicit constraints, business rules, and technical decisions that must be guaranteed. | Curated persistent write. Ensures facts are strictly validated and staged in workspace memory without risking cross-project contamination. | | cortex_get_project_spec | Inspection | When you need the complete Living Specification of a project. | Deterministically retrieves the unified, consolidated specification of the project (Living Document). Returns only verified specifications. | | cortex_consolidate_project | Execution | When the user requests an immediate update/reconciliation of project specifications. | Triggers a background reconciliation task to merge recent notes and updates into the canonical project specification. | | cortex_get_task_status | Monitoring | When checking if an asynchronous consolidation has finished. | Queries task status by task_id or project_id. Returns execution state (PENDING, RUNNING, COMPLETED, FAILED) and diagnostic messages if reconciliation fails. | | cortex_manage_draft | Governance | When a new product or domain is proposed and awaits explicit authorization. | Promotes proposed project drafts into active production specifications, or permanently purges rejected concepts. | | cortex_triage_general | Maintenance | When the unassigned memory pool accumulates multi-project notes. | Automatically clusters unstructured notes, assigns them to appropriate projects, and compacts the workspace. |
cortex_clean_general | Maintenance | When the user instructs to reset or prune unassigned memory. | Selectively deletes unassigned notes by topic or keyword, or completely resets active staging buffers. |
|---|
To prevent memory fragmentation and unauthorized project sprawl, Cortex treats memory with strict governance boundaries:
[Incoming Note / Message]
│ ▼ Is Project Authorized? ├── NO ──► Staged in General Pool ('general') │ │ │ ▼ │ Awaits Triage via cortex_triage_general │ (or explicitly authorized via cortex_create_project) │ │ └── YES ◄─────────┘ │ ▼ [Asynchronous Consolidation Cycle] │ ▼ [Active Living Specification & Knowledge Topology]
---
Cortex enforces a Human-in-the-Loop policy. If a project_id has not yet been explicitly authorized by the user, incoming facts are safely staged in the general memory pool to prevent polluting active workspaces. Once the project is approved (via cortex_manage_draft or explicit creation), the nocturnal consolidation engine automatically synthesizes these staged notes into the official Living Specification (cortex_get_project_spec).
If your project specs work but User Biography or Agent Persona remains empty, your AI agent is skipping the required post-response "exhale" step (cortex_ingest_turn).
Why this happens: LLMs (Claude, GPT, etc.) treat remote MCP prompt instructions with lower priority once they finish drafting a response to the user. When an agent skips cortex_ingest_turn, dialogue turns never hit the ingestion buffer, starving the Cognitive Router and Memory Firewall of data needed to distill user habits.
The Fix: Enforce the rule at the client/system prompt level (e.g. in your system prompt, Cursor Rules .cursorrules, or Claude Desktop Custom Instructions). An instruction anchored in the client's native prompt has 10× higher adherence than MCP tool headers alone.
Encountered an issue or have a feature suggestion?
只显示了开头部分;其余内容请在仓库中阅读