KosmoKrator

communication

SendGrid MCP, CLI, and Lua Integration for AI Agents

SendGrid integration docs for AI agents: MCP gateway setup, SendGrid CLI commands, Lua API reference, credentials, and function schemas.

7 functions 6 read 1 write API key auth

SendGrid for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
sendgrid
route_slug
sendgrid
package
sendgrid
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

SendGrid MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for SendGrid.

SendGrid CLI Matrix

Use these pages for direct SendGrid CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
sendgrid.sendgrid_list_contacts Read read 2 List contacts in your SendGrid marketing contacts database. Supports pagination.
sendgrid.sendgrid_send_email Write write 5 Send an email via SendGrid. Specify sender, recipients, subject, and HTML or text content.
sendgrid.sendgrid_get_contact Read read 1 Get details of a specific contact in SendGrid by their contact ID. Returns email, custom fields, and list memberships.
sendgrid.sendgrid_get_current_user Read read 0 Get the profile of the currently authenticated SendGrid user, including email, first name, and last name.
sendgrid.sendgrid_get_template Read read 1 Get details of a specific email template in SendGrid by its ID. Returns template name, versions, and active version content.
sendgrid.sendgrid_list_emails Read read 2 List emails in your SendGrid account. Supports filtering by query and pagination.
sendgrid.sendgrid_list_templates Read read 2 List email templates in your SendGrid account. Supports pagination.