Myco Brain
@thegoodguysla
关于 Myco Brain
Myco Brain is a self-hosted, open-source (Apache-2.0) memory layer and MCP server for AI agents. Cross-session recall with a deterministic write path and source-backed answers (brain_why), on your own Postgres, no API keys to start. 11 brain_* tools; keyless semantic search via l
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"myco-brain": {
"command": "npx",
"args": [
"-y",
"@mycobrain/mcp-server"
],
"env": {
"DATABASE_URL": "postgresql://brain:brain@localhost:5432/brain",
"BRAIN_WORKSPACE_ID": "00000000-0000-0000-0000-000000000001",
"BRAIN_API_KEY": "brain_00000000-0000-0000-0000-000000000001_00000000-0000-0000-0000-0000000000a1_localdev"
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Myco Brain?
Myco Brain is a persistent, source-traceable memory server for AI agents, self-hosted on your own Postgres database. It uses MCP (Model Context Protocol) to give agents shared memory that traces every fact back to its source document, with trust that compounds from corroboration and supersession. Built for dev teams, agencies, and anyone who wants their AI assistant to remember across sessions without hosted dependencies.
How to use Myco Brain?
Clone the repository, run docker compose up -d to boot Postgres, the MCP server, and the extraction worker. Then ingest documents with npx -y -p @mycobrain/mcp-server mycobrain-ingest github:your-org/your-repo. Connect any MCP client (Claude, Cursor, Windsurf, Continue, Zed) and the agent automatically knows to pull context before a task, save durable decisions, and cite sources using the built-in usage contract. Tune the trust dial via environment variables like BRAIN_REQUIRE_HUMAN_REVIEW or BRAIN_SCHEMA_AUTO_PROMOTE.
Key features of Myco Brain
- Source-traceable: every fact links to its document (
brain_why) - Trust that compounds: corroboration raises confidence, contradiction supersedes (audited)
- Keyless & local-first: full-text + semantic search and knowledge graph run with zero hosted dependencies
- Dynamic schema: new entity/relationship types are proposed and promoted per workspace
- One isolated workspace per client, enforced by Postgres row-level security
- 11 MCP tools; works with multiple agent clients and a read-only HTTP REST API
Use cases of Myco Brain
- Dev teams running agents that need one shared memory across sessions
- Agencies needing hard per-client isolation with a shared playbook
- Anyone who wants their AI assistant to remember across sessions by importing ChatGPT or Claude history
- Multi-agent teams where documents marked private are readable only by the agent that created them
FAQ from Myco Brain
What makes Myco Brain different from other agent memory solutions?
Most agent memory silently overwrites facts, leading to duplicates and hallucinated summaries. Myco Brain uses deterministic rules: the LLM proposes, but deterministic logic decides what becomes a fact. Corroboration raises confidence, contradiction supersedes audited history, and every fact traces to its source document.
Do I need any API keys to run Myco Brain?
No. Full-text search, semantic search (local embeddings), and the knowledge graph all run with zero hosted dependency. An Anthropic key is optional and only used if you want the most accurate graph extraction.
Where is my data stored?
Your data lives entirely in your own Postgres database. No external services are required; the server is local-first and Apache-2.0 licensed.
How does Myco Brain handle trust and contradictions?
An independent source agreeing with a fact raises its confidence (damped noisy-OR, counting only distinct sources). A confident contradiction on a single-valued relationship supersedes the old fact: the old fact is closed and weakened, kept in an audited ledger, never deleted. You can always ask brain_why to see the source count, confidence trend, and supersession history.
Can I use Myco Brain with multiple clients (agencies)?
Yes. Each client goes in its own workspace, with one agency-wide playbook shared across workspaces. Postgres row-level security ensures a session scoped to Client A cannot return Client B's rows. Isolation binds under the least-privilege brain_app role; the agency starter kit provisions it with one command.
记忆与知识 分类下的更多 MCP 服务器
minutes
silversteinEvery meeting, every idea, every voice note — searchable by your AI. Open-source, privacy-first conversation memory layer.
Zettelkasten MCP Server
entanglrA Model Context Protocol (MCP) server that implements the Zettelkasten knowledge management methodology, allowing you to create, link, explore and synthesize atomic notes through Claude and other MCP-compatible clients.
🧠 Ultimate MCP Server
DicklesworthstoneComprehensive MCP server exposing dozens of capabilities to AI agents: multi-provider LLM delegation, browser automation, document processing, vector ops, and cognitive memory systems
RAG Documentation MCP Server
hannesrudolphAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.
Anytype MCP Server
anyprotoAn MCP server enabling AI assistants to interact with Anytype - your encrypted, local and collaborative wiki - to organize objects, lists, and more through natural language.
评论