Connect to Codex

Install Codex and connect to MCP tool.

Make sure you have installed Python 3.10 or later version.
  1. Download Codex from the official Codex website and install it on your local machine.
  2. Download the MCP Connect tool for Claude Desktop.
    1. Sign in to your service.
    2. In Oracle Fusion Data Intelligence Console, click Reporting Configuration under Application Administration.
    3. On the Reporting Configuration page, on the right corner of the page, click the Menu Actions icon, and then select MCP Connect.
    4. Select the MCP host application: Mac or Windows.
    5. Click Codex.
      The MCP Connect dialog lists the prerequisite and the installation instructions.

    6. Click Download and download the zip file.
    7. Extract the ZIP file to a folder under your home directory.
      Don't use Desktop, Downloads, or Documents folder.
    8. Copy the TOML configuration text provided in the MCP Connect dialog.
  3. If you had issues while configuring the MCP server using the Codex user interface, perform these steps to manually edit the configuration file:
    1. In Codex, click Settings, and then click Configuration.
    2. Click the Open config.toml link on the right.
      The configuration file opens for edit.
    3. At the end of the config.toml file, add the TOML configuration text you copied from the MCP Connect dialog. For example,
      [mcp_servers.fdi-mcp]
      command = "cmd.exe"
      args = ["/d", "/c", 'C:\path\to\mcp\run.bat']
      default_tools_approval_mode = "approve"
      [mcp_servers.fdi-mcp.env]
      
    4. In the args = ["/d", "/c", 'C:\path\to\mcp\run.bat'] line, replace C:\path\to\mcp\run.bat with the actual path where you extracted the MCP Connect tool zip file.
    5. Save the configuration file.
  4. Close and restart Codex to apply the changes.
  5. In Codex, click Settings, and then click MCP Servers.
    Make sure the Fusion Data Intelligence MCP server is enabled.
  6. Open a new chat window.
  7. Sign in to Fusion Data Intelligence.
    1. Log in using your Fusion Data Intelligence user ID and password.
    2. Keep the browser window open while the system completes the MCP authorization process.
      After the authorization completes, the browser window closes automatically.
  8. Verify MCP tool access.
    1. In the Codex chat box, enter /mcp.
    2. Confirm that Fusion Data Intelligence MCP is listed and enabled.
  9. Start using Codex with MCP tool.
    For example, you can ask the following question in Codex:
    What tools are provided by Fusion Data Intelligence? 

    Codex will return the list of available tools and you can get guidance on how to use each one.

    Note:

    Codex displays a permission prompt requesting approval before running the tool. Choose the appropriate permission option.