Sample MCP Server for Amazon SES (SESv2). See [AWS blog post](https://aws.amazon.com/blogs/messaging - and-targeting/use-ai-agents-and-the-model-context-protocol-with-amazon-ses/) for more details.
This sample shows how to build a Model Context Protocol (MCP) server for Amazon Simple Email Service (SES). This server implementation exposes all public SES v2 API actions through the MCP. You can send email, access SES account resources, and more. This sample is not intended to be used in a production environment.
Clone and build the project:
git clone https://github.com/aws-samples/sample-for-amazon-ses-mcp.git
cd sample-for-amazon-ses-mcp
./build.sh
git clone https://github.com/aws-samples/sample-for-amazon-ses-mcp.git
cd sample-for-amazon-ses-mcp
.\build.bat
After building, add the server to your MCP configuration:
{
"mcpServers": {
"sesv2-mcp-server": {
"command": "java",
"args": [
"-jar",
"JAR_PATH_FROM_BUILD_OUTPUT"
]
}
}
}
The JAR_PATH_FROM_BUILD_OUTPUT
will be printed at the end of the build script.
See Amazon Q Developer documentation for configuration steps.
See Claude Desktop MCP configuration guide for setup instructions.
[ERROR] ... > Illegal char <
may be caused by incorrect line endings (CRLF vs LF). Try setting Git to use CRLF with git config --global core.autocrlf true
and cloning the repository again.See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.
The Amazon SES MCP Server is offered only as a sample. Before using an MCP Server, you should consider conducting your own independent assessment to ensure that your use would comply with your own specific security and quality control practices and standards, as well as the laws, rules, and regulations that govern you and your content.