KosmoKrator

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_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

SparkPost MCP Client Matrix

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

SparkPost CLI Matrix

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

Function Catalog

FunctionTypeParametersDescription
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.