@microsoft/postgres-mcp
Microsoft's MCP server that connects a coding agent to any PostgreSQL database, whether local, on-premises or hosted on Azure, AWS or Google Cloud.
このサーバーについて
Microsoft's MCP server that connects a coding agent to any PostgreSQL database, whether local, on-premises or hosted on Azure, AWS or Google Cloud. Connection profiles are saved once from the command line, with passwords kept in the operating system keyring rather than in client configuration, and Microsoft Entra ID is used for Azure databases. The agent can run read-only queries, run statements that change data or schema, fetch create scripts for tables and other objects, load a CSV file with COPY, and collect performance metrics. Profiles allow writes unless set to read-only. It runs locally over stdio through npx, needs Node.js 22 and is marked as a preview.
できること
- Save PostgreSQL connection profiles with keyring passwords
- Run read-only SQL queries
- Run DDL and DML statements when the profile allows writes
- Fetch create scripts for tables, indexes and functions
- Bulk-load a CSV file with COPY
- Collect server performance metrics
概要
- 公開元
- Microsoft
- ツール
- PostgreSQL
インストール
- すべてのクライアントに追加するには、次のコマンドを実行します:
npx -y @microsoft/postgres-mcp connection add local "postgresql://postgres@localhost:5432/postgres"
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | MCPサーバー | |
| ツール | PostgreSQL | |
| 公開元 | Microsoft | 出典 |
| 公式かどうか | コミュニティ(ツールのベンダーによる公開ではありません) | 出典 |
| ステータス | Preview | 出典 |
| 接続方式 | ローカル(自分のコンピューターで動作) | 出典 |
| データの変更 | はい | 出典 |
| APIキーまたはサインインが必要 | はい | 出典 |
| プラットフォーム | Linux, macOS, Windows | 出典 |
| AIクライアント | Claude Code, Claude Desktop, Cursor, Visual Studio Code, Codex | 出典 |
| ライセンス | プロプライエタリ | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月5日バージョン 0.3.0GitHubスター 81ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ Webサイト npm: @microsoft/postgres-mcp |
出典
- README(README.md)github.com/microsoft/postgres-mcp · 根拠となる項目:AIクライアント, データの変更, 接続方式, ライセンス, APIキーまたはサインインが必要, プラットフォーム, ステータス2026年11月12日
- GitHubリポジトリgithub.com/microsoft/postgres-mcp · 根拠となる項目:公式かどうか, 公開元, 活動状況, ライセンス2026年11月10日
- npmのパッケージ情報npmjs.com/package/@microsoft/postgres-mcp2026年11月14日