インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Oracle Database をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
Summary
Query an Oracle database directly: list tables, describe columns and run read-only SQL. Installs read-only; credentials are held encrypted rather than in the connection string.
こう聞いてみよう
Oracle Database のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Oracle Database をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
Oracle Database + Gemini
Query an Oracle database directly: list tables, describe columns and run read-only SQL. Installs read-only; credentials are held encrypted rather than in the connection string.
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
ORACLE_HOST, ORACLE_PORT, ORACLE_DATABASE, ORACLE_USER, ORACLE_PASSWORD
ステップ 1 — 認証情報を取得
Setup
- Create a user with only CREATE SESSION and the SELECTs it needs:
CREATE USER amcp_reader IDENTIFIED BY "change-me"; GRANT CREATE SESSION TO amcp_reader; GRANT SELECT ON sales.orders TO amcp_reader; -- or, for a whole schema, a read-only role you maintain - Set
ORACLE_HOST,ORACLE_PORT(1521),ORACLE_DATABASE— the service name (e.g.ORCLPDB1), not the SID — plusORACLE_USERandORACLE_PASSWORD.
The node-oracledb driver needs to be in thin mode or have Instant Client available. Thin mode covers Oracle 12.1 and newer with no client install; an older server needs Instant Client on the AnythingMCP host.
…(continued in the in-app connector instructions)
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Gemini にコネクタを追加
Gemini CLI は ~/.gemini/settings.json (Windows は %APPDATA%\gemini\settings.json) から MCP サーバを読み込みます。追加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- AnythingMCP の Profile → MCP API Keys → New Key で MCP API key を取得。
- ファイルを保存し
geminiを再起動。 - Gemini CLI で
/mcpを実行 —Oracle Databaseが利用可能として表示されます。 - Vertex AI Studio: 同じ Bearer ヘッダーで
https://cloud.anythingmcp.com/mcpをリクエストのtools配列に渡してください。
利用可能なツール
| Tool | What it does |
|---|---|
oracle_list_tables | List the tables and views in the database with their schema and, where the server tracks it, an approximate row count |
oracle_describe_table | Describe one table: every column with its data type, nullability and default |
oracle_find_columns | Find columns across every table whose name matches a pattern — the fast way to locate where customer e-mail addresses, IBANs or order number |
oracle_query | Run a read-only SQL statement against Oracle Database and return up to 1000 rows |
oracle_query_examples | Show worked example queries for Oracle Database: how to list schemas, find large tables, inspect indexes and check what is running right now |
FAQ
Gemini 1.5 Pro / 2.x は MCP をサポートしますか? はい — Gemini CLI ≥ 0.4 と Vertex AI tools API は Bearer ヘッダー付きの httpUrl MCP コネクタを受け入れます。
次のステップ
このガイドは役に立ちましたか?