loading…
Search for a command to run...
loading…
A comprehensive MCP server that integrates Ollama model management with specialized tools for Chinese poetry, history, fashion styling, and Zhouyi divination. I
A comprehensive MCP server that integrates Ollama model management with specialized tools for Chinese poetry, history, fashion styling, and Zhouyi divination. It provides a single entry point for 26 diverse tools, allowing users to manage local LLMs and access cultural or utility functions through a unified interface.
🚀 一个统一的 MCP 服务器入口,整合了 Ollama、古诗词学习、时尚搭配和会议记录 AI 的所有功能。
重要: 本项目现在只有一个 MCP 服务器入口点。所有独立的服务器实现已被整合。如果您之前使用过独立服务器,请查看 MIGRATION.md。
npm install
npm run build
Windows: 编辑 %APPDATA%/Claude/claude_desktop_config.json
macOS: 编辑 ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"unified-mcp": {
"command": "wsl",
"args": [
"node",
"~/Ollama-mcp/build/index.js"
],
"env": {
"OLLAMA_HOST": "http://127.0.0.1:11434"
}
}
}
}
注意: 如果项目在 WSL 中,使用
wsl命令。如果在 macOS/Linux 原生环境,直接使用node。
详细使用说明请查看 USAGE_GUIDE.md
// 列出模型
use_mcp_tool({
server_name: "unified-mcp",
tool_name: "ollama_list"
})
use_mcp_tool({
server_name: "unified-mcp",
tool_name: "poetry_generate",
arguments: {
theme: "春天",
style: "唐诗"
}
})
use_mcp_tool({
server_name: "unified-mcp",
tool_name: "fashion_outfit_suggestions",
arguments: {
style: "休闲",
occasion: "约会"
}
})
use_mcp_tool({
server_name: "unified-mcp",
tool_name: "meeting_extract_summary",
arguments: {
meeting_text: "会议内容..."
}
})
use_mcp_tool({
server_name: "unified-mcp",
tool_name: "history_person_query",
arguments: {
person_name: "李白"
}
})
Ollama-mcp/
├── src/
│ ├── index.ts # 🎯 统一 MCP 服务器入口 (唯一入口)
│ ├── tools/
│ │ ├── ollama.ts # Ollama 工具 (10个)
│ │ ├── chinese-poetry.ts # 古诗词工具 (4个)
│ │ ├── fashion-stylist.ts # 时尚搭配工具 (4个)
│ │ ├── history-knowledge.ts # 历史知识工具 (4个)
│ │ └── zhouyi-divination.ts # 周易占卜工具 (4个)
│ └── data/
│ └── fashion-data.ts # 时尚数据
├── build/ # 构建输出
├── chinese_poetry_app/ # 古诗词 Python/Streamlit 应用
├── fashion_stylist_app/ # 时尚搭配 Python 应用
├── zhouyi_divination/ # 周易占卜 Python 应用
├── package.json
├── tsconfig.json
├── README.md
├── USAGE_GUIDE.md
└── MIGRATION.md # 迁移指南
npm run watch
npm run inspector
src/tools/ 创建新模块src/index.ts 中导入并注册npm run build{
"mcpServers": {
"unified-mcp": {
"env": {
"OLLAMA_HOST": "http://custom-host:11434"
}
}
}
}
cd meeting_notes_ai
pip install -r requirements.txt
| 特性 | 旧架构 (分散) | 新架构 (统一) ✅ |
|---|---|---|
| MCP 服务器数量 | 3 个独立服务器 | 1 个统一服务器 |
| 工具总数 | 18 个 | 26 个 |
| 构建次数 | 3 次 | 1 次 |
| Claude Desktop 配置 | 3 个条目 | 1 个条目 |
| 维护复杂度 | 高 | 低 |
| 代码复用 | 低 | 高 |
| 资源占用 | 3 个进程 | 1 个进程 |
欢迎提交 Issue 和 Pull Request!
MIT License
让 AI 工具更简单,更强大! 🚀
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"unified-mcp-server": {
"command": "npx",
"args": []
}
}
}