﻿![]()

#### 

#### Introduction

As LLMs become more popular, they face two main challenges: their knowledge is restricted to what they were trained
on (with a knowledge cut-off), and their ability to interact with external tools is often limited. 

**Model Context Protocol (MCP) Servers** address these issues by providing a unified interface for LLMs
to communicate with custom APIs, enabling you to supply additional context and tools to the models.

For easy integration with Sitecore Send, I've created a [Sitecore Send MCP Server](https://github.com/izharikov/send-mcp).

In this article, I will show the details of the Sitecore Send MCP Server and provide an example of its usage.

#### Sitecore Send MCP Server (My Implementation)

My implementation of the **Sitecore Send MCP Server** can be found here: 

- [github](https://github.com/izharikov/send-mcp)
- [npm](https://www.npmjs.com/package/send-mcp)

Currently, the following tools are available:

- `send_smtp_email` - send an email using SMTP
- `get_lists` - get email lists
- `get_list_members` - get email list members
- `add_list_member` - add a subscriber to an email list
- `remove_list_member` - remove a subscriber from an email list
- `send_transactional_email` - send an email using the transactional email service

Use the following JSON to add the server to any LLM client supporting MCP (GitHub Copilot, Claude, or [any other client](https://modelcontextprotocol.io/clients)):

```
{
    "send-mcp": {
        "command": "npx",
        "args": [
            "send-mcp"
        ],
        "env": {
            "API_KEY": "xxxxx",
            "TRANSACTIONAL_EMAILS_CAMPAIGN_ID": "xxxxx",
            "SMTP_ENABLED": "true",
            "SMTP_FROM": "xxxxx",
            "SMTP_USER": "xxxxx",
            "SMTP_PASSWORD": "xxxxx"
        }
    }
}
```

#### Connecting to the MCP server

For the LLM client, I use [5ire](https://5ire.app) (which, of course, supports MCP).

MCP currently supports [two transports](https://modelcontextprotocol.io/docs/concepts/transports):

- `stdio` - connect to the server using standard input and output (run the server locally)
- Streamable HTTP - uses HTTP POST requests for client-to-server communication and optional Server-Sent Events
    (SSE) streams for server-to-client communication (connect to a remote server)

##### `stdio` transport

If you are using the `stdio` mode, you can connect to the server using the following command:

Command:

```
npx -y send-mcp
```

The actual list of environment variables can be observed [here](https://github.com/izharikov/send-mcp?tab=readme-ov-file#environment-variables).

![connect to MCP stdio option](https://www.brimit.com/-/media/images/blog/sitecore-send/ai/connect-to-mcp-stdio.png)

##### Streamable HTTP transport

If you are using the Streamable HTTP mode, you can start the server and connect to it.

1. Create a `.env` file:

    ```
    # required properties
    API_KEY=[Sitecore Send API Key]
    TRANSACTIONAL_EMAILS_CAMPAIGN_ID=[Transactional Emails Campaign ID]
    # if you want to use SMTP
    SMTP_ENABLED=true
    SMTP_FROM=[SMTP email from]
    SMTP_USER=[SMTP connection user]
    SMTP_PASSWORD=[SMTP connection password]
    
    # optional properties: these are default values, but you can overwrite them
    SMTP_HOST=smtp.mailendo.com
    SMTP_PORT=25
    API_BASE_URL=https://api.sitecoresend.io/v3
    ```
2. Start the server:

    ```
    npx send-mcp http --port 3000
    ```
3. Connect to the server:

URL to connect (port is specified in CLI, 3000 by default):

```
http://localhost:3000/mcp
```

![connect to MCP using http option](https://www.brimit.com/-/media/images/blog/sitecore-send/ai/connect-to-mcp-http.png)

##### Retrieve lists and subscribers information

![query information](https://www.brimit.com/-/media/images/blog/sitecore-send/ai/ask-information.png)

##### Sending an email

As we have the tools `send_smtp_email` and `send_transactional_email`, we can ask the LLM to
generate and send an email to a particular subscriber.

Here is an example. When we ask to send an email, the LLM chooses the correct tool and executes it.

![LLM invokes MCP tool to send an email](https://www.brimit.com/-/media/images/blog/sitecore-send/ai/mcp-tool-invocation.png)

When the email is sent, we get information about it.

![the message from LLM, that email is sent](https://www.brimit.com/-/media/images/blog/sitecore-send/ai/mcp-send-email.png)

The email itself looks like this:

![email generated by LLM and sent using Sitecore Send MCP server](https://www.brimit.com/-/media/images/blog/sitecore-send/ai/generated-email.png)

#### Implementation details:

- Language: `TypeScript`
- Framework used: [FastMCP](https://github.com/punkpeye/fastmcp)
- Sitecore Send API Client in TypeScript: [git](https://github.com/izharikov/send-client) or [npm](https://www.npmjs.com/package/send-client)

#### Conclusion

As I just showed, with an MCP server it's possible (and easy!) to connect any LLM to your Sitecore Send instance
and use it to get lists and subscriber information, send emails, and much more.

If you have any ideas how this MCP server can be improved, please let me know ([email](mailto:zharikovigor97@gmail.com) me or find me in Sitecore Slack).

###### More From Author

[##### Sitecore Marketplace SDK Integration with Vercel AI SDK
February 25, 2026](https://www.brimit.com/blog/sitecore-marketplace-sdl-integration-with-vercel-ai-sdk)[##### Sitecore Marketplace Updates (December 2025)
December 16, 2025](https://www.brimit.com/blog/sitecoreai-marketplace-december-updates)[##### SitecoreAI, Marketer MCP, Agents API, Marketplace — Sitecore Symposium 2025 Recap
November 11, 2025](https://www.brimit.com/blog/sitecoreai-mcp-marketplace-symposium2025-recap)

###### Author

[!\[Igor Zharikov - Senior Sitecore Developer, Sitecore MVP\](https://www.brimit.com/-/jssmedia/feature/blogs/authors/igor-zharikov-2.jpg?h=700&amp;iar=0&amp;w=700&amp;hash=292A84E8CB3E5CE57CA743385CFB1464)
Igor Zharikov
Sitecore MVP / Senior Sitecore Developer](https://www.brimit.com/blog/author?authors=Igor%20Zharikov)

#### More on Sitecore

[!\[How Vercel Will Help You Save Effort When Deploying Sophisticated Sitecore Projects\](https://www.brimit.com/-/jssmedia/project/brimit/blog/2024/vercel_cover-image.png)
#Guides#How-toDXPE-commerce
##### How Vercel Will Help You Save Effort When Deploying Sophisticated Sitecore Projects
Optimize and accelerate the development and deployment of complex multisite Sitecore projects.
Alexei Vershalovich on July 17, 2024](https://www.brimit.com/blog/how-vercel-will-help-you-save-effort-when-deploying-sophisticated-sitecore-projects)

[!\[Training Up Tomorrow's Sitecore MVPs: a Mentoring Success Story\](https://www.brimit.com/-/jssmedia/project/brimit/blog/2023/sitecore-mentoring---cover-image.png)
#How-toDXP
##### Training Up Tomorrow's Sitecore MVPs: a Mentoring Success Story
How to participate in the Sitecore Mentor program and help younger colleagues jump-start a career in Sitecore development.
Sergey Baranov on October 2, 2023](https://www.brimit.com/blog/training-up-tomorrows-sitecore-mvps)

[!\[Going Headless. Part 2: When a Headless CMS Is Your Best Bet (if you have Sitecore)\](https://www.brimit.com/-/jssmedia/project/brimit/blog/2022/headless/adobestock_456986731.jpg)
#How-toDXPE-commerce
##### Going Headless. Part 2: When a Headless CMS Is Your Best Bet (if you have Sitecore)
Discover how a headless CMS can benefit organizations that use Sitecore.
Daniil Raschupkin, Palina Trokhautsava on September 15, 2022](https://www.brimit.com/blog/going-headless-part-2-when-a-headless-cms-is-your-best-bet-if-you-have-sitecore)

![](https://bat.bing.net/action/0?ti=187017043&amp;tm=gtm002&amp;Ver=2&amp;mid=15939eee-0730-44e0-aef4-d0299b738884&amp;bo=2&amp;gtm_tag_source=1&amp;pi=0&amp;lg=en-US&amp;sw=800&amp;sh=600&amp;sc=24&amp;nwd=1&amp;tl=Unlocking%20Sitecore%20Send%20for%20LLMs%20via%20the%20MCP%20Server&amp;kw=Sitecore%20Send,%20LLM,%20MCP%20Server,%20Model%20Context%20Protocol,%20AI%20integration,Sitecore,transactional%20email,%20SMTP&amp;p=https%3A%2F%2Fwww.brimit.com%2Fblog%2Fsitecore-send-ai-mcp-server&amp;r=&amp;lt=311&amp;evt=pageLoad&amp;sv=2&amp;asc=D&amp;cdb=AQAY&amp;rn=747855)