Labsco
MCP SERVER

TheBrain MCP Server

by redmorestudio

Build and search a TheBrain knowledge graph by describing what you want in it.

Note-Taking & Personal Knowledge Bases
Summary
Content management works; visual styling is documented as not working.

The README says it plainly: thought colours, link colours and link thickness are accepted by the API and then don't appear in TheBrain, with emoji and descriptive names offered as the workaround. Three other limits it names up front — keep notes under 10,000 characters, use absolute file paths, and set the active brain before anything else.

What it is

A Node server over TheBrain's API: create and connect thoughts, write markdown notes, attach files and URLs, and search across a brain — 25+ tools in all.

What you get
  • Thoughts — `create_thought`, `get_thought`, `update_thought`, `delete_thought`, `search_thoughts`, and `get_thought_graph` for a thought with all its connections
  • Links between thoughts — `create_link`, `update_link`, `get_link`, `delete_link`
  • Markdown notes — `get_note` in markdown, HTML or text, `create_or_update_note`, `append_to_note`
  • Attachments — `add_file_attachment` for images, PDFs and documents, `add_url_attachment` with automatic title extraction, plus `get_attachment_content`, `list_attachments`, `delete_attachment`
  • Several brains — `list_brains`, `get_brain`, `set_active_brain`, `get_brain_stats`
  • Vocabulary and history — `get_types`, `get_tags`, `get_modifications`
Requirements

Node with `npm install`, and `THEBRAIN_API_KEY` in the environment; `THEBRAIN_DEFAULT_BRAIN_ID` is optional. Point your client at an absolute path to `index.js`, and use absolute paths for file attachments as well — relative ones fail.