Cognition Workbench
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cognition WorkbenchLet's discuss whether AI agents will replace traditional enterprise software."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cognition Workbench
简体中文 · Documentation · Contributing · Security
A local-first cognition system for Codex. It turns guided discussions into reviewable knowledge, recalls relevant judgments in later work, and keeps external evidence separate from personal conclusions.
Why it exists
Most knowledge bases preserve information. Cognition Workbench preserves how a judgment was formed, what supports or challenges it, how confident it is, and when it should be reconsidered.
The first release provides three connected workflows:
Guided discussion — explores one branch and asks one question at a time.
Contextual recall — retrieves relevant prior cognition during AI, product, strategy, and implementation work.
Daily topic — proposes one high-value issue without starting the discussion automatically.
All formal knowledge stays in local Markdown. New conclusions enter a review inbox and are committed only after explicit confirmation.
flowchart LR
A["Topic or daily prompt"] --> B["Guided discussion"]
B --> C["Review candidate"]
C -->|"explicit confirmation"| D["Markdown knowledge base"]
D --> E["Context retrieval in later work"]
E --> F["Validation, contradiction, or revision"]
F --> CRelated MCP server: Codex Native Memory
Quick start
Requirements: Node.js 20 or newer, Codex, and Git.
git clone https://github.com/to-real/cognition-workbench.git
cd cognition-workbench
npm ci
npm run install:dry-run
npm run install:codexRestart Codex after installation. The installer links the three bundled skills and registers the local MCP server. It derives every path from the checkout, refuses to replace unrelated files, and supports --force only for replacing the existing MCP registration.
Then try:
Let's discuss whether AI agents will replace traditional enterprise software.
Recommend today's topic.
Evaluate whether this AI office product has a durable moat.
Use my previous judgments about workflow switching costs.Chinese is the default discussion language in the bundled skills, but their instructions can be adapted.
What is included
Area | Purpose |
| Guided discussion, contextual recall, and daily-topic workflows |
| Local MCP tools for retrieval, relationships, review, and daily topics |
| Your formal topics, cognition units, sources, and project records |
| Unconfirmed updates and daily topic proposals; ignored by Git |
| Human-editable Markdown record templates |
| Non-personal sample knowledge, kept outside the live knowledge base |
| Product model, usage, architecture, and development notes |
Design boundaries
Markdown is the source of truth; generated state is disposable.
Personal judgment and external evidence are distinct record types.
Retrieval combines title, body, categories, tags, status, and explicit links.
Obsolete cognition is retained as history and excluded from default guidance.
No vector database, hosted account, or external analytics is required.
See Architecture, Knowledge model, and Usage for details.
Development
npm ci
npm testThe test suite covers retrieval ranking, relationship expansion, review-before-write behavior, version history, the daily topic constraint, portable installation planning, and a real MCP client/server exchange.
Status
v0.1.0 is an intentionally small local-first release. Semantic retrieval, richer contradiction detection, and a dedicated interface are future options, not runtime requirements.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
A self-improving memory layer. Your memory, notes, tasks and goals, remembered everywhere.
Personal context for every AI: search, read, and write back to your private Markdown library.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Personal wiki and memory layer for AI assistants. Persistent, structured memory across sessions.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceLocal memory search for Codex and Claude Code conversations. It keeps history on your machine, builds a local graph index, and returns compact evidence from past sessions.5MIT
- AlicenseBqualityAmaintenanceProvides local cross-session memory for Codex by importing transcripts, indexing in SQLite, and exposing search, context, and memory management through MCP tools.13MIT
- FlicenseNot gradedqualityCmaintenanceLocal-first, durable knowledge-card RAG for Codex, enabling search, retrieval, and maintenance of reusable experience cards.-
- AlicenseNot gradedqualityBmaintenanceLocal-first Knowledge Management System that exposes markdown-based durable memory as MCP tools for Codex and ChatGPT, enabling search, read, write, and promotion workflows with project and global scopes.MIT