Skip to main content
Glama
T1nker-1220

AWS PostgreSQL MCP Server

AWS PostgreSQL MCP サーバー

queryツールを介してAWS PostgreSQLデータベースへの読み取り専用SQLクエリアクセスを提供するモデルコンテキストプロトコル(MCP)サーバー。設定には環境変数を使用します。

設定

  1. クローン:

    git clone https://github.com/T1nker-1220/aws-postgress-mcp-server.git cd aws-postgress-mcp-server
  2. インストールとビルド:

    pnpm install pnpm run build

Related MCP server: Database Tools for Claude AI

構成(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 ... } }

->

使用法

設定が完了すると、クライアントはサーバーを起動します。 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オブジェクトが使用されます。

-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/T1nker-1220/aws-postgress-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server