把 DigSQL 接进你的 AI 助手
让你的 AI 直接比数码价、查跨区价、提交渠道价。任何支持 MCP 的助手都能连。
MCP 端点(Streamable HTTP)
https://digsql.com/api/mcp
加进你的助手
Claude Code
claude mcp add --transport http digsql https://digsql.com/api/mcp
Codex(~/.codex/config.toml)
[mcp_servers.digsql] url = "https://digsql.com/api/mcp"
Cursor(.cursor/mcp.json)
{"mcpServers":{"digsql":{"url":"https://digsql.com/api/mcp"}}}Claude Desktop(claude_desktop_config.json)
{"mcpServers":{"digsql":{"command":"npx","args":["-y","mcp-remote","https://digsql.com/api/mcp"]}}}VS Code / Cline / Roo Code
{"mcpServers":{"digsql":{"url":"https://digsql.com/api/mcp"}}}Windsurf
{"mcpServers":{"digsql":{"url":"https://digsql.com/api/mcp"}}}仅支持 stdio 的客户端(用 mcp-remote 桥接)
npx mcp-remote https://digsql.com/api/mcp
其它客户端:添加一个 Streamable HTTP 类型的 MCP server,URL 填上面的端点。
连上后你的 AI 多了三个工具
search_productsget_product_pricessubmit_channel_price可以这样问
- "帮我比一下 iPhone 16 各区价格,哪版最划算?"
- "DigSQL 上 Model Y 现在多少钱?"
提交渠道价(可选)
登录后在「我的」页生成 API token,在 MCP 客户端给这个 server 配 Authorization: Bearer <你的token>(或 x-api-key)请求头即可用 submit_channel_price 提交,进人工审核队列。只读查询无需 token。
完整 API 文档:/api/agent · /llms.txt