# Kontent.ai — Pipedream Connect

> Complete control over your content. Kontent AI is the headless CMS that enables organizations to govern all things content to deliver standout experiences.

- API slug: `kontent_ai` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Developer Tools
- Website: https://kontent.ai/
- This page (HTML): https://pipedream.com/apps/kontent-ai
- Tools: 4 actions · 6 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: kontent_ai`

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

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

const { tools } = await mcp.listTools()

// e.g. run Create Content Item:
const result = await mcp.callTool({
  name: "kontent_ai-create-content-item",
  arguments: {
    name: "Name",
    codename: "Codename",
  },
})
```

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

## API proxy

For a Kontent.ai 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: "kontent_ai-create-content-item",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    kontent_ai: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    codename: "Codename",
  },
})
```

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

## Actions (4)

### `kontent_ai-create-content-item` — Create Content Item (Write)

Create a new content item based on a specific content type. See the documentation

Full schema: https://pipedream.com/apps/kontent-ai/actions/create-content-item.md

### `kontent_ai-list-collection-id-options` — List Collection Id Options (Read-only)

Retrieves available options for the Collection Id field.

Full schema: https://pipedream.com/apps/kontent-ai/actions/list-collection-id-options.md

### `kontent_ai-list-type-id-options` — List Type Id Options (Read-only)

Retrieves available options for the Type Id field.

Full schema: https://pipedream.com/apps/kontent-ai/actions/list-type-id-options.md

### `kontent_ai-list-workflow-step-id-options` — List Workflow Step Id Options (Read-only)

Retrieves available options for the Workflow Step Id field.

Full schema: https://pipedream.com/apps/kontent-ai/actions/list-workflow-step-id-options.md

## Triggers (6)

### `kontent_ai-content-item-created` — New Content Item Created (Instant) (Instant)

Emit new event when a content item is created.

Full schema: https://pipedream.com/apps/kontent-ai/triggers/content-item-created.md

### `kontent_ai-content-item-deleted` — New Content Item Deleted (Instant) (Instant)

Emit new event when a content item is deleted.

Full schema: https://pipedream.com/apps/kontent-ai/triggers/content-item-deleted.md

### `kontent_ai-content-item-moved` — New Content Item Moved (Instant) (Instant)

Emit new event when a content item is moved to another workflow step.

Full schema: https://pipedream.com/apps/kontent-ai/triggers/content-item-moved.md

### `kontent_ai-content-item-published` — New Content Item Published (Instant) (Instant)

Emit new event when a content item is published.

Full schema: https://pipedream.com/apps/kontent-ai/triggers/content-item-published.md

### `kontent_ai-content-item-restored` — New Content Item Restored (Instant) (Instant)

Emit new event when a content item is retored in a specific language after deletion.

Full schema: https://pipedream.com/apps/kontent-ai/triggers/content-item-restored.md

### `kontent_ai-content-item-unpublished` — New Content Item Unpublished (Instant) (Instant)

Emit new event when a content item is unpublished.

Full schema: https://pipedream.com/apps/kontent-ai/triggers/content-item-unpublished.md

---

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