# WordPressOrg — Pipedream Connect

> Self-hosted version of Wordpress, which you can use to easily create a beautiful website, blog, or app.

- API slug: `wordpress_org` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Social Media
- Website: https://wordpress.org
- This page (HTML): https://pipedream.com/apps/wordpress-org
- Tools: 14 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: wordpress_org`

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

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

const { tools } = await mcp.listTools()

// e.g. run Create Post:
const result = await mcp.callTool({
  name: "wordpress_org-create-post",
  arguments: {
    title: "Title",
    content: "Content",
  },
})
```

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

## API proxy

For a WordPressOrg 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: "wordpress_org-create-post",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    wordpress_org: { authProvisionId: "apn_xxxxxxx" },
    title: "Title",
    content: "Content",
  },
})
```

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

## Actions (14)

### `wordpress_org-create-post` — Create Post (Write)

Create a new WordPress post using the REST API directly. See the documentation

Full schema: https://pipedream.com/apps/wordpress-org/actions/create-post.md

### `wordpress_org-create-user` — Create User (Write)

Creates a user. See the documentation

Full schema: https://pipedream.com/apps/wordpress-org/actions/create-user.md

### `wordpress_org-get-user` — Get User (Read-only)

Retrieves information for a user. See the documentation

Full schema: https://pipedream.com/apps/wordpress-org/actions/get-user.md

### `wordpress_org-list-author-options` — List Author Options (Read-only)

Retrieves available options for the Author field.

Full schema: https://pipedream.com/apps/wordpress-org/actions/list-author-options.md

### `wordpress_org-list-categories-options` — List Categories Options (Read-only)

Retrieves available options for the Categories field.

Full schema: https://pipedream.com/apps/wordpress-org/actions/list-categories-options.md

### `wordpress_org-list-media-options` — List Featured Media Options (Read-only)

Retrieves available options for the Featured Media field.

Full schema: https://pipedream.com/apps/wordpress-org/actions/list-media-options.md

### `wordpress_org-list-post-options` — List Post Options (Read-only)

Retrieves available options for the Post field.

Full schema: https://pipedream.com/apps/wordpress-org/actions/list-post-options.md

### `wordpress_org-list-status-options` — List Status Options (Read-only)

Retrieves available options for the Status field.

Full schema: https://pipedream.com/apps/wordpress-org/actions/list-status-options.md

### `wordpress_org-list-tags-options` — List Tags Options (Read-only)

Retrieves available options for the Tags field.

Full schema: https://pipedream.com/apps/wordpress-org/actions/list-tags-options.md

### `wordpress_org-list-user-options` — List User Options (Read-only)

Retrieves available options for the User field.

Full schema: https://pipedream.com/apps/wordpress-org/actions/list-user-options.md

### `wordpress_org-search-posts` — Search Posts (Read-only)

Searches for specific posts. See the documentation

Full schema: https://pipedream.com/apps/wordpress-org/actions/search-posts.md

### `wordpress_org-update-post` — Update Post (Write)

Updates a post specified by its ID. See the documentation

Full schema: https://pipedream.com/apps/wordpress-org/actions/update-post.md

### `wordpress_org-update-user` — Update User (Write)

Updates the information of a user. See the documentation

Full schema: https://pipedream.com/apps/wordpress-org/actions/update-user.md

### `wordpress_org-upload-media` — Upload Media (Write)

Upload a media item to your WordPress media library. Returns a media ID to be used in creating or updating posts.See the documentation

Full schema: https://pipedream.com/apps/wordpress-org/actions/upload-media.md

---

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