Brain MCP Server
Provides tools to interact with a Brain service via n8n webhooks, enabling capabilities like saving, searching, and managing thoughts or entries with full metadata.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Brain MCP Serverquick capture: just had an idea for a new project structure"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Brain MCP Server
MCP server exposing Brain service operations as tools via FastMCP.
Tools
save_to_brain- Save thought with full metadataquick_capture- Quick capture with auto-classificationsearch_brain- Search thoughts by text querylist_recent- List recent entries with filtersget_entry- Fetch specific entry by ID
Related MCP server: TheBrain MCP Server
Transports
stdio - Local development (default)
SSE - Remote access via HTTP (with OAuth 2.0 support)
For OAuth configuration and remote access setup, see OAUTH_SETUP.md.
Local Development
# Install dependencies
pip install -r requirements.txt
# Run with stdio transport
python brain_mcp_server.py
# Run with SSE transport
MCP_PORT=8084 MCP_TRANSPORT=sse python brain_mcp_server.py
# Test with MCP inspector
mcp dev brain_mcp_server.pyDocker Deployment
docker compose up -dBuilds from GitHub and runs with SSE transport on port 8084.
Environment Variables
Variable | Default | Description |
BRAIN_API_BASE | n8n Brain webhooks URL | |
BRAIN_API_TIMEOUT | 30.0 | API timeout in seconds |
MCP_TRANSPORT | stdio | Transport mode (stdio/sse) |
MCP_PORT | 8084 | SSE server port |
MCP_HOST | 0.0.0.0 | SSE server host |
BASE_URL | http://{MCP_HOST}:{MCP_PORT} | Base URL for OAuth metadata |
OAUTH_ENABLED | false | Enable OAuth (advisory flag) |
This server cannot be deployed
Maintenance
Related MCP Connectors
Brain dump, routines, task planning, focus, and instant thought retrieval
Search, install and submit Markdown skills for AI agents; private Brain files when signed in.
A self-improving memory layer. Your memory, notes, tasks and goals, remembered everywhere.
Securely search, create, and organize your Mem notes and collections from AI assistants.
Related MCP Servers
- AlicenseBqualityFmaintenanceEnables AI assistants to interact with TheBrain's knowledge management system for creating, searching, and organizing thoughts, notes, and attachments using natural language. It provides comprehensive tools for managing hierarchical thought structures, link relationships, and file attachments through TheBrain's API.2616MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to interact with TheBrain's knowledge management system through natural language for managing thoughts, notes, and attachments. It supports core features like full-text search, relationship mapping, and file uploads to streamline digital brain organization.3Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables semantic search across your local AI conversation history (ChatGPT, Claude, etc.) and provides tools to retrieve context, capture thoughts, and get profile summaries.65AGPL 3.0
- FlicenseNot gradedqualityDmaintenanceWraps TheBrain knowledge graph as an MCP server, enabling AI assistants to search, create, and manage thoughts, links, and notes via natural language.5-