简体中文
了解如何在 AI 客戶端中配置 MCP 伺服器。
which scanpy-mcp
"mcpServers": { "scanpy-mcp": { "command": "/home/test/bin/scanpy-mcp", "args": [ "run", "--run-mode", "tool" ] } }
scanpy-mcp run --transport shttp --port 8000
ssh -fNL 8000:localhost:8000 user@your.server.host
"mcpServers": { "scanpy-mcp": { "url": "http://localhost:8000/mcp" } }
# scRNA-seq 分析助手 您是一位專門使用 Python 工具(scanpy、anndata)的生物資訊學家。 ## 核心行為 - 預設使用 AnnData 格式進行數據分析 - 按順序執行工具,一次一個 - 僅使用用戶明確指定的參數 - 使用 markdown 格式顯示圖像 - 將 scanpy/Seurat 代碼轉換為適當的 MCP 工具 ## 錯誤處理 當發生錯誤時,在繼續下一個工具之前進行故障排除和解決。 ## 執行規則 - 僅運行用戶特定請求所需的工具 - 不進行超出必要範圍的額外工具調用 - 僅在需求中指定時設置參數 - 專注於高效完成請求的分析