myBrain

io.github.mybrain-aiv0.1.0更新于 Oct 8, 2026

Your personal knowledge base and memory for AI agents: search, explore and feed your myBrain.

已验证Streamable HTTP可网页运行Productivity & WorkflowKnowledge & Memory

概览

AI 生成的概览

将助手连接到个人 myBrain 知识库,使其能够搜索、浏览并向私有知识图谱添加来源。

功能
提供读取工具,例如 recall_memories、search_user_knowledge、search_passages、explore_node、trace_path 和 get_knowledge_overview,用于搜索和浏览个人知识图谱。写入工具(add_source_text、add_source_url、add_source_youtube、approve_source、import_memories)添加的内容会作为待批准的来源。ask_mybrain 工具可基于该知识库生成带引用的完整回答。
适用场景
当助手应当查阅你自己上传、链接、录制或撰写的内容,而不是反复询问你时适用;也适合让助手把新来源补充进该知识库。最适合已经使用 myBrain 知识库、希望智能体基于其进行推理的用户。
运行要求
远程 Streamable HTTP 端点 MCP API 密钥,在 myBrain 的“设置 > 已连接应用 > MCP 集成”中创建,并通过 Authorization 请求头以 Bearer 加密钥的形式发送。密钥带有作用域:mcp:read、mcp:write 和 mcp:orchestrator。需要网络访问。
安装前请注意
Authorization 请求头携带密钥;请按需最小化作用域,因为 mcp:write 允许助手添加来源,mcp:orchestrator 会消耗套餐配额且受速率限制。写入内容会成为待批准的来源,只有你批准后才会被处理。你添加的内容会发送到 myBrain 服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 myBrain,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.mybrain.ai/mcp/"
    }
  }
}

README

myBrain MCP

myBrain is your personal knowledge base: everything you upload, link, record or write becomes a knowledge graph you can search, explore and reason over. This repository is the public home of the MCP server entry and of the files that teach an AI agent how to use your brain well.

EndpointTransportAuth
https://mcp.mybrain.ai/mcp/Streamable HTTPAuthorization: Bearer <MCP API key>

Create the key in myBrain: Settings → Connected Apps → MCP Integrations. Keys carry scopes: mcp:read (search and read tools), mcp:write (add sources, approve, import memories), mcp:orchestrator (ask_mybrain). Keep the trailing slash in the URL.

Connect

Claude Code

bash
claude mcp add mybrain --transport http --url https://mcp.mybrain.ai/mcp/ --header "Authorization: Bearer YOUR_MCP_API_KEY"

Claude Desktop, Cursor, VS Code (mcpServers in the client config):

json
{  "mcpServers": {    "mybrain": {      "url": "https://mcp.mybrain.ai/mcp/",      "headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }    }  }}

Teach your agent to use it

Connecting the server is not enough. The agent also has to know when to search your brain instead of asking you, which tool is the cheap one, and that every write becomes a source pending your approval. Pick what fits your client:

FileUse
skill/mybrain/SKILL.mdClaude Code skill. Copy the skill/mybrain/ folder into ~/.claude/skills/ (personal) or <project>/.claude/skills/ (project).
templates/CLAUDE.mdBlock to paste into a project or global CLAUDE.md.
templates/AGENTS.mdSame guidance for clients that read AGENTS.md (Codex, Cursor, others).

All three assume the server is connected as mybrain (tool names mcp__mybrain__* in Claude Code).

Tools

Read (mcp:read): recall_memories, list_memories, search_user_knowledge, search_passages, read_source_passages, search_knowledge, search_sources, list_sources, explore_node, trace_path, get_knowledge_overview, list_knowledge_fields, get_knowledge_node, get_related_concepts, list_chat_threads, get_chat_history, get_suggested_questions, get_ingestion_status, get_usage_summary.

Write (mcp:write): add_source_text, add_source_url, add_source_youtube, approve_source, import_memories. Writes land as a source pending your approval in myBrain and are processed only after you approve.

Ask (mcp:orchestrator): ask_mybrain, a full answer synthesized over your brain with citations. It is rate limited and spends your plan quota.

Registry

server.json is the manifest published to the official MCP Registry as io.github.mybrain-ai/mcp.

Publishing (maintainers only) needs an Owner of the mybrain-ai org. The interactive mcp-publisher login github only grants the personal namespace (registry#1468); log in with a PAT instead (classic with read:org, or fine-grained with "Organization → Members → Read-only"), on mcp-publisher 1.8.1 or newer:

bash
./mcp-publisher login github --token "$GH_PAT"./mcp-publisher publish

License

The files in this repository are released under the MIT License. See TRADEMARKS.md for the marks. The myBrain service and the server code behind mcp.mybrain.ai are not part of this repository.

来源:README.md,提交 eead683

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.1.0最新Oct 8, 2026