# DirectIQ [Health: Active]

**Category:** 🎯 Marketing  
**Repository:** https://github.com/directiq/mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/directiq

## Description
Manage DirectIQ contacts, lists and tags, and send transactional email from any AI agent.

## Tools
Capabilities this server exposes over MCP:

- **directiq_account_overview** — Summarize the account in one call: total contacts, active/disabled status counts, list count, tag count, and confirmed sender addresses. A good first call in a conversation, and the way to find a valid "from" address for directiq_send_email. Each section that fails to load is returned as { error } without failing the rest.
- **directiq_get_contact** — Get one contact by numeric ID: email, first and last name, status, created and updated dates, tags, lists, and notes. Use when you already have the ID; to find a contact, page through directiq_list_contacts. Returns an error if no contact has that ID.
- **directiq_list_contacts** — List contacts one page at a time, oldest first, with each contact's ID, email, name, status, tags, and lists. Returns { pageNumber, totalCount, result, hasNextPage }; request the next pageNumber while hasNextPage is true. Use to browse contacts or find an ID. For just the total, use directiq_contact_count instead.
- **directiq_contact_count** — Return the total number of contacts in the account as a single number. Use for a quick count; for counts plus active/disabled status, lists, tags, and senders, use directiq_account_overview.
- **directiq_upsert_contact** — Add a contact to a list, creating the contact if the email is new or updating its name if it already exists. Optionally applies tags (created if missing). Use this to create contacts; to change other fields on an existing contact, use directiq_update_contact. Returns import counts (inserted, alreadyExisting, addedToList); emails on a suppression or bounce list are counted but not added.
- **directiq_update_contact** — Update fields on an existing contact by ID, such as firstName, lastName, or email. Only the fields you pass change, and they overwrite the current values. To create a contact, use directiq_upsert_contact; to change list or tag membership, use the list and tag tools.
- **directiq_delete_contact** — Permanently delete a contact by ID, removing it from every list and tag. This cannot be undone. Confirm with the user first; to only take a contact off one list, use directiq_remove_contact_from_list.
- **directiq_list_lists** — List every contact list in the account with its ID and name. Use to find a list ID before adding contacts, sending campaigns, or calling directiq_get_list.
- **directiq_get_list** — Get one contact list by ID: name, created and modified dates, and total, active, and disabled contact counts. Use directiq_list_lists to find the ID. Returns an error if no list has that ID.
- **directiq_create_list** — Create a new, empty contact list and return it with its new ID. Calling it twice creates two lists with the same name, so check directiq_list_lists first. Add contacts afterwards with directiq_upsert_contact or directiq_add_contact_to_list.
- **directiq_rename_list** — Rename a contact list by ID. Its contacts are unchanged; the previous name is overwritten.
- **directiq_delete_list** — Permanently delete a contact list by ID. The contacts themselves are kept, but their membership in this list is lost. This cannot be undone; confirm with the user first.
- **directiq_add_contact_to_list** — Add an existing contact (by contact ID) to a list. Adding a contact that is already on the list has no effect. To add someone by email who may not exist yet, use directiq_upsert_contact.
- **directiq_remove_contact_from_list** — Remove a contact from one list. The contact stays in the account and on its other lists; to delete the contact entirely, use directiq_delete_contact.
- **directiq_list_segments** — List saved segments (rule-based groups of contacts) with their IDs and names. Returns an empty array if the account has none. Segments are managed in the DirectIQ dashboard.
- **directiq_list_tags** — List every tag in the account with its ID and name. Use to check whether a tag exists or to find its ID before renaming or deleting it.
- **directiq_get_tag** — Get one tag by ID with its name and details. Use directiq_list_tags to find the ID. Returns an error if no tag has that ID.
- **directiq_create_tag** — Create a new tag and return it with its ID. Check directiq_list_tags first to avoid duplicates. To tag a contact, use directiq_tag_contact, which also creates missing tags.
- **directiq_rename_tag** — Rename a tag by ID. Contacts keep the tag under its new name; the previous name is overwritten.
- **directiq_delete_tag** — Permanently delete a tag by ID and remove it from every contact. Contacts are kept. This cannot be undone; confirm with the user first.
- **directiq_tag_contact** — Apply one or more tags to a contact by contact ID. Tags that do not exist yet are created. Applying a tag the contact already has has no effect.
- **directiq_untag_contact** — Remove a tag from a contact, identified by the contact email and the tag name. The tag itself and the contact are kept; to delete the tag everywhere, use directiq_delete_tag.
- **directiq_list_campaigns** — List email campaigns and automation flows with ID, name, type (Regular or Flow), status, subject, sender, target lists, recipient count, and scheduled send time. Returns { campaigns, nextPageToken }; pass nextPageToken back to get the next page (null means no more). Use the IDs with directiq_campaign_stats for performance.
- **directiq_get_campaign** — Get one campaign by ID: name, type, status, subject, sender, target lists and segments, template ID, recipient count, and scheduled send time. For opens, clicks, and other results, use directiq_campaign_stats.
- **directiq_campaign_stats** — Summarize how a campaign performed: counts of recipients, opens, clicks, bounces, unsubscribes, and complaints, plus open, click, bounce, and unsubscribe rates as percentages of recipients. Use directiq_campaign_report to see which contacts did what. A section that fails to load is returned as an error without failing the rest.
- **directiq_campaign_report** — List the contacts behind one campaign result, one page at a time: who received, opened, clicked, bounced, unsubscribed, or complained. Returns { totalCount, result }. Optionally filter to one email address, or for clicks, to one link. For totals and rates only, use directiq_campaign_stats.
- **directiq_send_email** — Send one transactional email (a receipt, confirmation, or one-to-one message) immediately. It is delivered to real recipients and cannot be recalled, and it counts toward the account’s sending plan. The from address must be a confirmed sender on the account (see directiq_account_overview). Not for bulk marketing: campaigns are sent from the DirectIQ dashboard.
- **directiq_list_endpoints** — List known DirectIQ API operations (HTTP method, API group, path, summary). Optionally filter by a search term. Call GET operations with directiq_read_request and POST/PUT/PATCH/DELETE operations with directiq_write_request.
- **directiq_read_request** — Issue an authenticated GET request to any DirectIQ endpoint and return the JSON response. Prefer a dedicated directiq_* tool when one exists; use this for read operations without one, found with directiq_list_endpoints (e.g. segments for a contact, email client reports). Full request/response schemas for each group are in the DirectIQ API docs at https://rest.directiq.com/{group}/swagger/index.html (core, contacts, subscription).
- **directiq_write_request** — Issue an authenticated POST, PUT, PATCH, or DELETE request to any DirectIQ endpoint. May create, modify, or permanently delete account data, including bulk operations. Prefer a dedicated directiq_* tool when one exists; use this only for operations without one, found with directiq_list_endpoints, and confirm destructive calls with the user first. Full request/response schemas for each group are in the DirectIQ API docs at https://rest.directiq.com/{group}/swagger/index.html (core, contacts, subscription).

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "directiq": {
    "url": "https://mcp.directiq.com/mcp"
  }
}
```

## Documentation

## What DirectIQ does

DirectIQ exposes account and email-marketing operations through MCP. Agents can inspect contacts, lists, tags, saved segments, campaigns, automation flows, campaign results, and confirmed sender addresses. They can also create, update, organize, and remove contacts, list memberships, and tags.

Transactional email is available through `directiq_send_email`, which sends one message immediately to real recipients. This is intended for receipts, confirmations, and one-to-one messages rather than bulk marketing. Campaigns are reviewed through the server, while campaign sending is handled in the DirectIQ dashboard.

The server also includes a general API escape hatch. An agent can discover DirectIQ operations with `directiq_list_endpoints`, then use the read or write request tool for an endpoint without a dedicated MCP tool.

## How it works

The hosted service uses Streamable HTTP at `https://mcp.directiq.com/mcp`. Clients send a DirectIQ API key in the `x-api-key` header; bearer-token authentication is also supported. There is no local server package to build or install.

