brain-assistant

brain-assistant

A natural language interface for the Brain knowledge management system, enabling conversational interactions, intelligent workflows, and tool suggestions.

Category
访问服务器

README

Brain Assistant MCP Server

A natural language interface for the Brain knowledge management system. Talk to your Brain system like you would talk to a helpful assistant.

🧠 What is Brain Assistant?

Brain Assistant provides a conversational interface to all Brain system tools, allowing you to:

  • Use natural language instead of JSON commands
  • Execute complex workflows with simple requests
  • Get intelligent suggestions for tools to use
  • Batch operations with preview and approval
  • Maintain conversation context across interactions

🚀 Features

Natural Language Commands

Instead of:

brain_remember { "key": "meeting_notes_2024", "value": "..." }

Just say:

"Remember that we discussed API redesign in today's meeting"

Intelligent Workflows

"Create a summary of this week's work and email it to me"

The assistant will:

  1. Search relevant memories and notes
  2. Generate a summary
  3. Create a formatted email
  4. Send it (with your approval)

Smart Suggestions

"I need to organize my project notes"

Get suggestions for:

  • Which tools to use
  • Example commands
  • Best practices

Batch Operations

"Archive all memories older than 6 months except the important ones"
  • Preview changes before executing
  • Intelligent filtering
  • Safety checks

📦 Installation

# Clone the repository
git clone https://github.com/[your-username]/mcp-brain-assistant.git
cd mcp-brain-assistant

# Install dependencies
npm install

# Build the project
npm run build

🔧 Configuration

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "brain-assistant": {
      "command": "node",
      "args": ["/path/to/mcp-brain-assistant/dist/index.js"],
      "env": {
        "ANTHROPIC_API_KEY": "your-api-key-here"
      }
    }
  }
}

🎯 Usage

Basic Chat

brain_chat {
  "message": "What did I work on yesterday?",
  "context": {
    "currentProject": "api-redesign"
  }
}

Execute Workflows

brain_workflow {
  "workflow": "Prepare weekly status report with tasks completed and blockers",
  "requireApproval": true
}

Get Tool Suggestions

brain_suggest {
  "task": "I want to track my daily habits",
  "includeExamples": true
}

Batch Operations

brain_batch {
  "operation": "Tag all notes about machine learning with #ml tag",
  "preview": true
}

🖥️ Streamlit UI

Run the interactive UI:

npm run streamlit

Features:

  • Chat interface with message history
  • Visual approval system for operations
  • Quick action buttons
  • Tool reference panel
  • Project context management

💡 Example Conversations

Morning Routine

You: "Good morning! What's on my plate today?"
Assistant: *Checks tasks, calendar, and recent work*
"Good morning! Here's your day:
- 3 high-priority tasks in the API project
- Meeting notes from yesterday need review
- 2 pending emails about the design spec
Would you like me to create today's daily note?"

Project Context Switch

You: "Switch to the mobile app project"
Assistant: *Loads project context*
"Switched to mobile app project. Last worked on: 3 days ago
- Status: In development
- Next milestone: Authentication implementation
- 5 open tasks
Would you like to see the task list?"

Smart Search

You: "Find everything about the authentication bug"
Assistant: *Searches across memories, notes, and emails*
"Found 12 items about the authentication bug:
- 3 memories with debugging notes
- 2 Obsidian notes with solutions
- 5 emails discussing the issue
- 2 tasks related to the fix
The main issue was token expiration. Solution implemented on July 20."

🤝 Human Approval System

The assistant requires approval for:

  • Sending emails
  • Deleting content
  • Executing code
  • Batch modifications

Auto-approval available for:

  • Read operations
  • Creating drafts
  • Non-destructive searches
  • Status checks

🧩 Integration with Brain Tools

The assistant seamlessly integrates with:

  • brain - Core memory and execution
  • brain-manager - Project management
  • filesystem - File operations
  • todo-manager - Task tracking
  • obsidian - Note management
  • Claude's built-in tools (web search, gmail, etc.)

🔐 Security

  • All operations respect Brain system permissions
  • Approval required for sensitive operations
  • Conversation history stored locally
  • No data sent to external services (except Anthropic for NLP)

🚧 Roadmap

  • [ ] Voice input support
  • [ ] Scheduled workflows
  • [ ] Learning from user patterns
  • [ ] Multi-user support
  • [ ] Mobile app
  • [ ] Webhook integrations

🤔 Contributing

Contributions welcome! See CONTRIBUTING.md for guidelines.

📄 License

MIT License - see LICENSE for details.


Transform your Brain system from a powerful tool into an intelligent companion! 🧠✨

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选