io.github.codespar/mcp-sendgrid
NPM · @CODESPAR/MCP-SENDGRID · SCANNED AUG 4
MCP server for SendGrid — global transactional + marketing email (Twilio-owned)
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security86
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 42 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability71
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 1836 tokens (~91/item across 20 items; 20 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management30
- Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · @codespar/mcp-sendgrid
claude mcp add codespar-mcp-sendgrid -- npx -y @codespar/mcp-sendgrid
codex mcp add codespar-mcp-sendgrid -- npx -y @codespar/mcp-sendgrid
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"codespar-mcp-sendgrid": {
"type": "local",
"command": [
"npx",
"-y",
"@codespar/mcp-sendgrid"
],
"enabled": true
}
}
} openclaw mcp add codespar-mcp-sendgrid --command npx --arg -y --arg @codespar/mcp-sendgrid
mcp_servers:
codespar-mcp-sendgrid:
command: "npx"
args: ["-y", "@codespar/mcp-sendgrid"] {
"mcpServers": {
"codespar-mcp-sendgrid": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-sendgrid"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 4 Aug 26 +5
- Stability: unverified → 0.30 ▲ functional
- 2 Aug 26 +59
- Provenance: unverified → fail ▼ security
- Install scripts: unverified → pass ▲ security
- Known CVEs: unverified → partial ▲ security
- Malware scan: unverified → pass ▲ security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- License: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Maintenance: unverified → pass ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Schema quality: unverified → good ▲ functional
- Tool coverage: unverified → 100 ▲ functional
- Licence: MIT functional
- 1 Aug 26 −16
- Tool coverage: 100 → unverified ▼ functional
- 31 Jul 26 +15
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 30 Jul 26 −40
- Malware scan: pass → unverified ▼ security
- Tool coverage: 100 → unverified ▼ functional
- First check of Schema quality: unverified functional
- 27 Jul 26 46
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 4 Aug 2026 · Analysed npm/@codespar/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
Dependencies 94 packages
94 packages in the resolved dependency tree · 94 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
add_contact ~94
Upsert contacts in Marketing Campaigns via PUT /marketing/contacts. Matches on email. Returns a job_id — ingestion is async. Optionally assign to list_ids.
| Name | Type | Req | Description |
|---|---|---|---|
| contacts | array | yes | Contacts to upsert. Each: { email (required), first_name?, last_name?, phone_number?, country?, city?, custom_fields? } |
| list_ids | array | — | Optional list UUIDs to add these contacts to |
No output schema declared.
No examples provided.
add_suppression ~65
Add recipients to a suppression group via POST /asm/groups/{group_id}/suppressions. Future mail in this group will be blocked for these addresses.
| Name | Type | Req | Description |
|---|---|---|---|
| group_id | number | yes | Unsubscribe group id |
| recipient_emails | array | yes | Emails to suppress |
No output schema declared.
No examples provided.
cancel_scheduled_send ~108
Cancel or pause a scheduled send by batch_id via POST /user/scheduled_sends. A send_mail call with `send_at` + `batch_id` can be aborted until the send runs. Set status to 'cancel' or 'pause'.
| Name | Type | Req | Description |
|---|---|---|---|
| batch_id | string | yes | The batch_id that was attached to the scheduled /mail/send call |
| status | string | yes | `cancel` aborts; `pause` holds the batch (can be resumed by deleting the status) |
No output schema declared.
No examples provided.
create_list ~59
Create a Marketing Campaigns contact list via POST /marketing/lists. Returns the new list UUID. Use the id with add_contact's list_ids to populate it.
| Name | Type | Req | Description |
|---|---|---|---|
| name | string | yes | List name (max 100 chars, must be unique) |
No output schema declared.
No examples provided.
create_template ~60
Create a transactional template via POST /templates. Returns a template_id. Add versions separately via /templates/{id}/versions.
| Name | Type | Req | Description |
|---|---|---|---|
| generation | string | — | Template generation (recommend `dynamic`) |
| name | string | yes | Template name (max 100 chars) |
No output schema declared.
No examples provided.
delete_bounce ~60
Remove a bounced address from the bounce suppression list via DELETE /suppression/bounces/{email}. Call this after the recipient confirms the underlying issue (e.g. mailbox full) is resolved.
| Name | Type | Req | Description |
|---|---|---|---|
| string | yes | Bounced email address to clear |
No output schema declared.
No examples provided.
delete_contact ~84
Delete contacts by id via DELETE /marketing/contacts?ids=.... Pass a comma-separated list of contact UUIDs, or set delete_all_contacts=true to wipe all contacts (irreversible).
| Name | Type | Req | Description |
|---|---|---|---|
| delete_all_contacts | boolean | — | If true, deletes ALL contacts. Ignores `ids`. |
| ids | string | — | Comma-separated list of contact UUIDs to delete |
No output schema declared.
No examples provided.
delete_list ~78
Delete a Marketing Campaigns contact list via DELETE /marketing/lists/{id}. Contacts are NOT deleted by default — set delete_contacts=true to also remove contacts that belong ONLY to this list.
| Name | Type | Req | Description |
|---|---|---|---|
| delete_contacts | boolean | — | If true, also delete contacts that are exclusive to this list (async job) |
| id | string | yes | List UUID |
No output schema declared.
No examples provided.
get_bounces ~95
Retrieve bounced recipients via GET /suppression/bounces. Returns [{email, created, reason, status}]. Filter by time window with start_time/end_time (Unix seconds).
| Name | Type | Req | Description |
|---|---|---|---|
| end_time | number | — | Unix timestamp (seconds) upper bound |
| limit | number | — | Max results to return |
| offset | number | — | Offset for pagination |
| start_time | number | — | Unix timestamp (seconds) lower bound |
No output schema declared.
No examples provided.
get_contact ~46
Retrieve a single Marketing Campaigns contact by id via GET /marketing/contacts/{id}. Returns full contact record including custom fields and list_ids.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | Contact UUID |
No output schema declared.
No examples provided.
get_event_webhook_settings ~61
Retrieve the Event Webhook configuration via GET /user/webhooks/event/settings. Returns {url, enabled, delivered, open, click, bounce, dropped, spam_report, unsubscribe, ...} — useful to verify which SendGrid events are being forwarded.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
get_stats ~95
Global email stats via GET /stats. Returns sent/delivered/opens/clicks/bounces/spam_reports aggregated between start_date and end_date.
| Name | Type | Req | Description |
|---|---|---|---|
| aggregated_by | string | — | Bucket size (default day) |
| categories | string | — | Optional category filter (comma-separated if multiple) |
| end_date | string | — | YYYY-MM-DD (default: today) |
| start_date | string | yes | YYYY-MM-DD (required) |
No output schema declared.
No examples provided.
list_contacts ~37
List Marketing Campaigns contacts via GET /marketing/contacts. Returns up to 50 sample contacts; for full export use a Contacts Export job.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
list_lists ~69
List all Marketing Campaigns contact lists via GET /marketing/lists. Returns list UUIDs, names, and contact_count. Supports pagination.
| Name | Type | Req | Description |
|---|---|---|---|
| page_size | number | — | Results per page (default 100, max 1000) |
| page_token | string | — | Pagination token from previous response |
No output schema declared.
No examples provided.
list_suppressions ~50
List all suppressed recipients for an unsubscribe group via GET /asm/groups/{group_id}/suppressions. Returns an array of email strings.
| Name | Type | Req | Description |
|---|---|---|---|
| group_id | number | yes | Unsubscribe group id |
No output schema declared.
No examples provided.
list_templates ~78
List transactional templates via GET /templates. By default returns dynamic templates (recommended); set generations='legacy' for legacy.
| Name | Type | Req | Description |
|---|---|---|---|
| generations | string | — | Template generation filter (default `dynamic`) |
| page_size | number | — | Results per page (1-200, default 10) |
| page_token | string | — | Pagination token from previous response |
No output schema declared.
No examples provided.
list_unsubscribe_groups ~68
List all unsubscribe groups on the account via GET /asm/groups. Returns [{id, name, description, is_default, unsubscribes}]. Use the id with list_suppressions / add_suppression.
| Name | Type | Req | Description |
|---|---|---|---|
| id | number | — | Optional: filter by a single group id |
No output schema declared.
No examples provided.
search_contacts ~64
Search contacts with an SGQL query via POST /marketing/contacts/search. Example: `email LIKE '%@codespar.com' AND CONTAINS(list_ids, 'abc-123')`.
| Name | Type | Req | Description |
|---|---|---|---|
| query | string | yes | SGQL WHERE clause (SendGrid SQL-like syntax) |
No output schema declared.
No examples provided.
send_mail ~341
Send an email via POST /mail/send. Supply at least one `personalization` with `to` recipients, a `from` address (falls back to SENDGRID_FROM_EMAIL), and either `content` blocks or a `template_id` with `dynamic_template_data`. Returns 202 on success.
| Name | Type | Req | Description |
|---|---|---|---|
| asm | object | — | Unsubscribe group settings: { group_id, groups_to_display? } |
| attachments | array | — | Attachments: [{ content (base64), type, filename, disposition?, content_id? }] |
| categories | array | — | Up to 10 category tags for analytics |
| content | array | — | Content blocks: [{ type: 'text/plain' | 'text/html', value }]. Omit if using template_id. |
| from | object | — | Sender. { email, name? }. If omitted, SENDGRID_FROM_EMAIL is used. |
| mail_settings | object | — | e.g. { sandbox_mode: { enable: true } } |
| personalizations | array | yes | Array of personalization objects. Each has `to` (array of {email,name}), optional `cc`, `bcc`, `subject`, `dynamic_template_data`, `substitutions`. |
| reply_to | object | — | Optional reply-to. { email, name? } |
| send_at | number | — | Unix timestamp to schedule send (must be within 72h) |
| subject | string | — | Global subject (overridden by personalization.subject) |
| template_id | string | — | Dynamic template id (starts with `d-`). Use with dynamic_template_data on each personalization. |
| tracking_settings | object | — | Click / open / subscription tracking config |
No output schema declared.
No examples provided.
send_template ~157
Convenience wrapper for POST /mail/send with a dynamic template. Equivalent to send_mail with `template_id` set. Supply `to`, `template_id`, and `dynamic_template_data`; content is rendered from the template.
| Name | Type | Req | Description |
|---|---|---|---|
| dynamic_template_data | object | — | Handlebars variables substituted into the template |
| from | object | — | Sender { email, name? }. Falls back to SENDGRID_FROM_EMAIL. |
| subject | string | — | Optional subject override (usually set inside the template) |
| template_id | string | yes | Dynamic template id (starts with `d-`) |
| to | string | yes | Recipient email (single address). Use send_mail for multiple/complex personalizations. |
| to_name | string | — | Optional recipient display name |
No output schema declared.
No examples provided.