Spondyr MCP server
38 operations0 webhooks
Generate and deliver template-driven correspondence, and manage the templates, recipients, conditions and search filters behind it.
Try Spondyr with your agent
Connect Spondyr, 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 Spondyr on my account, then run one read-only example and show me the result.
Spondyr tools and triggers
Tools are what your agent can do in Spondyr through Corsair's MCP server. Triggers are the Spondyr events a routine can start from.
Templates
- CreateWrite
Create a template from previously uploaded content, with its delivery recipients and conditions
templates.create
- DeleteDestructive
Delete a template
templates.delete
- GetRead-only
Get one template with its content reference, recipients, conditions and search filters
templates.get
- ListRead-only
List the templates of a Transaction Type with their recipients
templates.list
- UpdateWrite
Change a template content, recipients, conditions or searches
templates.update
- Upload ContentWrite
Upload a template file as base64 and return the reference ID a template needs; the content can attach to one template only
templates.uploadContent
Conditions
- CreateWrite
Create a Condition that decides which template is used
conditions.create
- DeleteDestructive
Delete a Condition; templates that reference it stop matching
conditions.delete
- GetRead-only
Get one Condition and the field it inspects
conditions.get
- ListRead-only
List the template-selection Conditions of a Transaction Type
conditions.list
- UpdateWrite
Change a Condition field or its accepted values
conditions.update
Correspondence
- DeliverDestructive
Deliver correspondence that was generated with `is_generate_only`, optionally to extra recipients
correspondence.deliver
- RetryDestructive
Retry the templates that errored on a previous request
correspondence.retry
- SearchRead-only
Search past requests by batch, Event Type or Search Filter, with paging up to 250 a page
correspondence.search
- SendDestructive
Generate correspondence from a Transaction Type and either deliver it or hold it for `correspondence.deliver`
correspondence.send
- StatusRead-only
Read the status of a generated request, one entry per template, with each recipient delivery result
correspondence.status
Event Types
- CreateWrite
Add an Event Type to a Transaction Type
eventTypes.create
- DeleteDestructive
Delete an Event Type; templates that reference it stop matching
eventTypes.delete
- GetRead-only
Get one Event Type and the Transaction Type it belongs to
eventTypes.get
- ListRead-only
List the Event Types of one Transaction Type
eventTypes.list
- UpdateWrite
Rename an Event Type or move it to another Transaction Type
eventTypes.update
Recipients
- CreateWrite
Create a Recipient; any address field may hold a `{FieldName}` placeholder
recipients.create
- DeleteDestructive
Delete a Recipient; templates that name it stop resolving
recipients.delete
- GetRead-only
Get one Recipient and the placeholder fields it resolves
recipients.get
- ListRead-only
List a Transaction Type's Recipients with their addresses
recipients.list
- UpdateWrite
Change a Recipient name, address or placeholder fields
recipients.update
Search Filters
- CreateWrite
Create a Search Filter that tags generated correspondence for later search
searchFilters.create
- DeleteDestructive
Delete a Search Filter; existing tags stay on the documents
searchFilters.delete
- GetRead-only
Get one Search Filter and the tag it writes onto correspondence
searchFilters.get
- ListRead-only
List a Transaction Type's Search Filters
searchFilters.list
- UpdateWrite
Change a Search Filter tag
searchFilters.update
Transaction Types
- CreateWrite
Create a Transaction Type from a JSON sample that defines the template fields
transactionTypes.create
- DeleteDestructive
Delete a Transaction Type; every template, condition and search filter built on it goes with it
transactionTypes.delete
- GetRead-only
Get one Transaction Type with its JSON and CSV field samples
transactionTypes.get
- ListRead-only
List the Transaction Types on the subscription
transactionTypes.list
- UpdateWrite
Change a Transaction Type name or its JSON sample
transactionTypes.update
Batch
- SendDestructive
Generate correspondence for a list of data objects in one request, optionally merging shared data into each
batch.send
- StatusRead-only
Read a batch progress: items processed, and the reference ID of each item that errored
batch.status
Connect Spondyr to Claude, ChatGPT or Cursor
- 1
Connect Spondyr in Corsair
Add your Spondyr API key once in Corsair. Corsair stores the credential encrypted and makes the Spondyr API calls for your agent, so it never goes into a prompt or a config file. Connect Spondyr
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Spondyr. On a ChatGPT personal plan, connect Spondyr 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, Spondyr's read and write operations run right away and its 10 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/spondyr, add the Spondyr plugin, and connect with an API key. Then call methods like corsair.spondyr.api.batch.send() from your app. Corsair keeps each tenant isolated.
Yes. Spondyr requires an API key from your Spondyr account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Spondyr, GitHub, Notion, Stripe, and the rest. Trigger Spondyr from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for generate and deliver template-driven correspondence, and manage the templates, recipients, conditions and search filters behind it. Common builds include sync jobs, admin tooling, and agents that call Spondyr 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 Spondyr 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/spondyr in the open repo. When Spondyr 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 Spondyr data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Spondyr 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 Spondyr 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 10 destructive Spondyr operations. You can change a link's mode at hub.corsair.dev/me.