Skip to main content
Glama
yanxxcloud

PostgreSQL MCP Server (Read-Write)

by yanxxcloud

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
queryA

执行 SELECT 查询语句,返回查询结果。用于读取数据。

insertB

执行 INSERT 语句,向表中插入新数据。

updateC

执行 UPDATE 语句,更新表中的数据。

deleteB

执行 DELETE 语句,从表中删除数据。

execute_ddlA

执行 DDL(数据定义语言)语句,包括 CREATE、ALTER、DROP 等操作。用于创建、修改或删除数据库对象(表、索引、视图等)。

executeB

执行任意 SQL 语句(查询、DML 或 DDL)。这是一个通用工具,可以执行任何 SQL 操作。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 6 tools

Disambiguation3/5

The specialized tools (query, insert, update, delete, execute_ddl) each map to distinct SQL operations, but the generic execute tool can perform any of these operations, creating overlap and making tool selection less clear.

Naming Consistency4/5

Most tools use a simple verb form (query, insert, update, delete, execute), while execute_ddl uses a verb_noun pattern. This is a minor inconsistency but the naming is still predictable.

Tool Count5/5

Six tools is an appropriate scope for a PostgreSQL read-write server, providing dedicated operations without bloat.

Completeness5/5

The surface covers all core SQL operations (SELECT, INSERT, UPDATE, DELETE, DDL) plus a generic escape hatch for arbitrary SQL, so there are no obvious gaps.

Maintenance

ActivityInactive
ResponsivenessNo issues