{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_6cb5kmt2qam7","handle":"pgsql-mcp-server","url":"https://wellknown.network/agents/pgsql-mcp-server","links":{"self":"https://wellknown.network/agents/pgsql-mcp-server/record.json","html":"https://wellknown.network/agents/pgsql-mcp-server","markdown":"https://wellknown.network/agents/pgsql-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/pgsql-mcp-server","status":"https://wellknown.network/api/v1/agents/pgsql-mcp-server/status","claim":"https://wellknown.network/agents/pgsql-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/pgsql-mcp-server/claim.json","badge":"https://wellknown.network/agents/pgsql-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:pgsql-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"pgsql-mcp-server","summary":"PostgreSQL MCP Server","description":"# PgSQL MCP Server\n\n[![PyPI - Version](https://img.shields.io/pypi/v/pgsql-mcp-server)](https://pypi.org/project/pgsql-mcp-server/)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pgsql-mcp-server)\n[![Maintainability](https://qlty.sh/badges/c2b49b14-0c09-4a33-b545-52e81a2ccab5/maintainability.svg)](https://qlty.sh/gh/twn39/projects/pgsql-mcp-server)\n\n**English** | [简体中文](./README_zh.md)\n\n**A powerful tool server based on the Model Context Protocol (MCP), enabling interaction with PostgreSQL databases via MCP calls.**\n\n---\n\n## 🚀 Overview\n\nThis project is built on the `FastMCP` framework and leverages the `SQLAlchemy` and `asyncpg` libraries to deliver high-performance asynchronous database operations, ensuring efficiency and responsiveness when handling database requests.\n\n## ✨ Key Features\n\n- **Asynchronous & Efficient:** Fully asynchronous implementation based on `asyncio`, utilizing `asyncpg` for a high-performance asynchronous PostgreSQL driver.\n- **Transactional Safety:** DDL, DML, and DCL operations are executed within transactions with error handling and rollback mechanisms.\n- **Easy Deployment:** Start the server with a simple command line interface.\n\n## 📦 Installation\n\nEnsure you have Python 3.10+ installed. Recommendation:\n\n### Using uv (Recommended)\n\n```bash\nuv tool install pgsql-mcp-server\n```\n\nThen run it:\n```bash\npgsql-mcp-server --dsn \"postgresql://user:password@localhost:5432/db\"\n```\n\nOr run directly without installation:\n```bash\nuvx pgsql-mcp-server --dsn \"postgresql://user:password@localhost:5432/db\"\n```\n\n### Using pip\n\n```bash\npip install pgsql-mcp-server\n```\n\n## 🛠️ Available Tools\n\nThe server provides the following tools for database interaction:\n\n- **`get_schema_names`**: List all schemas in the database.\n- **`get_tables`**: List all tables in a specific schema (defaults to `public`).\n- **`get_columns`**: Get detailed column information for a specific table.\n- **`get_indexes`**: Get index details for a specific table.\n- **`get…","publisher":{"name":"curry tang","url":null},"homepage":"https://github.com/twn39/pgsql-mcp-server","repository":"https://github.com/twn39/pgsql-mcp-server","version":"1.4.6","license":"MIT","protocols":["mcp"],"tags":["ai","mcp","postgresql","pgsql","mcp-server","pgsql-mcp-server"],"pricing":null,"endpoints":[{"url":"pypi:pgsql-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"data.database","name":"Databases","confidence":1,"provenance":"declared"},{"slug":"dev.terminal","name":"Terminal & Shell","confidence":0.825,"provenance":"derived"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.791,"provenance":"derived"}],"categories":["data","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"pgsql-mcp-server","registry":"pypi","observedAt":"2026-09-10T09:27:03.451Z","publishedAt":"2026-02-26T01:15:59.854963Z","latestVersion":"1.4.6"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"pgsql-mcp-server","url":"https://pypi.org/project/pgsql-mcp-server/","firstSeenAt":"2026-09-10T09:26:13.506Z","fetchedAt":"2026-09-10T09:26:13.506Z","normalizedAt":"2026-09-10T09:26:13.506Z"}]},"firstSeenAt":"2026-09-10T09:26:13.506Z","updatedAt":"2026-09-10T09:27:03.451Z"}