enhanced-postgres-mcp-server

MCPcommunity
v1.0.1Gareth CottrellMITUpdated 1y agonpm

Enhanced PostgreSQL MCP server with read and write capabilities. Based on @modelcontextprotocol/server-postgres by Anthropic.

一个模型上下文协议服务器,提供对PostgreSQL数据库的读写访问。该服务器使LLM能够检查数据库模式、执行查询、修改数据以及创建/修改数据库模式对象。 > 注意: 这是Anthropic原始PostgreSQL MCP服务器的增强版本。原始服务器仅提供只读访问,而此增强版本添加了写入功能和模式管理。 - query - 对连接的数据库执行只读SQL查询 - 输入:sql(字符串):要执行的SQL查询 - 所有查询都在只读事务中执行 - execute - 执行修改数据的SQL语句(INSERT、UPDATE、DELETE) - 输入:sql(字符串):要执行的SQL语句 - 在具有适当COMMIT/ROLLBACK处理的事务中执行 - insert - 向表中插入新记录 - 输入: …

Works in
ClaudeCursorCopilotGemini

Inferred from the transports this listing declares (stdio). A client not listed here hasn’t been ruled out — it just isn’t something Forge can confirm.

Automatically indexed from public sources. Not yet verified by the developer on Forge.Claim this listing →
1y agoLast update
Package
AuthorGareth Cottrell
LicenseMIT
Version1.0.1
Sourcenpm
Trust Status
B
60/100Good
✓Listed in Forge index+10/10
—Publisher identity verified+0/20
→ Publisher: run `forge publish` from the package repo to claim ownership
—Ed25519 publish signature+0/5
→ Included automatically when the publisher runs `forge publish`
—Domain verification+0/5
→ Publisher: host /.well-known/forge.json on the package homepage with { "publisher": "<github-login>" }
—npm Trusted Publishing (Sigstore)+0/5
→ Publish from GitHub Actions with --provenance so the attestation binds this package to this repo
—npm maintainer match+0/5
→ Earned once your identity is verified above and that login is an npm maintainer of this package
✓CVE scan · clean+30/30
✓Static analysis · clean+20/20
Paste into Claude Code, Cursor, or any AI assistant to fix all gaps
StatusCommunity-indexed
PublisherUnverified
SignatureUnsigned
Domain—
Provenance—
Dependencies28 resolved · 1 with advisories
Tool surface10 tools · 2 privileged
Security scan⚠ Warnings (1)v1.0.1 · 1mo agoHow well does this scan work?
EvalsNone
IndexedMay 24, 2026

Verification confirms publisher identity (repo ownership), not code safety. The security scan covers known CVEs and suspicious install scripts.

Tools

10 tools · 2 privileged
Statically extracted from the published packagev1.0.1 · 1mo ago

Read out of the source npm actually ships, at scan time. The package was never executed. Tools registered dynamically at runtime, or hidden inside bundled or minified code, can be missed — so this is a floor on the tool surface, not a complete census of it.

queryNo description published

This tool published no description. Forge does not invent one.

executeprivilegedNo description published

This tool published no description. Forge does not invent one.

insertNo description published

This tool published no description. Forge does not invent one.

updateNo description published

This tool published no description. Forge does not invent one.

deleteprivilegedNo description published

This tool published no description. Forge does not invent one.

createTableNo description published

This tool published no description. Forge does not invent one.

createFunctionNo description published

This tool published no description. Forge does not invent one.

createTriggerNo description published

This tool published no description. Forge does not invent one.

createIndexNo description published

This tool published no description. Forge does not invent one.

alterTableNo description published

This tool published no description. Forge does not invent one.

0 of 10 tools published a description.

Tool names and descriptions are written by the publisher and shown verbatim as inert text. They are the strings an MCP client passes to a model, so Forge scans them for prompt-injection patterns — any finding appears with the security scan above. “Privileged” is a keyword match on the tool name, not an audit of what the tool does: a benign-sounding name can still do anything.

About

一个模型上下文协议服务器,提供对PostgreSQL数据库的读写访问。该服务器使LLM能够检查数据库模式、执行查询、修改数据以及创建/修改数据库模式对象。 > 注意: 这是Anthropic原始PostgreSQL MCP服务器的增强版本。原始服务器仅提供只读访问,而此增强版本添加了写入功能和模式管理。 - query - 对连接的数据库执行只读SQL查询 - 输入:sql(字符串):要执行的SQL查询 - 所有查询都在只读事务中执行 - execute - 执行修改数据的SQL语句(INSERT、UPDATE、DELETE) - 输入:sql(字符串):要执行的SQL语句 - 在具有适当COMMIT/ROLLBACK处理的事务中执行 - insert - 向表中插入新记录 - 输入: - table(字符串):表名 - data(对象):键值对,其中键是列名,值是要插入的数据 - update - 更新表中的记录 - 输入: - table(

Keywords
mcpmodel-context-protocolclaudeanthropicpostgrespostgresqldatabasellm
Alternatives
Comparing tool surfaces…

No dependency coverage

This package was last scanned before Forge began storing the resolved tree. The next scan will record it.

Topics

Related in databases