A useful starting operation is `directiq_account_overview`, which returns contact totals, active and disabled counts, list and tag counts, and confirmed sender addresses. The sender list helps identify a valid `from` address before sending transactional email.

Contact browsing is paginated. `directiq_list_contacts` returns IDs and contact details along with `hasNextPage`, while `directiq_get_contact` retrieves a known numeric ID. Campaign listings use a page token, and campaign reports return result pages for recipients, opens, clicks, bounces, unsubscribes, or complaints.

## Setup and configuration

Create or copy an API key in the DirectIQ dashboard under **Settings → API Keys**. Configure the remote MCP URL and pass the key as an HTTP header:

```json
{
  "url": "https://mcp.directiq.com/mcp",
  "headers": { "x-api-key": "YOUR_DIRECTIQ_API_KEY" }
}
```

Cursor, VS Code, Windsurf, Claude Code, Claude Desktop, and OpenAI Codex have documented connection patterns. Claude Desktop uses the `mcp-remote` bridge, while VS Code can prompt for and store the key securely. Other MCP clients can use the same Streamable HTTP URL and header configuration.

## Tools and capabilities

- Inspect account totals, senders, contacts, lists, tags, segments, campaigns, and campaign results.
- Add or update contacts, including list placement and optional tags.
- Create, rename, delete, and inspect lists and tags.
- Add or remove contacts from lists and apply or remove tags.
- Send one transactional email immediately.
- Discover and call additional DirectIQ API operations through authenticated GET, POST, PUT, PATCH, or DELETE requests.

Tool metadata identifies read-only, destructive, idempotent, and open-world behavior so clients can apply confirmation workflows.

## Limitations and notes

Deleting contacts, lists, or tags is permanent, and write requests can modify or delete account data. Confirm destructive actions before calling them. `directiq_send_email` cannot recall a message, reaches real recipients, and counts against the account’s sending plan. The sender must be confirmed on the DirectIQ account.

Use `directiq_upsert_contact` to create a contact or update its name when the email already exists. Use `directiq_update_contact` for other existing-contact fields, and use list or tag tools for membership changes. DirectIQ API schemas are available in the Core, Contacts, and Subscription Swagger documentation.

_Full upstream README: https://allmcps.com/mcp/directiq/readme_

