AWS PostgreSQL MCP Server
AWS PostgreSQL MCP サーバー
queryツールを介してAWS PostgreSQLデータベースへの読み取り専用SQLクエリアクセスを提供するモデルコンテキストプロトコル(MCP)サーバー。設定には環境変数を使用します。
設定
クローン:
git clone https://github.com/T1nker-1220/aws-postgress-mcp-server.git cd aws-postgress-mcp-serverインストールとビルド:
pnpm install pnpm run build
Related MCP server: tusk-mcp
構成(Cline/Windsurf用)
このサーバーを MCP クライアントの設定ファイル (例: 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 ...
}
}-> envオブジェクト内のプレースホルダー値を実際の資格情報に置き換えます。
使用法
設定が完了すると、クライアントはサーバーを起動します。 queryツールを使用してください。
<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>注記
サーバーは読み取り専用クエリ (SELECT、SHOW など) のみを許可します。
npx @t1nker-1220/aws-postgres-mcp-server ...を使用してクライアントを設定するには、まずパッケージをnpmに公開する必要があります。設定では、認証情報としてenvオブジェクトが使用されます。
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted PostgreSQL MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Hosted SQL Server MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Draxlr's remote MCP server connects AI assistants to your SQL databases and dashboards. Explore schemas, run read-only queries, manage saved queries and dashboards, and export results, all with row-level security so each user sees only their own data.
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
Related MCP Servers
- AlicenseDqualityDmaintenanceA secure Model Context Protocol server that allows Claude to execute read-only SQL queries against a PostgreSQL database, enabling natural language interaction with database data.1ISC
- AlicenseNot gradedqualityCmaintenanceA read-only PostgreSQL MCP server that enables AI agents to perform schema introspection and execute SELECT-only queries. It supports secure database connections through SSL and SSH tunnels while offering a structure-only mode to restrict query access.10 npmMIT
- AlicenseNot gradedqualityDmaintenanceRead-only PostgreSQL MCP server that enables running SELECT queries, listing tables and schemas, and describing columns, with built-in protection against writes and malicious SQL attacks.1,043 npmMIT
- FlicenseNot gradedqualityFmaintenanceA read-only MCP server that enables AI agents to explore database schemas and execute safe queries on PostgreSQL and MySQL.-