MCPServers
PostgreSQL - MCP server logo

PostgreSQL

8
0

Summary

A PostgreSQL MCP server that enables AI assistants to interact directly with PostgreSQL databases through a set of specialized tools. It provides capabilities for executing read and write SQL queries, creating tables, and listing database tables - all through the MCP protocol. Built with Go and leveraging the lib/pq driver, this implementation includes security features like query type validation and input sanitization, making it suitable for database management tasks while maintaining appropriate access controls. The server is easily configurable through environment variables and can be integrated with any MCP-compatible AI assistant.

Available Actions(5)

read_query

Execute SELECT queries on the PostgreSQL database. Parameters: query (string)

write_query

Execute INSERT, UPDATE, or DELETE queries on the PostgreSQL database. Parameters: query (string)

create_table

Create a new table in the PostgreSQL database. Parameters: schema (string)

list_tables

List all user tables in the database. Optional Parameters: schema (string)

explain_query

EXPLAIN a query on the PostgreSQL database.

Last Updated: May 11, 2025

커뮤니티 리뷰

0.0
0 리뷰
5
0
4
0
3
0
2
0
1
0

아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!

대화에 참여하려면 로그인하세요

Coming soon to
HighlightHighlight AI

언어

TypeScript

카테고리

태그