[Documentation](https://groundhogg.io/documentation/) » [Developer Guides](https://groundhogg.io/documentation/#doc-developer-guides)

# Working with the Abilities API (MCP)

Published Sunday, September 13, 2026 · Last updated Monday, November 16, 2026

Groundhogg supports the WordPress Abilities API, a standard way of registering discrete, well-defined actions and queries that other systems, including AI agents and MCP (Model Context Protocol) clients like Claude, ChatGPT, or a custom assistant your team builds, can call against your CRM. Instead of screen-scraping the admin or hand-rolling a one-off integration, an agent calls the same actions Groundhogg already uses internally, through a supported and permission-checked interface.

## What is the Abilities API?

The Abilities API is a WordPress-level API for registering “abilities”, individual, named operations such as finding a contact, scheduling a broadcast, or adding a contact to a flow. Each ability declares what input it expects and what it returns, which makes it straightforward for an AI agent to discover what’s available and call it correctly.

Every ability Groundhogg registers runs through the same capability and per-object permission checks as the rest of the plugin. An agent connected as a given WordPress user can only ever do what that user is already allowed to do in the CRM. Nothing more.

**Note:** The Abilities API only registers what an agent can do. To expose those abilities to an AI agent over MCP, you also need an MCP server plugin, such as WordPress’s official MCP Adapter. As of Groundhogg 4.10, the AI agent tab in Tools installs it for you. See Quick Setup below.

## What Can an Agent Do?

Once connected, an agent can work across several areas of the CRM:

- **Contacts:** find, create, and update contacts, one at a time, many at once, or a whole segment, import contacts from a CSV, sync WordPress users, search your database, read and add notes, and list tags, owners, custom fields, and saved searches.
- **Companies (add-on):** search and view company records, create and update them, link or remove a contact from a company, and add or read back company notes.
- **Email and broadcasts:** build emails in the drag-and-drop block format, change part of an email without rewriting it, send a test, manage sender profiles, send a saved or one-off email to specific contacts, schedule a broadcast to a segment, and read back its open and click report.
- **Flows:** build a new flow from scratch, including branches, or from a ready-made template, and activate it. Read and edit an existing flow by adding, changing, moving, duplicating or deleting steps. Changes to an active flow are staged until they’re published, just like in the flow editor, and an agent can simulate a flow for a contact before anything goes live. It can also add a single contact or an entire segment to a flow.
- **Setup:** check what’s left to set up on the site, and set up the cron file that runs automation.
- **Campaigns, settings and add-ons:** create campaigns and attach them to flows, emails and broadcasts, read and change registered settings, and see which official add-ons are installed and licensed.
- **Help:** look up how-to articles in the Groundhogg documentation.

This list will grow as more abilities are added, so ask your agent to list what it can currently do for the complete, up to date set.

## Quick Setup (Groundhogg 4.10+)

The fastest way to connect an agent is the **AI agent** tab in **Groundhogg » Tools**. You’ll also find it recommended on the Groundhogg dashboard and in the last step of the guided setup. It’s available on WordPress 6.9 and later. Since Groundhogg 4.11, anyone who can view contacts can use it to connect their own agent. Installing the MCP Adapter the first time needs someone who can install and activate plugins.

1. Go to **Groundhogg » Tools** and open the **AI agent** tab.
2. Let it install the MCP Adapter plugin and create an application password for your user. You don’t need to do either by hand.
3. Pick your AI client and follow the setup steps shown for it. There are steps for the ChatGPT or Claude app, Claude Code, Codex, Cursor, Gemini CLI and VS Code, and for other clients.
4. Confirm it works by asking the agent something simple, like “What can you do with my site?”

![Step 3 of the AI agent tab in Groundhogg Tools, Connect your assistant, with the Which assistant do you use? options.](https://groundhogg.io/wp-content/uploads/2026/11/ai-agent-tab-step-3-1024x678.png)

The application password lets the agent act as you, with your permissions. Treat it like a password, and if you stop using an agent, revoke its application password from your WordPress user profile.

For a step-by-step guide, see [Connect an AI Agent to Groundhogg](https://groundhogg.io/doc/connect-an-ai-agent-to-groundhogg/). To start building from Groundhogg itself, see [Build and Edit with AI](https://groundhogg.io/doc/build-and-edit-with-ai/).

## Manual Setup

If you’d rather set things up yourself:

1. Install and activate an MCP server plugin on your site, such as the MCP Adapter. This plugin is what exposes registered abilities over the MCP protocol.
2. No additional configuration is needed inside Groundhogg itself. Its abilities are registered automatically and become discoverable as soon as an MCP server plugin is active.
3. Connect your AI client to your site’s MCP endpoint using a WordPress user account, authenticating the same way you would for the REST API. An Application Password is the recommended method. The agent will run with that user’s normal permissions.
4. Confirm access by asking the agent to do something simple, like listing contacts or flows. If it tries something the connected user isn’t allowed to do, Groundhogg will refuse the request rather than erroring out.

## Exploring Available Abilities

The easiest way to see what your agent can currently do is to just ask it. Try something like “what Groundhogg abilities are available to you” or “what can you do in my CRM”, and it will list everything it can call right now.

We’re actively building out new abilities as part of our push to make Groundhogg the most agent-friendly CRM, so the set available will keep changing over the coming months. Asking your agent directly will always give you the current, complete list.

### Contacts

| Name | Description |
| --- | --- |
| Get Contact | Retrieve a Groundhogg contact by ID. |
| Create Contact | Create a new contact. If a contact with the given email already exists, it is updated instead of creating a duplicate. |
| Update Contact | Update an existing contact by ID. Only the fields you pass are changed. Errors if no contact matches the ID. |
| Update Contacts | Update up to 100 contacts by ID in one call, each with its own changes. Each contact succeeds or fails on its own. |
| Bulk Update Contacts | Give every contact in a segment the same changes: add or remove tags, or set the opt-in status, owner, or custom fields. Large segments are updated in the background. Has a dry run. |
| Search Contacts | Search and list Groundhogg contacts, with pagination and segment filters. |
| List Owners | List the WordPress users who can be assigned as a contact owner. |
| Add Contact Note | Add a note to a contact. Each call creates a new note. |
| List Contact Notes | List the notes on a contact, most recent first. |
| Import Contacts | Import contacts from CSV text or the URL of a CSV file, like **Tools » Import**. Existing contacts are updated by email address. The consent choices are required. |
| Sync Users | Create a contact for every WordPress user that doesn’t have one yet, and link existing contacts to their users by email address. |

### Companies (Add-on)

| Name | Description |
| --- | --- |
| List Companies | Search and list companies. Results are scoped to the companies the current user is allowed to see. |
| Get Company | Retrieve a company by ID or domain. |
| Create Company | Create a new company. Errors if a company with the same name already exists. |
| Update Company | Update an existing company by ID. Only the fields you pass are changed. |
| Add Contact To Company | Link a contact to a company. The first contact linked becomes the primary contact. |
| Remove Contact From Company | Unlink a contact from a company. Neither record is deleted. |
| Add Company Note | Add a note to a company. Each call creates a new note. |
| List Company Notes | List the notes on a company, most recent first. |

### Custom Fields & Segmentation

| Name | Description |
| --- | --- |
| List Custom Fields | List the custom field definitions configured for contacts, mapped to their group/tab. |
| Add Custom Field | Create a new contact custom field definition. |
| Update Custom Field | Update an existing contact custom field definition by ID. |
| List Saved Searches | List the saved contact searches (**Contacts » Saved Searches** in the admin). |
| List Tags | List the tags defined in Groundhogg. |
| Create Tag | Create a new Groundhogg tag, or return the existing one if the name matches. |

### Campaigns

| Name | Description |
| --- | --- |
| List Campaigns | List the campaigns defined in Groundhogg. |
| Create Campaign | Create a new Groundhogg campaign, or return/update the existing one if the name matches. |
| Associate Campaign | Attach or detach a campaign from an existing flow, email, or broadcast. |

### Emails

| Name | Description |
| --- | --- |
| List Email Templates | List saved Groundhogg emails, with pagination. |
| Get Email Template | Retrieve one saved email by ID. For a block email, it returns an outline of the blocks, and can return just the blocks you ask for, compact block specs, or the whole body. |
| Create Email Template | Create a new saved Groundhogg email. Describe the body as `blocks` so it stays editable in the drag-and-drop editor, or give HTML `content`. |
| Update Email Template | Update an existing saved email. Only provided fields are changed, including custom CSS, custom headers, and UTM parameters. `blocks` or `content` replaces the whole body. |
| Edit Email | Change part of an email without rewriting it: find and replace text, or change, add, move, and delete blocks by ID. Every change is checked so the email still opens in the editor. |
| List Sender Profiles | List the valid “from” name/email combinations the site can send as. |
| Save Sender Profile | Create or change a sender profile, a from name and email address emails can be sent as. |
| Delete Sender Profile | Remove a custom sender profile. Emails set to send from it use the default sender instead. |
| List Replacement Codes | List the merge tags available on this site (e.g. {first}, {email}). |
| Send Composed Email | Send a one-off email with subject/body supplied directly; bypasses marketing-consent checks. |
| Send Email Template | Send an existing saved email to one or more contacts through the normal event queue. Can pass `event_args` for replacement codes. |
| Send Test Email | Send a test of a saved email, even a draft, the same as the **Send Test** button. A design test checks the look; a simulated test checks links and personalization. |

### Broadcasts

| Name | Description |
| --- | --- |
| Send Email Broadcast | Schedule a one-off email broadcast to a segment of contacts (or send it now). |
| List Broadcasts | List broadcasts, most recent first, filterable by status or send-time range. |
| Get Broadcast | Retrieve one broadcast by ID, including its full stats report. |
| Cancel Broadcast | Cancel a scheduled or sending broadcast. |

### Flows (Funnels)

| Name | Description |
| --- | --- |
| List Flows | List Groundhogg flows, most recently updated first. |
| List Step Types | List the flow/funnel step types available on this site. |
| List Flow Templates | List the ready-made flow templates this site can use, with their steps, like the **Add Flow** screen. |
| Import Flow Template | Create an inactive flow from a template. Its emails are copied into your emails, with the template’s placeholder content to replace. |
| Create Flow | Create a new flow with its full sequence of steps, including branching logic. |
| Activate Flow | Activate a flow so contacts can enter it. |
| Deactivate Flow | Deactivate a flow, pausing waiting events and new entries. |
| Add To Flow | Add a contact, or a segment of contacts, to an active flow. Can pass `event_args`. |
| Get Flow | Get one flow with all of its steps as a tree, either the draft or the live version. |
| Edit Flow | Add, update, move and delete steps in an existing flow. On an active flow the changes are staged until published. |
| Publish Flow Changes | Publish the changes staged on an active flow, and choose what happens to contacts waiting at deleted steps. |
| Discard Flow Changes | Throw away the changes staged on an active flow. |
| Simulate Flow | Trace what a flow would do for a contact from a given step, with no side effects. Can run against unpublished changes. |
| Live Simulate Flow | Actually run a flow for a real contact from a given step. Real events are created, and real actions run. |
| Get Form Integration Fields | List the forms a form integration step can use, and the fields in a form, for mapping in a flow. |

### Reporting & Data

| Name | Description |
| --- | --- |
| List Report Types | List the report IDs available for pulling reports. |
| Get Reports | Pull data for one or more built-in and/or custom reports. |
| Describe Table | List the tables that can be queried, or describe one table’s columns. |
| Query Table | Run a read-only, filtered query against a Groundhogg database table. |

### Media

| Name | Description |
| --- | --- |
| Upload Media | Add a file (e.g. an image) to the WordPress Media Library from its URL. Base64 data is only a fallback. |
| Search Media | Search the WordPress Media Library for files to use, like images for an email. |

### Setup

| Name | Description |
| --- | --- |
| Get Setup Status | Check what’s left to set up and what’s stopping automation or email from working, like business details, the sender, the email service, and cron. Each check says how to fix it, or what to ask a person to do. |
| Get Cron Status | Check whether the cron jobs that run automation are set up and working, and get the exact URL or command a person needs to create them. |
| Set Up Cron | Install the cron file that runs automation, and switch WordPress cron between page loads and a cron job. A person still has to create the cron job with the host. |

### Guides & Docs

| Name | Description |
| --- | --- |
| Get Authoring Guide | Get a guide for working on this site, on how to behave as an assistant, build emails, build flows or set up the site. |
| Search Docs | Search the official Groundhogg documentation for an article on how to do something, then read it, so answers come from the docs with a real link. |

### Licensing & Extensions

| Name | Description |
| --- | --- |
| Activate License | Activate a Groundhogg license key for this site. |
| Check License | Check the status of a license, or every registered license if none is given. |
| List Extensions | List Groundhogg’s official add-on extensions and their install/license status. |
| Install Extension | Remotely install and activate an official add-on extension. |

### Settings

| Name | Description |
| --- | --- |
| List Settings | List Groundhogg settings available to abilities, with type, allowed values, and current value. |
| Update Settings | Update one or more Groundhogg settings by id. |

### Superlinks (Pro)

| Name | Description |
| --- | --- |
| Create Superlink | Create a trackable redirect link that applies/removes tags and edits custom fields on click. |
| List Superlinks | List Groundhogg Pro superlinks, with pagination. |
| Update Superlink | Update an existing superlink. Every field is optional. |
| Get Superlink | Retrieve one superlink by ID. |

## Skills

If you’re using **Claude**, you can install these skills so it already knows the right way to work with Groundhogg abilities, without you having to explain the details every time. We’ll keep updating this list and adding more skills as we get feedback from users.

To install a skill, download its .zip below and add it to Claude (in Claude Code or the Claude desktop app, add it under Settings → Capabilities → Skills, or drop it into your project’s `skills` folder). Once it’s installed, just describe what you want in plain language; Claude will use the skill automatically whenever it applies.

### 🪟 Groundhogg Block Emails

Builds a Groundhogg email that stays fully editable in Groundhogg’s own drag-and-drop block editor, instead of a plain HTML email pasted into it. Ask Claude for a release announcement, newsletter, or marketing email, and it produces real Groundhogg blocks.

**Version**: 1.0

**Last updated**: September 14, 2026

[Download Skill (.zip)](https://groundhogg.io/wp-content/uploads/2026/09/Groundhogg-block-email-v1.zip)

### 🧭 Groundhogg Flow Design

Helps Claude design a Groundhogg flow (funnel) that actually works: picking the right buildable step types, placing triggers correctly, building out branches, and making sure every step is reachable before anything gets created. Ask Claude to build an onboarding sequence, a re-engagement campaign, or any multi-step automation, and it plans the flow properly first.

**Version**: 1.0

**Last updated**: September 14, 2026

[Download Skill (.zip)](https://groundhogg.io/wp-content/uploads/2026/09/Groundhogg-flow-design-v1.zip)
