You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+90-21Lines changed: 90 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
5
5
This 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.
6
6
7
+
As 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.
Currently, 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.
30
+
31
+
1. Clone this project locally.
26
32
27
-
1. First, you need to authorize Resend to send emails from your domain or email. Follow the steps [here](https://resend.com/docs/send-with-nodejs) to set that up and get a Resend API key.
28
-
2. Clone this project locally. Edit index.ts and replace me@yoko.dev to your own email to send emails from
29
-
3. Run `npm install`, `npm run build` under the project dir. You should now see a /build/index.js generated - this is the MCP server script!
Then go to Cursor Settings -> MCP -> Add new MCP server
45
+
Create 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).
> For more info on how to send emails with Resend, see the [docs](https://resend.com/docs/send-with-nodejs).
36
49
37
-
You can get Resend API key here: https://resend.com/
50
+
## Cursor
38
51
39
-
Now you can test out sending emails by going to email.md, replace the to: email address, select all in email md, and hit cmd+l. You can now tell cursor to "send this as an email" in the chat. Make sure Cursor chat is in Agent mode by selecting "Agent" on lower left side dropdown
52
+
1. Open Cursor Settings.
40
53
41
-
<imgwidth="441"alt="Screenshot 2025-02-25 at 9 13 05 AM"src="https://github.com/user-attachments/assets/b07e9cbf-42d8-4910-8e90-3761d8d3bc06" />
54
+
Open the command palette (`cmd`+`shift`+`p` on macOS or `ctrl`+`shift`+`p` on Windows) and choose "Cursor Settings".
42
55
43
-
**Claude desktop**
56
+
2. Add the MCP server
44
57
45
-
Same set up as above, and then add the following MCP config
58
+
Select "MCP" from the left sidebar and click "Add new global MCP server".
0 commit comments