The Google Gemini CLI reads MCP server configuration fromDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/TechFernandesLTDA/apex-mcp/llms.txt
Use this file to discover all available pages before exploring further.
.gemini/settings.json in your project root, making it straightforward to pair with apex-mcp for Oracle APEX development from the terminal. Once configured, you can prompt Gemini to create applications, generate CRUD pages, inspect schemas, and run SQL — all via the 116 tools that apex-mcp exposes over stdio. The same configuration structure also supports remote HTTP connections and the Google ADK for Python-based automation.
Install both Gemini CLI and apex-mcp
Install the Gemini CLI globally via npm:Then clone and install apex-mcp:Verify both are available:
Create .gemini/settings.json
Create the file Replace every
.gemini/settings.json at the root of your project. The Gemini CLI uses the mcpServers key with the same stdio format as Claude Code and Cursor:YOUR_* placeholder with your actual Oracle and APEX credentials. The ORACLE_WALLET_DIR path must be absolute and point to the directory that contains cwallet.sso.For a global config that applies across all projects, place the same file at ~/.gemini/settings.json and add an explicit "cwd" pointing to the apex-mcp directory:Start Gemini CLI and verify apex-mcp is loaded
Launch the Gemini CLI from your project directory:Inside the interactive session, list registered MCP servers:You should see
apex-mcp with 116 tools listed. If the server is not found, verify that python is in your PATH and that the apex_mcp package is installed (pip show apex-mcp).Remote server (HTTP mode)
If apex-mcp is running on a remote machine or inside a container, usehttpUrl instead of command/args:
Google ADK (Python automation)
For automated pipelines using the Google Agent Development Kit, useMCPToolset with StdioServerParameters to embed apex-mcp directly in your agent:
FastMCP shortcut
If you havefastmcp installed, you can auto-register apex-mcp with the Gemini CLI in one command:
Troubleshooting
| Problem | Solution |
|---|---|
MCP server not found | Verify cwd points to the directory containing the apex_mcp/ package |
Tools not listed after /mcp list | Confirm python is in $PATH; run python --version to check |
ModuleNotFoundError: apex_mcp | Run pip install -e . from the apex-mcp directory |
| HTTP connection refused | Start the server first: apex-mcp --transport streamable-http |
| Oracle wallet errors | ORACLE_WALLET_DIR must be an absolute path containing cwallet.sso |
