# Oracle Cloud Infrastructure — Pipedream Connect

> The next-generation cloud designed to run any application, faster and more securely, for less.

- API slug: `oracle_cloud_infrastructure` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Infrastructure & Cloud
- Website: https://www.oracle.com/cloud/
- This page (HTML): https://pipedream.com/apps/oracle-cloud-infrastructure
- Tools: 3 actions · 3 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: oracle_cloud_infrastructure`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "oracle_cloud_infrastructure",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Create Or Update Object:
const result = await mcp.callTool({
  name: "oracle_cloud_infrastructure-create-update-object",
  arguments: {
    compartmentId: "Compartment ID",
    bucketName: "Bucket Name",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "oracle_cloud_infrastructure-create-update-object",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    oracle_cloud_infrastructure: { authProvisionId: "apn_xxxxxxx" },
    compartmentId: "Compartment ID",
    bucketName: "Bucket Name",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (3)

### `oracle_cloud_infrastructure-create-update-object` — Create Or Update Object (Write)

Create or update an object in a specified Oracle Cloud Infrastructure Object Storage bucket. See the documentation.

Full schema: https://pipedream.com/apps/oracle-cloud-infrastructure/actions/create-update-object.md

### `oracle_cloud_infrastructure-delete-object` — Delete Object (Write)

Delete an object from a specified Oracle Cloud Infrastructure Object Storage bucket. See the documentation.

Full schema: https://pipedream.com/apps/oracle-cloud-infrastructure/actions/delete-object.md

### `oracle_cloud_infrastructure-list-compartment-id-options` — List Compartment ID Options (Read-only)

Retrieves available options for the Compartment ID field.

Full schema: https://pipedream.com/apps/oracle-cloud-infrastructure/actions/list-compartment-id-options.md

## Triggers (3)

### `oracle_cloud_infrastructure-new-autonomous-database-created-instant` — New Autonomous Database Created (Instant) (Instant)

Emit new event when a new autonomous database is created in a specified compartment. See the documentation.

Full schema: https://pipedream.com/apps/oracle-cloud-infrastructure/triggers/new-autonomous-database-created-instant.md

### `oracle_cloud_infrastructure-new-instance-state-change-instant` — New Instance State Change (Instant) (Instant)

Emit new event when a compute instance changes state (e.g., from stopped to running). This requires instance OCID and proper event rules set up in Oracle Cloud Infrastructure. See the documentation.

Full schema: https://pipedream.com/apps/oracle-cloud-infrastructure/triggers/new-instance-state-change-instant.md

### `oracle_cloud_infrastructure-new-object-storage-object-instant` — New Object Storage Object (Instant) (Instant)

Emit new event when a new object is uploaded to a specified Oracle Cloud Infrastructure Object Storage bucket. See the documentation.

Full schema: https://pipedream.com/apps/oracle-cloud-infrastructure/triggers/new-object-storage-object-instant.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
