{"id":26696208,"url":"https://github.com/resend/mcp-send-email","last_synced_at":"2025-10-08T12:59:05.552Z","repository":{"id":279461913,"uuid":"937958453","full_name":"resend/mcp-send-email","owner":"resend","description":"Send emails directly from Cursor with this email sending MCP server","archived":false,"fork":false,"pushed_at":"2025-07-10T17:54:58.000Z","size":34,"stargazers_count":409,"open_issues_count":16,"forks_count":55,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-02T11:49:02.722Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/resend.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-24T07:36:06.000Z","updated_at":"2025-10-02T04:24:27.000Z","dependencies_parsed_at":"2025-02-25T18:24:37.832Z","dependency_job_id":"8485e31e-2465-49bb-ad67-4be18e81cdc5","html_url":"https://github.com/resend/mcp-send-email","commit_stats":null,"previous_names":["ykhli/mcp-send-email","resend/mcp-send-email"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/resend/mcp-send-email","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fmcp-send-email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fmcp-send-email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fmcp-send-email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fmcp-send-email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/resend","download_url":"https://codeload.github.com/resend/mcp-send-email/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fmcp-send-email/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278948022,"owners_count":26073748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-26T20:01:39.981Z","updated_at":"2025-10-08T12:59:05.547Z","avatar_url":"https://github.com/resend.png","language":"TypeScript","funding_links":[],"categories":["📚 Projects (1974 total)","TypeScript","Communication","Email and Messaging","🎯 Marketing / Growth"],"sub_categories":["MCP Servers","How to Submit","Email Marketing \u0026 Sequences"],"readme":"# Email sending MCP 💌\n\n[![smithery badge](https://smithery.ai/badge/@resend/mcp-send-email)](https://smithery.ai/server/@resend/mcp-send-email)\n\nThis is a simple MCP server that sends emails using Resend's API. Why? Now you can let Cursor or Claude Desktop compose emails for you and send it right away without having to copy and paste the email content.\n\nAs an example, you could use this to run local scripts, chat with Claude, or process data and send the results to yourself or your team.\n\nBuilt with:\n\n- [Resend](https://resend.com/)\n- [Anthropic MCP](https://docs.anthropic.com/en/docs/agents-and-tools/mcp)\n- [Cursor](https://cursor.so/)\n\n## Features\n\n- Send plain text and HTML emails\n- Schedule emails for future delivery\n- Add CC and BCC recipients\n- Configure reply-to addresses\n- Customizable sender email (requires verification)\n- List Resend audiences\n\n## Demo\n\nhttps://github.com/user-attachments/assets/8c05cbf0-1664-4b3b-afb1-663b46af3464\n\n## Setup\n\nCurrently, you must build the project locally to use this MCP server. Then add the server in [Cursor](#cursor) or [Claude Desktop](#claude-desktop) to use it in any Cursor or Claude Desktop chat.\n\n1. Clone this project locally.\n\n```\ngit clone https://github.com/resend/mcp-send-email.git\n```\n\n2. Build the project\n\n```\nnpm install\nnpm run build\n```\n3. Setup Resend\n\nCreate a free Resend account and [Create an API Key](https://resend.com/api-keys). To send to other addresses, you'll also need to [verify your own domain](https://resend.com/domains).\n\n\u003e [!NOTE]\n\u003e For more info on how to send emails with Resend, see the [docs](https://resend.com/docs/send-with-nodejs).\n\n## Cursor\n\n1. Open Cursor Settings.\n\nOpen the command palette (`cmd`+`shift`+`p` on macOS or `ctrl`+`shift`+`p` on Windows) and choose \"Cursor Settings\".\n\n2. Add the MCP server\n\nSelect \"MCP\" from the left sidebar and click \"Add new global MCP server\".\n\nAdd the following config:\n```json\n{\n  \"mcpServers\": {\n    \"resend\": {\n      \"type\": \"command\",\n      \"command\": \"node ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js --key=YOUR_RESEND_API_KEY\"\n    }\n  }\n}\n```\n\nYou can get the absolute path to your build script by right-clicking on the `/build/index.js` file in Cursor and selecting `Copy Path`.\n\n**Possible arguments**\n\n- `--key`: Your Resend API key (required)\n- `--sender`: Your sender email address from a verified domain (optional)\n- `--reply-to`: Your reply-to email address (optional)\n\n\u003e [!NOTE]\n\u003e If you don't provide a sender email address, the MCP server will ask you to provide one each time you call the tool.\n\n3. Test the sending\n\nNow you can test out sending emails by going to `email.md`.\n- Replace the to: email address with your own\n- Select all text in `email.md`, and press `cmd+l`\n- Tell cursor to \"send this as an email\" in the chat (make sure cursor is in Agent mode by selecting \"Agent\" on lower left side dropdown).\n\n\u003cimg width=\"441\" alt=\"Cursor chat with email.md file selected and Agent mode enabled\" src=\"https://github.com/user-attachments/assets/b07e9cbf-42d8-4910-8e90-3761d8d3bc06\" /\u003e\n\n## Claude Desktop\n\n1. Open Claude's Developer config file\n\nOpen Claude Desktop settings and navigate to the \"Developer\" tab. Click `Edit Config`.\n\n2. Add the MCP server\n\nAdd the following config:\n\n```json\n{\n  \"mcpServers\": {\n    \"resend\": {\n      \"command\": \"node\",\n      \"args\": [\n        \"ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js\"\n      ],\n      \"env\": {\n        \"RESEND_API_KEY\": \"YOUR_RESEND_API_KEY\",\n      }\n    }\n  }\n}\n```\n\nYou can get the absolute path to your build script by right-clicking on the `/build/index.js` file in your IDE and selecting `Copy Path`.\n\n**Possible environment variables**\n\n- `RESEND_API_KEY`: Your Resend API key (required)\n- `SENDER_EMAIL_ADDRESS`: Your sender email address from a verified domain (optional)\n- `REPLY_TO_EMAIL_ADDRESS`: Your reply-to email address (optional)\n\n\u003e [!NOTE]\n\u003e If you don't provide a sender email address, the MCP server will ask you to provide one each time you call the tool.\n\n3. Test the sending\n\nClose and reopen Claude Desktop. Verify that the `resend` tool is available in the Claude developer settings.\n\n![Claude Desktop developer settings with Resend MCP server showing](https://github.com/user-attachments/assets/be9549e5-eaef-4946-b10a-e708c1864acf)\n\nChat with Claude and tell it to send you an email using the `resend` tool.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresend%2Fmcp-send-email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fresend%2Fmcp-send-email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresend%2Fmcp-send-email/lists"}