ToneDen MCP server
36 operations0 webhooks
Manage smart links, contests and social unlocks, ad campaigns and playbook campaigns, and read their performance data.
Try ToneDen with your agent
Connect ToneDen, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in ToneDen on my account, then run one read-only example and show me the result.
ToneDen tools and triggers
Tools are what your agent can do in ToneDen through Corsair's MCP server. Triggers are the ToneDen events a routine can start from.
Attachments
- CreateWrite
Create a contest or a social unlock
attachments.create
- DeleteDestructive
Delete a contest or unlock; there is no restore route
attachments.delete
- EntriesRead-only
Read a contest entry time series, by platform
attachments.entries
- Entries TotalsRead-only
Read entry counts over the past day, week, month and lifetime
attachments.entriesTotals
- GetRead-only
Read one contest or unlock with its actions
attachments.get
- List For UserRead-only
List one user's contests and social unlocks
attachments.listForUser
- Unlock PlatformsRead-only
Read unlock counts by platform
attachments.unlockPlatforms
- UnlocksRead-only
Read a social unlock time series
attachments.unlocks
- Unlocks TotalsRead-only
Read unlock counts over the past day, week, month and lifetime
attachments.unlocksTotals
- UpdateWrite
Change the fields of one contest or unlock
attachments.update
Links
- CreateWrite
Create a link with its target, artwork, services and social settings
links.create
- DeleteDestructive
Delete a link; there is no restore route
links.delete
- ExpandRead-only
Expand a music or podcast URL into the tracking pixels, affiliate codes and services a link would carry
links.expand
- GetRead-only
Read one link with its services, pixels and social settings
links.get
- InsightsRead-only
Read one link's performance over a date window
links.insights
- Insights OverviewRead-only
Read a summary of one link's performance
links.insightsOverview
- List For UserRead-only
List one user's links
links.listForUser
- UpdateWrite
Change the fields of one link; only the given fields are sent
links.update
- Valid PathRead-only
Check whether a path and subdomain are still available; answers 200 with `valid: false` rather than failing
links.validPath
Campaigns
- CreateDestructive
Create an ad campaign on Facebook or Google; creating one can start spend, so review the body before calling
campaigns.create
- Creative InsightsRead-only
Read performance data for each ad within a campaign
campaigns.creativeInsights
- DeleteDestructive
Delete an ad campaign; there is no restore route
campaigns.delete
- GetRead-only
Read one ad campaign
campaigns.get
- InsightsRead-only
Read one campaign performance data
campaigns.insights
- ListRead-only
List one user's ad campaigns
campaigns.list
- UpdateDestructive
Change an ad campaign; only the given fields are sent
campaigns.update
Playbooks
- CreateDestructive
Create a playbook campaign from a template
playbooks.create
- DeleteDestructive
Delete a playbook campaign; there is no restore route
playbooks.delete
- GetRead-only
Read one playbook campaign
playbooks.get
- UpdateDestructive
Change a playbook campaign title or archive state
playbooks.update
User Lists
- CreateWrite
Create a user list for a Facebook custom audience; the feature requires access from ToneDen support
userLists.create
- ListRead-only
List one user's advertising user lists
userLists.list
- Update ContactsWrite
Add or remove people in a user list
userLists.updateContacts
Users
- GetRead-only
Read a user profile
users.get
- UpdateWrite
Change a user profile's name, email or location
users.update
Offline Conversions
- UploadWrite
Upload offline conversions for a user
offlineConversions.upload
Connect ToneDen to Claude, ChatGPT or Cursor
- 1
Connect ToneDen in Corsair
Sign in to ToneDen or add an API key once in Corsair. Corsair stores the credential encrypted and makes the ToneDen API calls for your agent, so it never goes into a prompt or a config file. Connect ToneDen
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs ToneDen. On a ChatGPT personal plan, connect ToneDen here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Customize → Connectors → Add custom connector, paste the address, then select Connect.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, ToneDen's read and write operations run right away and its 8 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/toneden, add the ToneDen plugin, and connect with OAuth or an API key. Then call methods like corsair.toneden.api.attachments.create() from your app. Corsair stores tokens, and keeps each tenant isolated.
Yes. ToneDen supports OAuth or an API key. Use credentials or OAuth scopes that match what you automate. Create them in the ToneDen developer console, then paste into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit ToneDen, GitHub, Notion, Stripe, and the rest. Trigger ToneDen from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for manage smart links, contests and social unlocks, ad campaigns and playbook campaigns, and read their performance data. Common builds include sync jobs, admin tooling, and agents that call ToneDen APIs from your backend.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per ToneDen API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/toneden in the open repo. When ToneDen ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your ToneDen data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store ToneDen data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put ToneDen on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 8 destructive ToneDen operations. You can change a link's mode at hub.corsair.dev/me.