DEVELOPERS · MCP

Run your Magent workspace from any MCP client.

Connect Claude, Cursor or your own agent to the same campaigns, signals, leads and inbox you use in Magent — with a separate permission boundary on the API key.

Updated August 2026 · Streamable HTTP

Connect in three steps

01

Generate a scoped key

Open Settings → MCP Server. Read access is required; lead changes, automation control and AI generation are separate opt-ins.

02

Add the Streamable HTTP endpoint

Use the endpoint below and send the key as a Bearer token in the Authorization header.

03

Let the client discover the tools

Magent publishes the tool catalogue over MCP. Start with get_account_overview for a one-call picture of the workspace.

Endpoint and authentication

Magent currently authenticates remote MCP clients with scoped API keys. The raw key is shown once and only its SHA-256 hash is stored. OAuth sign-in is not available yet.

STREAMABLE HTTP ENDPOINT

https://app.trymagent.com/api/mcp

REQUIRED HEADER

Authorization: Bearer magent_••••••••

Four permissions, each tied to an effect

Every tool call is checked on the server. Existing keys retain their current access; new keys start read-only.

account:read

Read workspace

Read campaigns, lists, leads, signals, inbox conversations, deals, credits and account metrics.

leads:write

Manage leads

Edit list rows, notes and reminders, approve or reject campaign contacts, and update deal stages.

automation:write

Control automations

Pause or resume campaigns, lead-finding agents and their individual signals.

ai:generate

Generate with AI

Create grounded reply drafts. Generation may consume credits; the result is returned as a draft only.

The GTM control surface

The server exposes 38 tools grouped around the work Magent already does.

Overview and intent

Account overview, hot accounts, signal runs, recent activity and pipeline attribution.

Leads and campaigns

Lists, contacts, campaign queues, approvals, notes, reminders and deal stages.

Agents and signals

Agent status, discovered leads, configured signals and scoring rules.

Inbox

Connected accounts, conversations, messages and grounded reply drafts.

What an MCP client cannot do

There is no send-message tool. A client can draft a reply only when the key has ai:generate; sending stays in Magent under the account's caps, working hours and review mode.

Works with standard MCP clients

Use the generated snippets for Claude Code, Claude Desktop and Cursor, or configure any client that supports Streamable HTTP and custom Authorization headers.

Generate my scoped key

Settings → MCP Server · the key is shown once

Generate my scoped key