KosmoKrator

productivity

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.

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.

Agent Surfaces

Machine-Readable Metadata

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.