What does the `init-postgres-docker` tool do?
It creates a new Docker container running PostgreSQL with a specified database name, a default user (`pguser`), and a default password (`mysecretpassword`), then returns the connection URL.
@Flow-Research
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-server-postgres-init": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"node",
"build/index.js"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
This MCP server provides a single tool (init-postgres-docker) that initializes a PostgreSQL database inside a new Docker container. It is designed for developers who need a quick, disposable PostgreSQL instance for development or testing.
Install dependencies with make install or npm install, build with make build or npm run build, then run the server. Use make inspect to interact via the MCP inspector, or run node build/index.js directly to connect with an MCP client. The tool is invoked by sending a request with a database name.
init-postgres-dockerpostgres:latest Docker image automaticallypostgresql://pguser:mysecretpassword@localhost:<hostPort>/<dbName>)It creates a new Docker container running PostgreSQL with a specified database name, a default user (`pguser`), and a default password (`mysecretpassword`), then returns the connection URL.
Node.js and npm (or a compatible package manager), Docker (must be running), and Make.
No, the password `mysecretpassword` is hardcoded and insecure. This server is intended for demonstration purposes only; real-world use should implement a more secure password method.
No, the container is set to auto-remove (`AutoRemove: true`). Consider the lifecycle needed for your use case.
Install dependencies with `npm install`, build with `npm run build`, then run `node build/index.js` directly or use the MCP inspector with `npx @modelcontextprotocol/inspector node build/index.js`.

Verified golf club data for AI agents: holes, par, address, phone, booking links, facilities, visitor rules and green fees for golf clubs in Spain (Canary Islands and mainland), expanding across Europe. Every fact comes
A MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
An official Qdrant Model Context Protocol (MCP) server implementation

Model Context Protocol Servers
评论