What are the prerequisites for running the server?
Python 3.12 or higher, a PostgreSQL database, and UV package manager (recommended).
@Tibiritabara
基本情報
Postgres MCP server
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"postgres-mcp-tibiritabara": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}Execute SQL queries against the database (SELECT queries only)
A FastMCP server that enables LLMs to connect and interact with PostgreSQL databases. It demonstrates how to use the Model Context Protocol (MCP) to allow Language Models to query and explore database schemas and tables.
Install Python 3.12+, PostgreSQL, and UV. Clone the repository, create a virtual environment, install dependencies with uv sync, and configure environment variables. Uncomment the run function in src/main.py and start the server with python -m src.main. Alternatively, use Docker with the provided Dockerfile. For client applications, add the MCP configuration to the client’s MCP config file (e.g., .cursor/mcp.json).
Python 3.12 or higher, a PostgreSQL database, and UV package manager (recommended).
Set environment variables: `DB_HOST`, `DB_PORT`, `DB_USER`, `DB_PASSWORD`, and `DB_NAME`. Default values are provided in `.env.example`.
Only SELECT queries are allowed via the `query_database` tool; no modifications are supported.
Results are returned in YAML format for easy parsing by LLMs.
Yes, build the image with `docker build -t mcp-demo .` and run with `docker run --env-file .env.docker -p 8000:8000 mcp-demo`.

nuzur is a model-first database platform for MySQL and PostgreSQL. The MCP server lets any AI assistant or agent (Claude, Cursor, Gemini, or anything else that speaks MCP) design your schema, query your data, generate mi

Oracle MCP server with no run-sql tool: It generates tools for each of the PL/SQL procedures, tables and approved SQL you choose. The server doesn't expose a SQL prompt, and can't reveal how it's connected to Oracle.
MCP server for interacting with Neon Management API and databases
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases

Model Context Protocol Servers
コメント