marketing
SparkPost MCP, CLI, and Lua Integration for AI Agents
SparkPost integration docs for AI agents: MCP gateway setup, SparkPost CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write API key auth
SparkPost 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
spark-post- route_slug
spark-post- package
spark-post- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. SparkPost CLIHeadless setup and direct function calls. SparkPost MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
SparkPost MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for SparkPost.
Claude Code SparkPost MCP setup for Claude Code. Cursor SparkPost MCP setup for Cursor. Codex SparkPost MCP setup for Codex. OpenAI Agents SparkPost MCP setup for OpenAI Agents SDK. Claude Agent SDK SparkPost MCP setup for Claude Agent SDK. Vercel AI SDK SparkPost MCP setup for Vercel AI SDK. LangChain SparkPost MCP setup for LangChain. LangGraph SparkPost MCP setup for LangGraph. CrewAI SparkPost MCP setup for CrewAI. MCP clients SparkPost MCP setup for Generic MCP Clients.
SparkPost CLI Matrix
Use these pages for direct SparkPost CLI workflows in scripts, CI, cron, and agent wrappers.
CI SparkPost CLI for CI. Cron Jobs SparkPost CLI for cron jobs. Shell Scripts SparkPost CLI for shell scripts. Headless Automation SparkPost CLI for headless automation. Coding Agents SparkPost CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
spark-post.spark_post_list_sending_domains | Read read | 1 | List sending domains configured in SparkPost. Returns domain names along with verification and DKIM signing status. |
spark-post.spark_post_get_sending_domain | Read read | 1 | Get details for a specific sending domain in SparkPost. Returns verification status, DKIM signing info, and SPF records. |
spark-post.spark_post_list_templates | Read read | 2 | List email templates in SparkPost. Returns template IDs, names, and published status. |
spark-post.spark_post_get_template | Read read | 2 | Get a specific email template by ID from SparkPost. Can retrieve the draft or published version. |
spark-post.spark_post_send_transmission | Write write | 2 | Send an email transmission via SparkPost. Provide sender address, subject, content (HTML and/or text), and a list of recipients. |
spark-post.spark_post_list_webhooks | Read read | 2 | List webhooks configured in SparkPost. Returns webhook IDs, target URLs, and subscribed event types. |
spark-post.spark_post_get_current_user | Read read | 0 | Get current SparkPost account information. Returns account status, subscription plan, and usage details. |