DBeast PostgreSQL MCP
DBeast connects AI assistants such as Claude, Cursor, Windsurf, and VS Code Copilot to PostgreSQL through the Model Context Protocol. It provides 21 focused tools for schema discovery, safe query execution, impact analysis, performance review, security checks, maintenance reporting, replication monitoring, and data quality inspection.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 9 GitHub stars
What you can do with it
- Show me the schema for the orders table
- Which queries are slowest right now
- Run a security audit on the public schema
- Generate a Mermaid ERD for the sales schema
Source and maintenance
- Last repository push
- Latest release
- v2.0.2
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/snss10/dbeast:2.0.2
{
"transport": "stdio",
"identifier": "ghcr.io/snss10/dbeast:2.0.2",
"registryType": "oci",
"environmentVariables": [
{
"name": "DATABASE_URL",
"format": "string",
"description": "PostgreSQL connection URL, for example postgresql://user:password@host:5432/database."
},
{
"name": "DB_HOST",
"format": "string",
"description": "PostgreSQL host when DATABASE_URL is not used."
},
{
"name": "DB_PORT",
"format": "string",
"description": "PostgreSQL port when DATABASE_URL is not used."
},
{
"name": "DB_USER",
"format": "string",
"description": "PostgreSQL user when DATABASE_URL is not used."
},
{
"name": "DB_PASSWORD",
"format": "string",
"description": "PostgreSQL password when DATABASE_URL is not used."
},
{
"name": "DB_NAME",
"format": "string",
"description": "PostgreSQL database name when DATABASE_URL is not used."
},
{
"name": "AWS_SECRET_NAME",
"format": "string",
"description": "AWS Secrets Manager secret containing PostgreSQL credentials."
},
{
"name": "AWS_REGION",
"format": "string",
"description": "AWS region for Secrets Manager lookup."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"dbeast-postgresql-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DATABASE_URL=<YOUR_DATABASE_URL>",
"-e",
"DB_HOST=<YOUR_DB_HOST>",
"-e",
"DB_PORT=<YOUR_DB_PORT>",
"-e",
"DB_USER=<YOUR_DB_USER>",
"-e",
"DB_PASSWORD=<YOUR_DB_PASSWORD>",
"-e",
"DB_NAME=<YOUR_DB_NAME>",
"-e",
"AWS_SECRET_NAME=<YOUR_AWS_SECRET_NAME>",
"-e",
"AWS_REGION=<YOUR_AWS_REGION>",
"ghcr.io/snss10/dbeast:2.0.2"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>",
"DB_HOST": "<YOUR_DB_HOST>",
"DB_PORT": "<YOUR_DB_PORT>",
"DB_USER": "<YOUR_DB_USER>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>",
"DB_NAME": "<YOUR_DB_NAME>",
"AWS_SECRET_NAME": "<YOUR_AWS_SECRET_NAME>",
"AWS_REGION": "<YOUR_AWS_REGION>"
}
}
}
}Cline
{
"mcpServers": {
"dbeast-postgresql-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DATABASE_URL=<YOUR_DATABASE_URL>",
"-e",
"DB_HOST=<YOUR_DB_HOST>",
"-e",
"DB_PORT=<YOUR_DB_PORT>",
"-e",
"DB_USER=<YOUR_DB_USER>",
"-e",
"DB_PASSWORD=<YOUR_DB_PASSWORD>",
"-e",
"DB_NAME=<YOUR_DB_NAME>",
"-e",
"AWS_SECRET_NAME=<YOUR_AWS_SECRET_NAME>",
"-e",
"AWS_REGION=<YOUR_AWS_REGION>",
"ghcr.io/snss10/dbeast:2.0.2"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>",
"DB_HOST": "<YOUR_DB_HOST>",
"DB_PORT": "<YOUR_DB_PORT>",
"DB_USER": "<YOUR_DB_USER>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>",
"DB_NAME": "<YOUR_DB_NAME>",
"AWS_SECRET_NAME": "<YOUR_AWS_SECRET_NAME>",
"AWS_REGION": "<YOUR_AWS_REGION>"
}
}
}
}VS Code
{
"servers": {
"dbeast-postgresql-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DATABASE_URL=<YOUR_DATABASE_URL>",
"-e",
"DB_HOST=<YOUR_DB_HOST>",
"-e",
"DB_PORT=<YOUR_DB_PORT>",
"-e",
"DB_USER=<YOUR_DB_USER>",
"-e",
"DB_PASSWORD=<YOUR_DB_PASSWORD>",
"-e",
"DB_NAME=<YOUR_DB_NAME>",
"-e",
"AWS_SECRET_NAME=<YOUR_AWS_SECRET_NAME>",
"-e",
"AWS_REGION=<YOUR_AWS_REGION>",
"ghcr.io/snss10/dbeast:2.0.2"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>",
"DB_HOST": "<YOUR_DB_HOST>",
"DB_PORT": "<YOUR_DB_PORT>",
"DB_USER": "<YOUR_DB_USER>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>",
"DB_NAME": "<YOUR_DB_NAME>",
"AWS_SECRET_NAME": "<YOUR_AWS_SECRET_NAME>",
"AWS_REGION": "<YOUR_AWS_REGION>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"dbeast-postgresql-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DATABASE_URL=<YOUR_DATABASE_URL>",
"-e",
"DB_HOST=<YOUR_DB_HOST>",
"-e",
"DB_PORT=<YOUR_DB_PORT>",
"-e",
"DB_USER=<YOUR_DB_USER>",
"-e",
"DB_PASSWORD=<YOUR_DB_PASSWORD>",
"-e",
"DB_NAME=<YOUR_DB_NAME>",
"-e",
"AWS_SECRET_NAME=<YOUR_AWS_SECRET_NAME>",
"-e",
"AWS_REGION=<YOUR_AWS_REGION>",
"ghcr.io/snss10/dbeast:2.0.2"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>",
"DB_HOST": "<YOUR_DB_HOST>",
"DB_PORT": "<YOUR_DB_PORT>",
"DB_USER": "<YOUR_DB_USER>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>",
"DB_NAME": "<YOUR_DB_NAME>",
"AWS_SECRET_NAME": "<YOUR_AWS_SECRET_NAME>",
"AWS_REGION": "<YOUR_AWS_REGION>"
}
}
}
}Let your agent find its tools
Find servers like DBeast PostgreSQL MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.