pdca-mcp
Provides read-only query tools for dealer data stored in PostgreSQL, including store lists, sell-in amounts, sell-out amounts, five-kit details, meeting records, and monthly targets.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pdca-mcp查询华东区6月的进货和终端销售数据"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pdca-mcp
PDCA 经销商数据 MCP 服务 —— 独立于 pdca-workbench 看板,只读查询生产 PostgreSQL,供团队成员的 AI 助手(Claude Desktop / Cursor / opencode)调用。
能力(只读查询)
tool | 说明 | 口径 |
| 活跃门店列表 | — |
| 经销商进货金额 | 万 CNY |
| 经销商终销金额 | USD |
| 门店五件套明细 | 客流来源 + 成交漏斗 |
| 会议记录 + 待办 | — |
| 月度目标 | — |
Related MCP server: PostgreSQL MCP Server
安装
cd pdca-mcp
python -m venv .venv
.venv\Scripts\activate # Windows
# source .venv/bin/activate # macOS / Linux
pip install -r requirements.txt
cp .env.example .env # 填 PDCA_MCP_DATABASE_URL 和 PDCA_MCP_API_KEYS配置到别人的 AI
Claude Desktop
在 claude_desktop_config.json 里加:
{
"mcpServers": {
"pdca": {
"command": "python",
"args": ["-m", "pdca_mcp.server"],
"cwd": "D:\\pdca-mcp"
}
}
}Cursor / opencode
在 MCP 配置里加同样的 stdio 命令(python -m pdca_mcp.server),工作目录指向 pdca-mcp。
远程团队共享(HTTP + API Key)
在服务器上跑:
python -m pdca_mcp.server --transport http --port 8765其他人在 AI 客户端配 SSE/HTTP URL:
http://<host>:8765/mcp并在请求里带 Authorization: Bearer <PDCA_MCP_API_KEYS 中的一把 key>。
认证
stdio(本地):靠本机信任,
.env里的数据库连接即凭证。HTTP(远程):
PDCA_MCP_API_KEYS里配置的 key 作为 Bearer token(多个 key 逗号分隔,分发给不同使用者)。
当前第一版为只读查询,连接建议用只读数据库账号,不要用 postgres 超级用户。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceA Model Context Protocol server providing dual transport (HTTP and Stdio) access to PostgreSQL databases, allowing AI assistants to query databases and fetch schema information through natural language.2731MIT
- Alicense-qualityDmaintenanceEnables interaction with PostgreSQL databases through both HTTP and stdio transports. Supports executing read-only SQL queries, listing tables, and retrieving schema information with stateful session management.27MIT
- Alicense-qualityDmaintenanceEnables interaction with PostgreSQL databases through both HTTP and Stdio transports, supporting read-only SQL queries, table listing, and schema inspection. Features stateful session management for HTTP transport and flexible deployment options including Docker support.27MIT
- Alicense-qualityDmaintenanceProvides LLMs with full PostgreSQL database access, including tools for query execution, schema management, and data export. It also features a dedicated insights system for storing business memos and supports both local stdio and remote HTTP transport.MIT
Related MCP Connectors
Query PostgreSQL databases in plain English — LLM-generated, safety-validated SQL.
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Run AI customer support from your terminal: conversations, knowledge base, and chat widget.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wfywfywfy01/pdca-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server