Back to Home
garethcull icon

sendgrid-mcp

Verified Safe

by garethcull

Overview

Automates SendGrid email template management, creation, and performance analytics for AI assistants and MCP clients via a Flask server.

Installation

Run Command
export FLASK_APP=app.py && flask run --host 0.0.0.0 --port 8080

Environment Variables

  • MCP_TOKEN
  • SENDGRID_API_KEY

Security Notes

The server uses environment variables (MCP_TOKEN, SENDGRID_API_KEY) for secrets, which is good practice. It implements basic Bearer token authorization for the /mcp endpoint. No direct use of 'eval' or similar dangerous functions is observed. Input schemas are defined with 'additionalProperties: False', which helps limit unexpected arguments. The main security considerations are ensuring the SENDGRID_API_KEY has appropriate, least-privileged permissions and securing the MCP_TOKEN from unauthorized access. The conversion of tool results to 'str(data)' before sending to the client could potentially expose raw SendGrid API responses, which may contain sensitive details depending on the API response and the permissions of the key.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-11-24

Tags

SendGridMCPEmail MarketingAnalyticsAI AssistantTemplate Management