sw-postgres-mcp
Rank #7,671io.github.jpka/sw-postgres-mcp
Safe-write Postgres MCP server with preview-before-execute writes and rollback safety.
sw-postgres-mcp is a Model Context Protocol (MCP) server published by jpka. It ranks #7,671 of 115,591 servers tracked on MCP Toplist. sw-postgres-mcp is listed across 2 registries — Official MCP and Glama, with 3 tracked versions. It was first listed on Aug 12, 2026 and most recently updated on Aug 15, 2026.
Ranks ahead of 107,920 of 115,591 servers on MCP Toplist.
Use sw-postgres-mcp
No credentials or required configuration declared — add it to your MCP client and go.
claude mcp add sw-postgres-mcp -e "DATABASE_URL_READONLY=<your DATABASE_URL_READONLY>" -e "DATABASE_URL_WRITER=<your DATABASE_URL_WRITER>" -- npx -y sw-postgres-mcpReplace each placeholder with your own value before saving.
[mcp_servers.sw-postgres-mcp]
command = "npx"
args = ["-y", "sw-postgres-mcp"]
[mcp_servers.sw-postgres-mcp.env]
DATABASE_URL_READONLY = "<your DATABASE_URL_READONLY>"
DATABASE_URL_WRITER = "<your DATABASE_URL_WRITER>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"sw-postgres-mcp": {
"command": "npx",
"args": [
"-y",
"sw-postgres-mcp"
],
"env": {
"DATABASE_URL_READONLY": "<your DATABASE_URL_READONLY>",
"DATABASE_URL_WRITER": "<your DATABASE_URL_WRITER>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"sw-postgres-mcp": {
"command": "npx",
"args": [
"-y",
"sw-postgres-mcp"
],
"env": {
"DATABASE_URL_READONLY": "<your DATABASE_URL_READONLY>",
"DATABASE_URL_WRITER": "<your DATABASE_URL_WRITER>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"sw-postgres-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sw-postgres-mcp"
],
"env": {
"DATABASE_URL_READONLY": "<your DATABASE_URL_READONLY>",
"DATABASE_URL_WRITER": "<your DATABASE_URL_WRITER>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"sw-postgres-mcp": {
"command": "npx",
"args": [
"-y",
"sw-postgres-mcp"
],
"env": {
"DATABASE_URL_READONLY": "<your DATABASE_URL_READONLY>",
"DATABASE_URL_WRITER": "<your DATABASE_URL_WRITER>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"sw-postgres-mcp": {
"command": "npx",
"args": [
"-y",
"sw-postgres-mcp"
],
"env": {
"DATABASE_URL_READONLY": "<your DATABASE_URL_READONLY>",
"DATABASE_URL_WRITER": "<your DATABASE_URL_WRITER>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.jpka%2Fsw-postgres-mcp)<a href="https://mcptoplist.com/server/io.github.jpka%2Fsw-postgres-mcp"><img src="https://mcptoplist.com/badge/io.github.jpka%2Fsw-postgres-mcp.svg" alt="MCP Toplist: Top 10% of 115,591" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 2 registries
jpka
Other servers by jpka
View all jpka servers →Available versions (3)
| Version | Published |
|---|---|
| 0.3.1 | Aug 15, 2026 |
| 0.3.0 | Aug 14, 2026 |
| 0.1.0 | Aug 13, 2026 |
Frequently asked questions
- Who maintains sw-postgres-mcp?
- sw-postgres-mcp is maintained by jpka, which publishes 2 MCP servers (5 total versions) tracked on MCP Toplist.
- Is sw-postgres-mcp listed on the Official MCP Registry?
- Yes — sw-postgres-mcp is listed on the Official MCP Registry, alongside Glama.
- How many versions does sw-postgres-mcp have?
- MCP Toplist tracks 3 versions of sw-postgres-mcp, most recently published on Aug 15, 2026.
- Where can I find the source code for sw-postgres-mcp?
- The source code for sw-postgres-mcp is hosted at github.com/jpka/sw-postgres-mcp.