An MCP (Model Context Protocol) server that enables AI assistants to interact with TheBrain's knowledge management system. This server provides comprehensive access to TheBrain's API, focusing on natural language interaction with TheBrain's powerful knowledge management capabilities. MCP (Model Context Protocol) is a standard that lets AI assistants like Claude connect to external tools and servic
Add this skill
npx mdskills install redmorestudio/thebrain-mcpComprehensive TheBrain integration with 25+ tools and excellent documentation, but visual styling features are broken
An MCP (Model Context Protocol) server that enables AI assistants to interact with TheBrain's knowledge management system. This server provides comprehensive access to TheBrain's API, focusing on natural language interaction with TheBrain's powerful knowledge management capabilities.
MCP (Model Context Protocol) is a standard that lets AI assistants like Claude connect to external tools and services. Think of it as a translator between natural language and software APIs.
You → Claude → MCP Server → TheBrain API → Your Brain
The magic is that you don't need to know any technical details - just describe what you want in plain English!
The biggest limitation: Visual properties don't actually apply despite API success responses.
Until visual styling is fixed, use these alternatives:
git clone https://github.com/redmorestudio/thebrain-mcp.git
cd thebrain-mcp
npm install
.env file with your API key:THEBRAIN_API_KEY=your_api_key_here
THEBRAIN_DEFAULT_BRAIN_ID=optional_default_brain_id
Add to your Claude Desktop configuration:
{
"mcpServers": {
"thebrain": {
"command": "node",
"args": ["/absolute/path/to/thebrain-mcp/index.js"],
"env": {
"THEBRAIN_API_KEY": "your_api_key_here"
}
}
}
}
⚠️ Important: Use absolute file paths in the configuration and for file attachments.
"Field required" errors:
.env file has correct API keyFile upload failures:
/Users/username/Documents/file.pdfLong note problems:
Debug mode:
VERBOSE=true node index.js
list_brains - List all available brainsget_brain - Get brain detailsset_active_brain - Set the active brain for operationsget_brain_stats - Get comprehensive brain statisticscreate_thought - Create thoughts (visual properties don't work)get_thought - Retrieve thought detailsupdate_thought - Update thought propertiesdelete_thought - Delete a thoughtsearch_thoughts - Search across the brainget_thought_graph - Get thought with all connectionsget_types - List all thought typesget_tags - List all tagscreate_link - Create links between thoughts (styling doesn't work)update_link - Modify link propertiesget_link - Get link detailsdelete_link - Remove a linkadd_file_attachment - Attach files/images to thoughts ✅add_url_attachment - Attach web URLs ✅get_attachment - Get attachment metadataget_attachment_content - Download attachment contentdelete_attachment - Remove attachmentslist_attachments - List thought attachmentsget_note - Retrieve notes in markdown/html/text ✅create_or_update_note - Create or update notes ✅append_to_note - Append content to existing notes ✅get_modifications - View brain modification historyYou: "Create a project called 'Kitchen Renovation'"
Claude: Creates central project thought
You: "Add phases for planning, demolition, and installation"
Claude: Creates connected sub-thoughts for each phase
You: "Attach my contractor quotes to the planning phase"
Claude: Uploads files to the planning thought
You: "Add a detailed note about the timeline to the project"
Claude: Creates rich markdown note with your timeline
You: "Create a research topic about sustainable energy"
Claude: Sets up main research thought
You: "Add sub-topics for solar, wind, and hydro power"
Claude: Creates organized thought hierarchy
You: "Attach relevant papers and web articles"
Claude: Adds file and URL attachments
You: "Search for everything related to efficiency"
Claude: Finds all relevant thoughts and content
Contributions are welcome! Areas where help is especially needed:
Please feel free to submit issues or pull requests.
MIT License - see LICENSE file for details.
⚠️ Current Recommendation: Use this server for content management and organization with natural language interaction. Don't rely on visual styling features until they're fixed. The core functionality is solid and very useful for managing TheBrain content through conversation!
Install via CLI
npx mdskills install redmorestudio/thebrain-mcpTheBrain MCP Server is a free, open-source AI agent skill. An MCP (Model Context Protocol) server that enables AI assistants to interact with TheBrain's knowledge management system. This server provides comprehensive access to TheBrain's API, focusing on natural language interaction with TheBrain's powerful knowledge management capabilities. MCP (Model Context Protocol) is a standard that lets AI assistants like Claude connect to external tools and servic
Install TheBrain MCP Server with a single command:
npx mdskills install redmorestudio/thebrain-mcpThis downloads the skill files into your project and your AI agent picks them up automatically.
TheBrain MCP Server works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.