AWS PostgreSQL MCP Server
A read-only MCP server for querying AWS PostgreSQL databases.
AWS PostgreSQL MCP Server
A Model Context Protocol (MCP) server providing read-only SQL query access to an AWS PostgreSQL database via the query tool. Configuration uses environment variables.
Setup
- Clone:
git clone https://github.com/T1nker-1220/aws-postgress-mcp-server.git cd aws-postgress-mcp-server - Install & Build:
pnpm install pnpm run build
Configuration (for Cline/Windsurf)
Add this server to your MCP client's settings file (e.g., c:\Users\<User>\AppData\Roaming\Windsurf\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json):
{
"mcpServers": {
// ... other servers ...
"aws-postgres-mcp-server": {
"command": "node",
"args": [
// Full path to the built index.js
"C:\\Users\\NATH\\Documents\\Cline\\MCP\\aws-postgress-mcp-server\\build\\index.js"
],
// Database credentials go in the 'env' object
"env": {
"DB_HOST": "YOUR_HOST.rds.amazonaws.com",
"DB_PORT": "5432",
"DB_NAME": "YOUR_DB_NAME",
"DB_USER": "YOUR_DB_USER",
"DB_PASSWORD": "YOUR_PASSWORD"
},
"transportType": "stdio",
"disabled": false,
"autoApprove": []
}
// ... other servers ...
}
}
-> Replace the placeholder values in the env object with your actual credentials.
Usage
Once configured, the client will start the server. Use the query tool:
<use_mcp_tool>
<server_name>aws-postgres-mcp-server</server_name>
<tool_name>query</tool_name>
<arguments>
{
"sql": "SELECT table_name FROM information_schema.tables WHERE table_schema = 'public';"
}
</arguments>
</use_mcp_tool>
Notes
- The server only allows read-only queries (SELECT, SHOW, etc.).
- To configure clients using
npx @t1nker-1220/aws-postgres-mcp-server ..., the package must first be published to npm. The configuration would still use theenvobject for credentials.
相關伺服器
RBDC MCP Server
An MCP-based database server with support for SQLite, MySQL, PostgreSQL, and MSSQL.
DX MCP Server
Query your organizational data in DX Data Cloud using natural language.
Supavec MCP Server
Fetch relevant content from Supavec, a vector database service.
German Family Business Knowledge Graph
Query a Neo4j graph database containing a knowledge graph of German family businesses.
GigAPI Timeseries Lake
An MCP server for GigAPI Timeseries Lake, enabling seamless integration with MCP-compatible clients.
CData SAP ByDesign
A read-only MCP server for querying live SAP ByDesign data. Requires a separate CData JDBC Driver for SAP ByDesign.
FinBrain MCP
Access institutional-grade alternative financial data directly in your LLM workflows.
MCP Trino Server
Integrates with Trino and Iceberg for advanced data exploration, querying, and table maintenance.
DeepMemory
DeepMemory MCP is a small Model Context Protocol (MCP) server that provides long-term memory storage for conversational agents.
MSSQL MCP Server
Connect to and interact with Microsoft SQL Server databases.