这是一个用于生成占卜排盘(当前主要实现:六爻 / Six-line)的 MCP Server。
- Python 3.12+
- uv
git clone https://github.com/wangsquirrel/divination-chart-mcp.git
cd divination-chart-mcpuv syncuv run --with . divination-chart-mcp也可以显式指定 transport:
uv run --with . divination-chart-mcp --transport stdio
uv run --with . divination-chart-mcp --transport sse
uv run --with . divination-chart-mcp --transport streamable-http本地仓库:
uvx --from . divination-chart-mcp直接从 GitHub:
uvx --from git+https://github.com/wangsquirrel/divination-chart-mcp divination-chart-mcp{
"mcpServers": {
"divination-chart-mcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/wangsquirrel/divination-chart-mcp",
"divination-chart-mcp"
]
}
}
}uvx fastmcp list --command 'uv run --with . divination-chart-mcp' --json- 使用 ASGI 服务器启动 SSE 服务:
uvicorn api.index:app --host 0.0.0.0 --port 3000api/index.py导出了同一个 ASGI app,可用于云平台部署- 也可以直接在 Vercel 上部署这个项目,使用的是
vercel.json配置文件