OracleDB MCP サーバー
概要
このプロジェクトでは、構成された Oracle データベース テーブル/列を LLM のコンテキストとして提供する
MCP - Model Context Protocol Server
をインストールします。これを使用すると、LLM が Oracle データベースと対話し、SQL 文を生成し、LLM プロンプトを使用して結果を返すことができるようになります。
インストール
パッケージをインストールする
Oracle DB Connection String
の最小値を含むフォルダに.envを作成します。サンプルファイルはこちらから入手できます。上記のフォルダーから
uv run oracledb_mcp_server
を使用してoracledb_mcp_server
サーバーをテストします。
クロードデスクトップ
Claud Desktop の設定詳細
構成
利用可能な環境変数のリスト
DEBUG
: デバッグログを有効にする(オプション、デフォルトはFalse)COMMENT_DB_CONNECTION_STRING
: コメント用の Oracle DB 接続文字列。(必須)DB_CONNECTION_STRING
: クエリ実行用の Oracle DB 接続文字列。(必須)TABLE_WHITE_LIST
: ホワイトリストに登録されたテーブル名のリスト形式 ["table1", "table2"] (必須)COLUMN_WHITE_LIST
: ホワイトリストに登録されたテーブル列名(リスト形式 ["table.column1", "table.column2"])(必須)QUERY_LIMIT_SIZE
: 指定されていない場合のデフォルト値は 10 レコードです (オプションのデフォルトは 10)
インターセプター
貢献
貢献を歓迎します。
お気軽にプルリクエストを送信してください。
ライセンス
このプロジェクトは、MIT ライセンスの条件に基づいてライセンスされます。
デモ
Githubスター
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
データベース テーブル/列をコンテキストとして提供することで LLM が Oracle データベースと対話できるようにするモデル コンテキスト プロトコル サーバー。これにより、ユーザーは自然言語プロンプトを使用して SQL 文を生成し、結果を取得できます。
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.Last updated -MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables Claude to access and interact with Oracle databases through natural language queries.Last updated -3MIT License
- -securityAlicense-qualityA flexible Model Context Protocol server that enables LLMs to interact with database systems, supporting dynamic schema discovery and query execution across PostgreSQL and SQLite backends.Last updated -1MIT License
- -securityFlicense-qualityA Model Context Protocol server that provides comprehensive access to Microsoft SQL Server databases, enabling Language Models to inspect schemas, execute queries, manage database objects, and perform advanced database operations.Last updated -7