productivity
Resend MCP Integration for LangChain
Connect Resend to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Resend to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Resend MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-resend": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=resend",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=resend --write=deny Why Use KosmoKrator Here
Expose only Resend instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Resend Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Resend integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__resend__resend_send_email | resend.resend_send_email | Write | Send an email through Resend. Supports HTML and plain-text content, CC, BCC, reply-to, tags for categorization, and custom email headers. Returns the sent email object including its ID. |
integration__resend__resend_get_email | resend.resend_get_email | Read | Retrieve a single email by its ID from Resend. Returns the email object including sender, recipient, subject, created_at, and delivery status. |
integration__resend__resend_list_emails | resend.resend_list_emails | Read | List emails from Resend. Supports pagination with a limit and cursor token. Returns an array of email objects and a pagination token for the next page. |
integration__resend__resend_create_api_key | resend.resend_create_api_key | Write | Create a new API key in Resend. You can set a permission scope (full_access or sending_access) and optionally restrict the key to a specific domain. Returns the created API key object including the key value. |
integration__resend__resend_list_api_keys | resend.resend_list_api_keys | Read | List all API keys in the Resend account. Returns an array of API key objects with their names, permissions, and creation dates. The actual key values are not returned for security reasons. |
integration__resend__resend_create_domain | resend.resend_create_domain | Write | Create a new domain in Resend. You can optionally specify a region for the domain (us-east-1 or eu-west-1). Returns the created domain object including DNS records that need to be configured. |
integration__resend__resend_get_domain | resend.resend_get_domain | Read | Retrieve a single domain by its ID from Resend. Returns the domain object including verification status and DNS records. |
integration__resend__resend_list_domains | resend.resend_list_domains | Read | List all domains in the Resend account. Returns an array of domain objects including their names, verification status, and regions. |
integration__resend__resend_verify_domain | resend.resend_verify_domain | Write | Trigger verification for a domain in Resend. This checks the DNS records for the domain and updates its verification status. Returns the domain object with the updated status. |
integration__resend__resend_create_contact | resend.resend_create_contact | Write | Create a contact in a Resend audience. Requires the audience ID and the contact's email address. Optionally provide first name, last name, and unsubscribed status. Returns the created contact object. |