SendGrid MCP server
100 operations0 webhooks
Email delivery platform for transactional mail, marketing campaigns, and sender reputation tools.
Try SendGrid with your agent
Connect SendGrid, 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 SendGrid on my account, then run one read-only example and show me the result.
SendGrid tools and triggers
Tools are what your agent can do in SendGrid through Corsair's MCP server. Triggers are the SendGrid events a routine can start from.
Suppressions
- Add Global UnsubscribesWrite
Add emails to the global unsubscribe list
suppressions.addGlobalUnsubscribes
- Delete BlockWrite
Delete a block by email
suppressions.deleteBlock
- Delete BlocksWrite
Delete blocked emails
suppressions.deleteBlocks
- Delete BounceWrite
Delete a bounce by email
suppressions.deleteBounce
- Delete BouncesWrite
Delete bounce suppressions
suppressions.deleteBounces
- Delete Global UnsubscribeWrite
Delete a global unsubscribe by email
suppressions.deleteGlobalUnsubscribe
- Delete Invalid EmailWrite
Delete an invalid email
suppressions.deleteInvalidEmail
- Delete Invalid EmailsWrite
Delete invalid emails
suppressions.deleteInvalidEmails
- Delete Spam ReportWrite
Delete a spam report by email
suppressions.deleteSpamReport
- Delete Spam ReportsWrite
Delete spam reports
suppressions.deleteSpamReports
- Get BlockRead-only
Retrieve a block by email
suppressions.getBlock
- Get BlocksRead-only
Retrieve blocked emails
suppressions.getBlocks
- Get BounceRead-only
Retrieve a bounce by email
suppressions.getBounce
- Get BouncesRead-only
Retrieve email bounce suppressions
suppressions.getBounces
- Get Global UnsubscribeRead-only
Retrieve a global unsubscribe by email
suppressions.getGlobalUnsubscribe
- Get Global UnsubscribesRead-only
Retrieve global unsubscribes
suppressions.getGlobalUnsubscribes
- Get Invalid EmailRead-only
Retrieve an invalid email
suppressions.getInvalidEmail
- Get Invalid EmailsRead-only
Retrieve invalid emails
suppressions.getInvalidEmails
- Get Spam ReportRead-only
Retrieve a spam report by email
suppressions.getSpamReport
- Get Spam ReportsRead-only
Retrieve spam reports
suppressions.getSpamReports
Contacts
- Add Or UpdateWrite
Add or update contacts in SendGrid Marketing
contacts.addOrUpdate
- ExportWrite
Create a marketing contacts export job
contacts.export
- Export StatusRead-only
Get a marketing contacts export job
contacts.exportStatus
- GetRead-only
Get a marketing contact by ID
contacts.get
- Get CountRead-only
Get marketing contact count
contacts.getCount
- Get SampleRead-only
Get a sample of marketing contacts
contacts.getSample
- ImportWrite
Create a marketing contacts import job
contacts.import
- Import StatusRead-only
Get a marketing contacts import job
contacts.importStatus
- List ExportsRead-only
List marketing contacts export jobs
contacts.listExports
- RemoveWrite
Delete marketing contacts by ID
contacts.remove
- SearchRead-only
Search marketing contacts with SGQL
contacts.search
- Search EmailsRead-only
Search marketing contacts by email
contacts.searchEmails
Templates
- Activate VersionWrite
Activate a transactional template version
templates.activateVersion
- CreateWrite
Create a transactional template
templates.create
- Create VersionWrite
Create a transactional template version
templates.createVersion
- GetRead-only
Get a transactional template
templates.get
- Get AllRead-only
Get all transactional templates
templates.getAll
- Get VersionRead-only
Get a transactional template version
templates.getVersion
- RemoveWrite
Delete a transactional template
templates.remove
- Remove VersionWrite
Delete a transactional template version
templates.removeVersion
- UpdateWrite
Update a transactional template
templates.update
- Update VersionWrite
Update a transactional template version
templates.updateVersion
Asm
- Add Group SuppressionsWrite
Add suppressions to an unsubscribe group
asm.addGroupSuppressions
- Create GroupWrite
Create an unsubscribe group
asm.createGroup
- Delete GroupWrite
Delete an unsubscribe group
asm.deleteGroup
- Delete Group SuppressionWrite
Delete a suppression from an unsubscribe group
asm.deleteGroupSuppression
- Get GroupRead-only
Retrieve an unsubscribe group
asm.getGroup
- Get Group SuppressionsRead-only
Retrieve suppressions for an unsubscribe group
asm.getGroupSuppressions
- Get GroupsRead-only
Retrieve unsubscribe groups
asm.getGroups
- Update GroupWrite
Update an unsubscribe group
asm.updateGroup
- Cancel Scheduled SendWrite
Cancel or pause a scheduled send
mail.cancelScheduledSend
- Create Batch IdWrite
Create a batch ID for scheduled mail
mail.createBatchId
- Delete Scheduled SendWrite
Delete a cancellation/pause for a scheduled send
mail.deleteScheduledSend
- Get Scheduled SendRead-only
Retrieve a scheduled send by batch ID
mail.getScheduledSend
- List Scheduled SendsRead-only
Retrieve all scheduled sends
mail.listScheduledSends
- SendWrite
Send an email via SendGrid Mail Send API v3
mail.send
- Update Scheduled SendWrite
Update a scheduled send status
mail.updateScheduledSend
- Validate Batch IdRead-only
Validate a mail batch ID
mail.validateBatchId
Senders
- CreateWrite
Create a verified sender
senders.create
- Create IdentityWrite
Create a Marketing Campaigns sender identity
senders.createIdentity
- Get AllRead-only
Retrieve verified senders
senders.getAll
- Get IdentityRead-only
Get a Marketing Campaigns sender identity
senders.getIdentity
- List IdentitiesRead-only
Get Marketing Campaigns sender identities
senders.listIdentities
- RemoveWrite
Delete a verified sender
senders.remove
- ResendWrite
Resend verified sender verification
senders.resend
- UpdateWrite
Update a verified sender
senders.update
Lists
- CreateWrite
Create a new marketing contact list
lists.create
- GetRead-only
Get a marketing list by ID
lists.get
- Get AllRead-only
Retrieve all marketing contact lists
lists.getAll
- Get Contact CountRead-only
Get contact count for a marketing list
lists.getContactCount
- RemoveWrite
Delete a marketing list
lists.remove
- Remove ContactsWrite
Remove contacts from a marketing list
lists.removeContacts
- UpdateWrite
Update a marketing list
lists.update
Segments
- CreateWrite
Create a Marketing Campaigns segment 2.0
segments.create
- GetRead-only
Get a Marketing Campaigns segment 2.0
segments.get
- Get AllRead-only
Get all Marketing Campaigns segments 2.0
segments.getAll
- RefreshWrite
Manually refresh a Marketing Campaigns segment 2.0
segments.refresh
- RemoveWrite
Delete a Marketing Campaigns segment 2.0
segments.remove
- UpdateWrite
Update a Marketing Campaigns segment 2.0
segments.update
Stats
- Get CategoryRead-only
Retrieve category statistics
stats.getCategory
- Get ClientRead-only
Retrieve email client statistics
stats.getClient
- Get DeviceRead-only
Retrieve device statistics
stats.getDevice
- Get GeoRead-only
Retrieve geographic statistics
stats.getGeo
- Get GlobalRead-only
Retrieve global email statistics
stats.getGlobal
- Get Mailbox ProviderRead-only
Retrieve mailbox provider statistics
stats.getMailboxProvider
User
- Get AccountRead-only
Retrieve the user account
user.getAccount
- Get CreditsRead-only
Retrieve remaining email credits
user.getCredits
- Get EmailRead-only
Retrieve the account email address
user.getEmail
- Get ProfileRead-only
Retrieve the user profile
user.getProfile
- Get ScopesRead-only
Retrieve API key scopes for the current key
user.getScopes
- Get UsernameRead-only
Retrieve the account username
user.getUsername
Api Keys
- CreateWrite
Create an API key
apiKeys.create
- GetRead-only
Retrieve an API key
apiKeys.get
- Get AllRead-only
Retrieve all API keys
apiKeys.getAll
- RemoveWrite
Delete an API key
apiKeys.remove
- UpdateWrite
Update an API key name or scopes
apiKeys.update
Fields
- CreateWrite
Create a custom field definition
fields.create
- Get AllRead-only
Get all marketing field definitions
fields.getAll
- RemoveWrite
Delete a custom field definition
fields.remove
- UpdateWrite
Update a custom field definition
fields.update
Connect SendGrid to Claude, ChatGPT or Cursor
- 1
Connect SendGrid in Corsair
Add your SendGrid API key once in Corsair. Corsair stores the credential encrypted and makes the SendGrid API calls for your agent, so it never goes into a prompt or a config file. Connect SendGrid
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs SendGrid. On a ChatGPT personal plan, connect SendGrid here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Install Corsair from ChatGPT's plugin directory, connect it and sign in. A custom MCP server with the address works too, but personal plans get its read tools only.Add to Cursor / Grok BuildOr add this to~/.cursor/mcp.json. It 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, Antigravity, 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. None of SendGrid's operations are destructive, so in the default Cautious mode they all run right away. Strict mode asks before each of its 50 writes, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/sendgrid, add the SendGrid plugin, and connect with an API key. Then call methods like corsair.sendgrid.api.apiKeys.create() from your app. Corsair syncs data per tenant.
Yes. SendGrid requires an API key from your SendGrid 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 SendGrid, GitHub, Notion, Stripe, and the rest. Trigger SendGrid from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for email delivery platform for transactional mail, marketing campaigns, and sender reputation tools. Common builds include sync jobs, admin tooling, and agents that call SendGrid APIs from your backend. Local DB entities let you query synced SendGrid records without hitting the API on every read.
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 SendGrid 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/sendgrid in the open repo. When SendGrid 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 SendGrid data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store SendGrid 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 SendGrid on a link in Strict mode and every write waits for your approval, while destructive actions are refused. None of the SendGrid operations are destructive, so the default Cautious mode runs them all without asking. You can change a link's mode at hub.corsair.dev/me.