# Elastic Cloud — Pipedream Connect

> Hosted Elasticsearch, Hosted Search

- API slug: `elastic_cloud` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Infrastructure & Cloud
- Website: https://www.elastic.co/cloud
- This page (HTML): https://pipedream.com/apps/elastic-cloud
- Tools: 8 actions · 0 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: elastic_cloud`

```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": "elastic_cloud",
      },
    },
  },
)

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

const { tools } = await mcp.listTools()

// e.g. run Create Deployment:
const result = await mcp.callTool({
  name: "elastic_cloud-create-deployment",
  arguments: {
    name: "Name",
    region: "Region",
  },
})
```

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

## API proxy

For a Elastic Cloud endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.example.com/v1/me

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20vdjEvbWU?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.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: "elastic_cloud-create-deployment",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    elastic_cloud: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    region: "Region",
  },
})
```

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

## Actions (8)

### `elastic_cloud-create-deployment` — Create Deployment (Write)

Create a new Elastic Cloud deployment. Requires a name, region, and version at minimum. Provide the resources JSON object to configure Elasticsearch/Kibana/APM topology; omit it to accept region defaults. See the documentation

Full schema: https://pipedream.com/apps/elastic-cloud/actions/create-deployment.md

### `elastic_cloud-create-traffic-filter` — Create Traffic Filter Ruleset (Write)

Create a new traffic filter ruleset in Elastic Cloud. The API requires a name, type, region, rules, and include-by-default flag. Note that type and region cannot be changed after the ruleset is created. See the documentation

Full schema: https://pipedream.com/apps/elastic-cloud/actions/create-traffic-filter.md

### `elastic_cloud-delete-traffic-filter` — Delete Traffic Filter Ruleset (Write)

Permanently delete a traffic filter ruleset from Elastic Cloud. This is irreversible. Run List Traffic Filter Rulesets first to find the ruleset ID. See the documentation

Full schema: https://pipedream.com/apps/elastic-cloud/actions/delete-traffic-filter.md

### `elastic_cloud-get-deployment` — Get Deployment (Read-only)

Retrieve a single Elastic Cloud deployment by ID. Run List Deployments first to find a valid deployment ID. See the documentation

Full schema: https://pipedream.com/apps/elastic-cloud/actions/get-deployment.md

### `elastic_cloud-list-deployments` — List Deployments (Read-only)

List all deployments in your Elastic Cloud organization. Use this first to discover deployment IDs before calling Get Deployment or Update Deployment. See the documentation

Full schema: https://pipedream.com/apps/elastic-cloud/actions/list-deployments.md

### `elastic_cloud-list-traffic-filters` — List Traffic Filter Rulesets (Read-only)

List all traffic filter rulesets in your Elastic Cloud organization. Use this first to discover ruleset IDs before calling Update Traffic Filter Ruleset or Delete Traffic Filter Ruleset. See the documentation

Full schema: https://pipedream.com/apps/elastic-cloud/actions/list-traffic-filters.md

### `elastic_cloud-update-deployment` — Update Deployment (Write)

Update an existing Elastic Cloud deployment, including resizing cluster capacity. Cluster resize is performed here by supplying updated resources sizing (no separate resize action exists). Run List Deployments first to find the deployment ID. See the documentation

Full schema: https://pipedream.com/apps/elastic-cloud/actions/update-deployment.md

### `elastic_cloud-update-traffic-filter` — Update Traffic Filter Ruleset (Write)

Update an existing traffic filter ruleset in Elastic Cloud. The underlying API replaces the whole ruleset, so this action first reads the current ruleset and merges your changes over it — supply only the fields you want to change. The ruleset's type and region are immutable after creation and are…

Full schema: https://pipedream.com/apps/elastic-cloud/actions/update-traffic-filter.md

---

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