[Home](/index.md) › [MCP servers](/mcp.md) › Activepieces MCP server

# Activepieces MCP server

MCP server

- 13 callable tools
- 5 capabilities

[Installation guide](https://www.activepieces.com/docs/mcp/overview)

## Overview

Activepieces publishes a built-in MCP server for AI assistants to build flows, manage tables, and test automations. It works with Activepieces projects, flows, pieces, connections, tables, and runs.

### Capabilities

- Build and publish flows from natural language
- Find and configure piece actions and triggers
- Test flows and steps and retry failed runs
- Create and edit tables and records
- Manage flows, folders, and connections

## Works with

The products your agent can work with through this server.

- [Active Pieces](/tools/active-pieces.md): Open-source AI automation

## Tools

The callable functions your agent uses to work with this server.

### `ap_flow_structure`

Get the full structure of a flow, including its step tree, configuration status, step inputs, router branch conditions, and valid insert locations.

### `ap_read_step_code`

Read the full source code, package.json, and input mappings of a CODE step.

### `ap_research_pieces`

Look up available pieces by exact name or fuzzy search, with their actions and triggers.

### `ap_get_piece_props`

Get the detailed input property schema for a specific piece action or trigger.

### `ap_resolve_property_options`

Resolve dropdown options for a single piece property.

### `ap_list_connections`

List OAuth and app connections in the project.

### `ap_setup_guide`

Get step-by-step UI instructions for setting up connections or AI providers.

### `ap_build_flow`

Create a complete flow in one call, with a trigger and any number of steps.

### `ap_update_trigger`

Set or update the trigger for a flow.

### `ap_add_step`

Add a new step to a flow, optionally configuring it in the same call.

### `ap_update_step`

Update an existing step's settings.

### `ap_add_branch`

Add a conditional branch to a router step.

### `ap_run_action`

Execute a single piece action once without building or saving a flow.

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add Activepieces MCP server to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http activepieces https://your-instance.com/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add Activepieces MCP server to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=activepieces&config=eyJ1cmwiOiJodHRwczovL3lvdXItaW5zdGFuY2UuY29tL21jcCJ9)

```json
{
  "mcpServers": {
    "activepieces": {
      "url": "https://your-instance.com/mcp"
    }
  }
}
```

### Add Activepieces MCP server to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "activepieces": {
      "type": "http",
      "url": "https://your-instance.com/mcp"
    }
  }
}
```

### Add Activepieces MCP server to Codex

Run this in your terminal:

```sh
codex mcp add activepieces --url https://your-instance.com/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.activepieces]
url = "https://your-instance.com/mcp"
```

If the server uses OAuth, sign in with `codex mcp login activepieces`.

### Add Activepieces MCP server to Claude

Add it as a custom connector with this URL:

```
https://your-instance.com/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add Activepieces MCP server to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://your-instance.com/mcp
```

[Read the installation guide](https://www.activepieces.com/docs/mcp/overview)

## Sources

Documentation and source code reviewed on 10 November 2026.

- [activepieces.com/docs/mcp/overview](https://www.activepieces.com/docs/mcp/overview)
- [activepieces.com/docs/mcp/tools.md](https://www.activepieces.com/docs/mcp/tools.md)
- [activepieces.com/docs/mcp/tools](https://www.activepieces.com/docs/mcp/tools)
- [activepieces.com/docs/mcp/tool-search.md](https://www.activepieces.com/docs/mcp/tool-search.md)
