SendGrid MCP Server
v1.4.0MCP server for SendGrid's v3 API: email marketing, transactional mail, templates, and analytics.
Values you need
| Variable | What it is | |
|---|---|---|
SENDGRID_API_KEY | required secret | Your SendGrid API key (must start with 'SG.'). |
READ_ONLY | optional | When true (the default), blocks all write/delete operations at runtime while keeping every tool registered and visible. Default: true |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add sendgrid-mcp -e 'SENDGRID_API_KEY=<SENDGRID_API_KEY>' -- npx -y sendgrid-mcp@1.4.0Add to
claude_desktop_config.json{
"mcpServers": {
"sendgrid-mcp": {
"args": [
"-y",
"sendgrid-mcp@1.4.0"
],
"command": "npx",
"env": {
"SENDGRID_API_KEY": "<SENDGRID_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"sendgrid-mcp": {
"args": [
"-y",
"sendgrid-mcp@1.4.0"
],
"command": "npx",
"env": {
"SENDGRID_API_KEY": "<SENDGRID_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SENDGRID_API_KEY",
"id": "sendgrid-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"sendgrid-mcp": {
"args": [
"-y",
"sendgrid-mcp@1.4.0"
],
"command": "npx",
"env": {
"SENDGRID_API_KEY": "${input:sendgrid-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.sendgrid-mcp]
command = "npx"
args = ["-y", "sendgrid-mcp@1.4.0"]
env = { "SENDGRID_API_KEY" = "<SENDGRID_API_KEY>" }For AI agents
- Ask the user for: SENDGRID_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json