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 API 金鑰;請依需求縮小作用域,因為 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