# Postgresql Mcp Server

> A PostgreSQL MCP server

- **Type:** MCP server
- **Install:** `agentstack add mcp-tarsislimadev-postgresql-mcp-server`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [tarsislimadev](https://agentstack.voostack.com/s/tarsislimadev)
- **Installs:** 0
- **Category:** [Databases](https://agentstack.voostack.com/c/databases)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [tarsislimadev](https://github.com/tarsislimadev)
- **Source:** https://github.com/tarsislimadev/postgresql-mcp-server
- **Website:** https://www.npmjs.com/package/@tarsislimadev/postgresql-mcp-server

## Install

```sh
agentstack add mcp-tarsislimadev-postgresql-mcp-server
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# PostgreSQL MCP Server

A simple PostgreSQL MCP server

# Use with an MCP client

## Configuration via .mcp.json

Create a `.mcp.json` file in your project root or MCP client configuration directory to connect to this PostgreSQL MCP server:

```json
{
  "mcpServers": {
    "postgresql": {
      "command": "npx",
      "args": [ "-y", "@tarsislimadev/postgresql-mcp-server" ],
      "env": {
        "POSTGRES_URL": "postgresql://psql:psql@localhost:5432/psql"
      }
    }
  }
}
```

# Start your PostgreSQL server with Docker

```bash
docker run --rm -d \
  --network host \
  --name psql-1 \
  -e POSTGRES_DB=psql \
  -e POSTGRES_USER=psql \
  -e POSTGRES_PASSWORD=psql \
  postgres:alpine
```

# License

[MIT](./LICENSE)

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [tarsislimadev](https://github.com/tarsislimadev)
- **Source:** [tarsislimadev/postgresql-mcp-server](https://github.com/tarsislimadev/postgresql-mcp-server)
- **License:** MIT
- **Homepage:** https://www.npmjs.com/package/@tarsislimadev/postgresql-mcp-server

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-tarsislimadev-postgresql-mcp-server
- Seller: https://agentstack.voostack.com/s/tarsislimadev
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
