-
securityF
license-
qualityA simple server that integrates with Claude to allow querying and manipulating Notion pages and databases through natural language prompts.
Last updated -
194
JavaScript
本指南讲解如何设置并运行 MCP 服务器,以便使用 Claude Desktop 与 PostgreSQL 数据库进行交互。由于其底层使用了 sqlalchemy,因此它也兼容 MySQL、MariaDB 和 SQLite。本项目基于https://github.com/runekaagaard/mcp-alchemy构建。
**注意:**本指南假设您对 Docker、环境变量和 CLI 使用有基本的了解。
.env.example
文件并将其重命名为.env
:localhost:5432
上启动 PostgreSQL 数据库并用虚拟数据填充它。uv
(如果尚未安装)uv
uv
:uv
安装在非标准位置,请更新"command"
值以反映可执行文件的完整路径。.env.example
复制到.env
。docker-compose up
以使用虚拟数据启动数据库。uv
:如有必要,运行提供的安装命令。如果您遇到任何问题或需要进一步帮助,请参阅相关文档或联系您的支持团队。
编码愉快!
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
一种使用自然语言查询通过 Claude Desktop 与 PostgreSQL、MySQL、MariaDB 或 SQLite 数据库进行交互的服务器。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rhabraken/mcp-python'
If you have feedback or need assistance with the MCP directory API, please join our Discord server