Skip to content

MCP Server Overview

CampaignStack runs its whole platform through a Model Context Protocol (MCP) server. Anything you can do in the app, an AI assistant connected to that server can do too: read a workspace, build a campaign, import and enrich leads, set up a workflow, work through the review queue, answer the inbox.

The assistant does not drive LinkedIn itself. Every message, connection request or comment it asks for goes through the same queues, daily limits and review steps as a click in the app, on LinkedIn and Google accounts the workspace owner connected. An assistant cannot raise a sending limit.

The server lives at https://mcp.campaignstack.io/mcp and speaks Streamable HTTP. There are two ways to sign in:

  • OAuth. Claude.ai, ChatGPT and Cursor add the server as a connector and send you to a CampaignStack consent screen. Nothing to copy or paste.
  • An API key. Coding tools and scripts (Claude Code, Cursor, your own code) send a csu_ user key or a cs_ workspace key in a header.

Authentication covers both, and the guides walk through Claude and Cursor step by step. Transports has the raw HTTP session details for anyone writing a client.

A first call that works with any credential is campaignstack_whoami. It returns who you are, what the connection may do and which workspaces it reaches.

The tool list is filtered for each connection. A key only lists the tools its scopes allow, and a tool for a feature a workspace has not turned on is left out. A key limited to reading leads sees a short list; a full user key sees the whole catalog below. Keeping keys narrow keeps the assistant’s context small and stops it offering things it cannot do.

Tools come in a few shapes, and the names tell you which:

  • get_* tools only read. Leave out ids to list, pass ids to fetch exact records, and add include sections only for the extra detail you need. Every result comes back in the same envelope: items plus pagination.
  • edit_* tools create and change records, often several in one call through an operations array.
  • Sending, refreshing, paid work and permanent deletes each have a tool of their own, so a client can ask for confirmation on exactly those. Deletes require confirmed: true.

The reference documents 116 tools on 18 pages, generated from the server’s own catalog on every docs build.

PageToolsWhat it covers
Account & Capabilities4Check who you are, what the platform can do, and what an action will cost before running it.
Workspaces & Campaigns12Read and edit workspaces, campaigns (with their ICP and personas), members, identities and the workspace playbook.
Workspace Setup & Memory8Create and onboard workspaces, send product feedback, and manage the durable facts agents remember.
Leads & Lead Lists11Find, import, enrich and edit leads, and manage the lists that hold them.
Companies6Read company facts and signals, analyze a company website, and refresh or enrich companies.
Workflows9Build, edit, trigger and diagnose automation workflows, and manage the leads moving through them.
Reviews4Read the review queue, approve or reject drafts, edit scheduled messages and recover parked reviews.
Signal Agents & Watches11Configure signal agents, person and company-employee watches, and the exclusions every agent honours.
Competitor Watches3Watch competitors’ LinkedIn posts and turn the people engaging with them into leads.
Lead Magnets3Discover LinkedIn posts that gate a resource behind a comment and work their comment sections.
AI Craft & Content7Draft messages with the workspace playbook and voice, inspect how a draft was built, and manage content posts.
Inbox & Email5Read and act on LinkedIn conversations, refresh the inbox, and send email from connected Google accounts.
Outreach5Single LinkedIn actions: connection requests, InMail, likes, comments and follows.
LinkedIn Accounts6Connect LinkedIn accounts, edit their settings and workspace links, and export their connections.
Integrations6Connect Apollo, Instantly, HubSpot and other tools, import leads from them and push leads out to them.
Calendar & Meetings6Check availability, edit calendar events, and work with meetings: briefs, outcomes, reschedules.
Notifications3Read notifications, set notification preferences, and see time spent in review.
Job Alerts7Watch job postings and submit applications under a person’s own name (feature-gated).
Workflow Node Vocabulary39 node typesEvery node a workflow graph can contain, with its config, exits and an example.

Each page starts with how its tools fit together, then documents every tool with its scope, its badges (read-only, destructive, acts outside CampaignStack) and a table of parameters.

  • Structured results. Every tool returns JSON and declares the shape of its output, so a client can read fields instead of parsing prose.
  • Strict input. Unknown parameters are rejected rather than ignored, so a misspelled field fails loudly.
  • Errors say what to do next. An error names the tool or argument that fixes it, for example which workspaces to choose from when a call is ambiguous. See Errors for the full list.
  • Defaults only when there is one answer. workspaceId and the acting account can be left out when the connection reaches exactly one. With several, the call fails and lists them instead of guessing.

Calls are limited per credential over a sliding 60-second window: 120 reads, 30 writes and 10 AI calls a minute, and 240 calls in total. GET https://mcp.campaignstack.io/health needs no authentication and returns the server version, the current limits and the list of public tools.

These limits protect the API. LinkedIn sending is limited separately, per account, by the daily and weekly caps the workspace owner sets: see LinkedIn limits.