Oracle Database
[!NOTE]
Currently in beta (pre-v1.0), and may see breaking changes until the first stable release (v1.0).
This repository packages MCP Toolbox's prebuilt oracledb server as a plugin/extension to interact with Oracle Database instances. It can be used with various AI agents, including Antigravity, Claude Code and Codex, to manage your databases, execute queries, explore schemas, and troubleshoot issues using natural language prompts.
[!IMPORTANT]
We Want Your Feedback!
Please share your thoughts with us by filling out our feedback form.
Your input is invaluable and helps us improve the project for everyone.
Table of Contents
Why Use Oracle Database?
- Seamless Workflow: Integrates seamlessly into your AI agent's environment. No need to constantly switch contexts for common database tasks.
- Natural Language Queries: Stop wrestling with complex commands. Explore schemas and query data by describing what you want in plain English.
- Full Database Insights: Monitor active sessions, analyze query plans, and manage tablespace usage using natural language.
- Code Generation: Accelerate development by asking your agent to generate data classes and other code snippets based on your table schemas.
Prerequisites
Before you begin, ensure you have the following:
- One of these AI agents installed:
- Access to an Oracle Database instance.
- Oracle Database permissions:
CREATE SESSION for basic connectivity.
SELECT privileges on V$ and DBA_ views for monitoring and diagnostics.
Getting Started
Configuration
Please keep these settings handy during the installation process:
ORACLE_CONNECTION_STRING: The connection string for your Oracle Database (e.g., host:port/service_name or TNS alias).
ORACLE_USERNAME: Your Oracle database username.
ORACLE_PASSWORD: Your Oracle database password.
ORACLE_WALLET: (Optional) Path to the directory containing your Oracle Wallet files.
ORACLE_USE_OCI: (Optional) Set to true to use the OCI (thick client) driver.
Installation & Usage
To start interacting with your database, install the extension for your preferred AI agent, then launch the agent and use natural language to ask questions or perform tasks.
For the latest version, check the releases page.
Antigravity
You can use either of these two agents for Antigravity:
💡 Tip — Migrating from Gemini CLI?
If you previously installed this extension with gemini extensions install, you can convert it to an Antigravity plugin instead of reinstalling from scratch:
- On first launch of Antigravity CLI, accept the Migration Options prompt to automatically convert your installed Gemini CLI extensions to Antigravity plugins.
- Or, from your terminal, run:
agy plugin import gemini
See Migrating from Gemini CLI for details on plugins, context files (GEMINI.md / AGENTS.md), and MCP server config differences.
Antigravity 2.0 (IDE)
1. Install the plugin: