AI Assistants (MCP)

Run your Diem workspace from Claude, ChatGPT, or any assistant that speaks the Model Context Protocol — tickets, sales, audience, and payouts by conversation.

On this page

Your workspace, by conversation

The Diem MCP server lets an AI assistant operate your Diem workspace directly: check ticket sales while you're on the floor, pull last weekend's revenue, create a listing, look up a purchase by confirmation code, or export your audience — by asking in plain language. It works with any client that supports the Model Context Protocol, including ChatGPT, Claude (web, desktop, and Claude Code), and Cursor.

Connect your assistant

Pick the assistant you use and follow only its steps. Every option talks to the same public endpoint, https://api.startdiem.com/mcp, with no API key, OAuth client, or bearer token; Diem signs you in from the chat afterward.

Anthropic setup · Claude web & desktop

Connect Diem to Claude

In Claude, Diem is a custom connector: a remote MCP server you add once in settings, switch on inside a chat, and then sign in to with your Diem email. The steps are the same at claude.ai and in the Claude desktop app, and the connector follows your Claude account across both.

Setup verified September 14, 2026 against the official Claude custom-connector guide.

  1. Open Connectors

    In Claude, click Customize in the left sidebar, open the Connectors tab, then click the plus button labelled Add custom connector.

  2. Enter the Diem connector details

    Use the exact values below: name it Diem, paste the hosted endpoint into Remote MCP server URL, leave Advanced settings untouched, and click Add.

  3. Turn Diem on in a chat

    Start a new chat, click the + button in the message box, choose Connectors, and switch Diem on. The Diem tools are now available in that conversation.

  4. Sign in with your Diem email

    Say “Log me into Diem, my email is …”, click the single-use link Diem emails you, then tell Claude you clicked it. Claude confirms the workspace you are signed into.

In Claude, custom connectors live under Customize → Connectors. The plus button opens the Add custom connector dialog.

In Claude, custom connectors live under Customize → Connectors. The plus button opens the Add custom connector dialog.

Diem values for the Claude custom connector dialog
FieldEnter or select
NameDiem
Remote MCP server URLhttps://api.startdiem.com/mcp
Advanced settingsLeave collapsed. The OAuth Client ID and OAuth Client Secret fields stay blank.
AddSaves the connector. No sign-in prompt appears yet; Diem signs you in from the chat.
Leave the OAuth fields blank. Diem protects your workspace with its own email magic-link sign-in after the connector is added.

Leave the OAuth fields blank. Diem protects your workspace with its own email magic-link sign-in after the connector is added.

Connectors are enabled per conversation: + → Connectors → Diem. Do this in each new chat where you want the Diem tools.

Connectors are enabled per conversation: + → Connectors → Diem. Do this in each new chat where you want the Diem tools.

The sign-in token stays between your email and Diem. Claude only keeps the pending session ID needed to check completion.

The sign-in token stays between your email and Diem. Claude only keeps the pending session ID needed to check completion.

Claude Code

Claude Code connects from the terminal with one command. Use --scope userso Diem is available in every project, then start a new session and ask it to log you in. Run /mcp inside Claude Code to confirm the connection.

Claude Code — available in all of your projects
claude mcp add --transport http diem --scope user https://api.startdiem.com/mcp

Sign in with a Diem magic link

After the Diem tools are enabled, authentication happens inside the conversation. The assistant never sees a password or the magic-link token, and the MCP connection only receives a Diem session after you approve the email link.

Paste this after Diem is connected
Log me into Diem with the email YOUR@EMAIL.COM.

1. Call the Diem "login" tool with that email and keep the returned session_id.
2. Tell me when Diem has sent the single-use magic link. I will click it in my email — I will not paste the link here.
3. When I say I clicked it, call "check_login_status" with the same session_id. If it is still pending, retry with that same ID.
4. Confirm the Diem workspace that is now active.
  1. Ask your assistant to log you in

    Say “Log me into Diem. My email is me@example.com.” ChatGPT or Claude calls login(email), and Diem returns a session_id.

  2. Click the newest Diem email

    Open the single-use magic link in the email from Diem. Keep the link private; you never need to copy it into the conversation.

  3. Return to the same conversation

    Say “I clicked it. Check my login status.” The assistant calls check_login_status(session_id) with the same ID. If the result is still pending, it can retry that call.

  4. Confirm the active workspace

    Diem binds the MCP session to your account, loads your available workspaces, selects the first one, and returns the active workspace to the assistant.

The same flow in ChatGPT. The sign-in token stays between your email and Diem; the assistant only keeps the pending session ID needed to check completion.

The same flow in ChatGPT. The sign-in token stays between your email and Diem; the assistant only keeps the pending session ID needed to check completion.

Things to say to your assistant
SayWhat happens
“Log me into Diem. My email is …”login sends a single-use link and returns the pending session ID.
“I clicked it. Check my login status.”check_login_status confirms the link and reports the active workspace. If it is still pending, retry with the same session ID.
“Switch account”Pick a different workspace if you manage more than one.
“Log out of Diem”Revokes the session immediately.

Available tools

Tool categories exposed by the Diem MCP
CategoryWhat the assistant can do
Tickets & purchasesList tickets, per-event sales stats, refunds, purchase lookups by confirmation code.
ListingsCreate and manage links, media folders, and donation listings.
PaymentsStripe balance, transfers, and payout dashboard access for the connected account.
Metrics & audienceDashboard analytics, RSVPs, revenue, audience segments, growth, exports.
Automations & InstagramKeywords with account targeting, Flow Builder automations (create, edit, publish), DM triggers, Instagram media.
Inbox & messagingRead DM conversations, send replies and listings as the workspace account, contact lookup, notification opt-ins.
Team & accountsWorkspaces, members, invites, account switching.
Display rulesDraft, preview, and publish how tickets and listings display across every surface. See Display Rules.
Link PageRead and edit the diem.me page end to end: display name, bio, images, colors, fonts, button style, socials, sections and links, username, and publishing.

Security model

The assistant acts as the signed-in user with exactly that user's permissions — every call goes through the same authorization checks as the Diem dashboard. Sign-in links are single-use, sessions expire on their own, and telling the assistant to log out revokes the session immediately.

Next guide

Integration Platform
Connect Diem to ChatGPT or Claude | MCP Setup Guide