Skip to content

MCP Server Overview

CampaignStack exposes its entire platform through the Model Context Protocol (MCP). The MCP server provides 200+ tools across 30 domains, giving AI agents full programmatic access to campaigns, leads, workflows, content, outreach, inbox, and more.

AI Agent / MCP Client
MCP Server (port 3002)
├── Auth: API key validation + scope check
├── Validation: Zod .strict() input schemas
└── Backend: Convex (serverless)
└── Runner (LinkedIn automation)

The server is hosted at https://mcp.campaignstack.io/mcp (Streamable HTTP, API key auth) — see Transports.

DomainToolsDescription
Campaigns7Create, list, get, update, archive, delete campaigns
Personas & Phases10Buyer personas and campaign roadmap phases
Leads7Search, get, import CSV, contact info, platform profile linking
Lead Lists8Static and query-based lists, add/remove leads
Companies3Company lookup and company signals
ICPs6ICP CRUD, scoring triggers, score breakdowns
Enrichment3Queue leads, priority enrich, enrichment status
Workflows8Create, update, trigger, node vocabulary
Workflow Execution6Stats, leads at node, activity, retry, requeue
Workflow Nodes4Complete, fail, store conversations, escalate
Workflow Review6Human-in-the-loop approve/reject/edit
Split Optimization2A/B split re-weighting and optimization logs
Craft5AI-powered message, note, comment, followup, reply writing
Content17Post lifecycle, scheduling, brand voice, analytics, calendar
Outreach5Connection request, InMail, like, comment, follow
Inbox6Conversations, messages, unread counts
Signals4Lead score breakdown, signal weights
Signal Agents10Audience agents: CRUD, stats, leads
Signal Exclusions5Exclusion lists and opt-outs
Competitors6Company/profile monitoring watches
Topics & Search Watches3Search topics and saved search watches
LinkedIn Accounts6Accounts, connections export, private proxies
Google Services12Gmail sending, calendar, email warmup
Integrations7Apollo, Instantly, webhook templates
Automations4List, toggle, job history
Workspace13Members, invitations, settings, branding, playbook
Metrics & Billing4Campaign/workspace metrics, credit balance
Notifications6List, mark read, preferences
Search & Diagnostics4Search URL builder, sourcing diagnosis, post engagement, website analysis
Admin14Blog and feature flag management (platform admins only)
  • JSON-only responses — all tool output is structured JSON, never markdown
  • Cross-referenced errors — error messages suggest which tool to call next
  • Strict validation — Zod .strict() rejects unknown input fields
  • MCP annotations — every tool declares readOnlyHint, destructiveHint, idempotentHint
  • Actionable descriptions — tool descriptions reference related tools to help agents chain operations
MethodPathAuthPurpose
GET/healthNoneServer status, version, tool list
POST/mcpBearerMCP JSON-RPC messages
GET/mcpBearerSSE stream for sessions
DELETE/mcpBearerClose session