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.
संबंधित सर्वर
Dremio
Integrate Large Language Models (LLMs) with the Dremio data lakehouse platform.
Salesforce MCP Server
Enables natural language interaction with Salesforce data. Query, modify, and manage Salesforce objects and records.
Seq MCP Server
Search and stream events from a Seq server.
Open Census MCP Server
Access and query U.S. Census demographic data using natural language.
CData Square Server
A read-only MCP server for querying live data from Square using the CData JDBC Driver.
Elasticsearch Security Solution
An Elasticsearch server focused on security and threat analysis. Requires a valid Elasticsearch license (trial, platinum, or enterprise) for connection.
MongoDB
Interact with MongoDB databases using natural language. Query collections, inspect schemas, and manage data.
MCP KQL Server
Execute KQL queries using Azure authentication. Requires Azure CLI login.
Snowflake MCP Server by CData
A read-only MCP server for querying live Snowflake data, powered by CData.
Trino MCP Server
A Go implementation of a Model Context Protocol (MCP) server for Trino, enabling LLM models to query distributed SQL databases through standardized tools.