SQL MCP サーバー (TypeScript)
このプロジェクトは、言語モデルやその他の MCP 互換クライアントが必要に応じて SSH 要塞トンネル経由で PostgreSQL データベースをクエリできるようにする Model Context Protocol (MCP) サーバーのTypeScript 実装を提供します。
柔軟性と安全なデータベースアクセスを実現するように構築されており、読み取り専用トランザクションで AWS RDS をサポートし、stdin/stdout ベースの通信を使用するため、ローカル、コンテナ化、または AI 駆動型のユースケースに適しています。
特徴
- 🔒 SSH トンネル経由でプライベート RDS インスタンスに安全にアクセスするための SSH 要塞サポート
- 🐘
pg
ライブラリを使用した PostgreSQL 読み取り専用クエリエンジン - 📡 STDIOベースのMCPプロトコルトランスポート
- 🧠メモリバンクMCPサーバーと互換性があります
- ⚙️
.env
または環境変数で簡単に設定可能 - 🧪 Jestとモックで完全にテスト可能
インストール
リポジトリをクローンし、依存関係をインストールします。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
言語モデルが SSH 要塞トンネルの背後にあるものも含め、PostgreSQL データベースを安全にクエリできるようにするモデル コンテキスト プロトコル サーバーの TypeScript 実装。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables powerful PostgreSQL database management capabilities including analysis, schema management, data migration, and monitoring through natural language interactions.Last updated -1849894TypeScriptAGPL 3.0
- AsecurityFlicenseAqualityA 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.Last updated -1TypeScript
- -securityAlicense-qualityA Model Context Protocol server that enables interaction with PostgreSQL databases to list tables, retrieve schemas, and execute read-only SQL queries.Last updated -26JavaScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables querying PostgreSQL databases with tools for executing SELECT queries, inspecting database schemas, and listing tables through natural language.Last updated -Python