
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.
相关推荐
Flock是一个基于工作流程的低音平台,可快速构建聊天机器人,抹布和协调多代理团队,由Langgraph,Langchain,Langchain,Fastapi和Nextjs提供支持。(羊群工作流工作流的低代码平台,rag rag rag 用于快速构建聊天机器人、 rag temant Agent fastem temantfaster和muti-agent agagent应用
😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack
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!