
aws-postgress-mcp-server
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
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 theenv
object for credentials.
相关推荐
🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.
⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.
This repository is for development of the Azure MCP Server, bringing the power of Azure to your agents.
Flock is a workflow-based low-code platform for rapidly building chatbots, RAG, and coordinating multi-agent teams, powered by LangGraph, Langchain, FastAPI, and NextJS.(Flock 是一个基于workflow工作流的低代码平台,用于快速构建聊天机器人、RAG、Agent和Muti-Agent应用,采用 LangGraph、Langchain、FastAPI 和 NextJS 构建。)
This project was created to demonstrate how we can connect with different Model Context Protocols (MCPs).
Reviews

user_CL1ZQFGG
As a dedicated user of the aws-postgress-mcp-server by T1nker-1220, I must say it exceeds expectations in every way. The seamless integration with AWS and user-friendly interface make managing PostgreSQL databases a breeze. Whether you're a beginner or an experienced developer, this server simplifies tasks and boosts productivity. Highly recommend it for anyone in need of a reliable and efficient PostgreSQL solution!

user_uRhoKE9Q
I've been using the aws-postgress-mcp-server by T1nker-1220, and it's a game-changer for database management on AWS. It's user-friendly, highly efficient, and reliable. It seamlessly integrates with my existing infrastructure, making it a must-have tool for developers. Highly recommend!

user_cgdSrbmF
As a dedicated user of the aws-postgress-mcp-server, I am thoroughly impressed by its seamless integration and robust performance. Created by T1nker-1220, this server facilitates efficient database management and offers scalable solutions tailored to AWS environments. Its user-friendly interface and reliable connectivity make it a perfect choice for both beginners and advanced users. Highly recommended!