🚀 快速启动指南
🚀 快速启动指南
启动 MCP Server
cd D:/SecondBrain/mcp
python mcp-server.py
输出:
============================================================
🧠 Second Brain MCP Server
Vault: D:\SecondBrain
Mode: ✏️ Read+Write
============================================================
📚 笔记库中共有 16 条笔记
📁 目录结构:
📁 .obsidian/
📝 AGENTS.md
📝 CONFLUENCE.md
📁 Daily Notes/
📝 INDEX.md
📁 mcp/
📁 Notes/
📁 Projects/
📝 README.md
📁 Resources/
📝 SETUP-CLUE.md
📁 templates/
📁 workflows/
📝 Zettelkasten.md
📁 tests/
🚀 启动 MCP Server...
等待 Claude 连接...
配置 Claude Desktop
编辑 %APPDATA%\Claude\settings.json:
{
"mcpServers": {
"second-brain": {
"command": "python",
"args": ["D:/SecondBrain/mcp/mcp-server.py"]
}
}
}
测试命令
# 单元测试
cd D:/SecondBrain/mcp
python test-mcp.py
# stdio 协议测试
python test-stdio.py
在 Claude 中试用
配置 MCP 后,在 Claude Desktop 中发送:
"请搜索我的笔记库中关于'第二大脑'的内容"
"列出我所有的笔记"
"分析 Notes/第二大脑系统架构.md 的连接"
"帮我创建一个新笔记,主题是'今天的学习心得'"