For the complete documentation index, see llms.txt. This page is also available as Markdown.

Oracle (OCI Generative AI)

Oracle Cloud Infrastructure (OCI) can call CARTO's MCP Server through MCP Calling on the OpenAI-compatible Responses API using Streamable HTTP. MCP Calling is generally available (GA) on OCI Generative AI.

This is a code-based integration and requires an OCI administrator to configure the necessary IAM policies.

Authentication

Oracle uses a token-based connection for MCP Calling. OCI passes a pre-obtained bearer token to the MCP server and does not run an interactive OAuth flow.As a result, the CARTO connection uses a CARTO API Access Token.

With the required token configuration, the integration provides access to the read and discovery subset of CARTO capabilities:

  • Browsing connections

  • Running SQL

  • Searching the Data Observatory

For the broader set of CARTO tools, add the SQL, Maps, and LDS APIs to the token.

The following capabilities require OAuth and are therefore not available through this OCI integration:

  • Starting a Workflow run

  • Map authoring

  • Workflow authoring

  • Administrative operations

Requirements

Before you start, you need:

  • A tenancy in a region that supports agentic features. In EMEA, supported regions include Frankfurt, London, and Riyadh.

  • An OCI administrator who can create the required IAM policy.

  • A developer comfortable with Python.

  • Your CARTO MCP Server URL.

  • A CARTO API Access Token with the MCP Server scope.

Install

1. Configure the IAM policy

An OCI administrator must grant your group permission to use the Generative AI service.

The generative-ai-family aggregate resource covers both inference and API-key operations.

Run the following as an administrator:

See Oracle's IAM policy documentation for more information.

2. Point the OpenAI SDK at Oracle

OCI Generative AI provides an OpenAI-compatible API, so you can use the OpenAI Python SDK by pointing the client at the OCI endpoint:

Replace <region> and <your-project-OCID> with your OCI values.

See Oracle's OpenAI compatibility documentation for more information.

3. Declare CARTO as an MCP tool

Pass the CARTO MCP Server as an MCP tool in the Responses API request:

See Oracle's MCP Calling documentation for the complete MCP configuration and Responses API syntax.

Two details: the token goes in authorization without the Bearer prefix (OCI adds it), and require_approval controls whether the agent pauses before running a tool — set it deliberately. Use allowed_tools to expose a focused, low-risk set and to suppress view_map, which can't render inline here.

Last updated

Was this helpful?