
Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Официальный сервер MCP для отправки писем и взаимодействия с Resend
Обзор
Подключите вашего AI-агента к платформе Resend. Отправляйте и получайте письма, управляйте контактами, трансляциями, доменами и другим напрямую от любого MCP-клиента, такого как Claude, Cursor или Claude Code. Мы предлагаем как удалённый MCP-сервер, размещённый Resend, так и локальный MCP-сервер (этот пакет). Подключите любой MCP-клиент, поддерживающий удалённые серверы (Streamable HTTP). Нечего устанавливать и нет локального процесса для запуска, что делает его лучшим вариантом для веб-клиентов, таких как Claude, и хостинговых агентов. Когда вы подключаетесь, ваш клиент открывает окно браузера, чтобы войти в систему для повторной отправки и одобрения доступа через OAuth. Затем запустите /mcp в Claude Code и выберите завершение входа в OAuth. В Claude (веб или десктоп) откройте > > и введите: Откройте палитру команд и выберите «Настройки курсора» > «MCP» > «Добавить новый глобальный сервер MCP». Чтобы использовать GitHub Copilot в VS Code, добавьте в settings.json следующее:
Обзор (машинный перевод)
Подключите вашего AI-агента к платформе Resend. Отправляйте и получайте письма, управляйте контактами, трансляциями, доменами и другим напрямую от любого MCP-клиента, такого как Claude, Cursor или Claude Code.
Мы предлагаем как удалённый MCP-сервер, размещённый Resend, так и локальный MCP-сервер (этот пакет).
Удалённый MCP-сервер
Resend размещает MCP-сервер по адресу:
Подключите любой MCP-клиент, поддерживающий удалённые серверы (Streamable HTTP). Нечего устанавливать и нет локального процесса для запуска, что делает его лучшим вариантом для веб-клиентов, таких как Claude, и хостинговых агентов.
Когда вы подключаетесь, ваш клиент открывает окно браузера, чтобы войти в систему для повторной отправки и одобрения доступа через OAuth.
Код Клода
Затем запустите /mcp в Claude Code и выберите **resend ** для завершения входа в OAuth.
Клод
В Claude (веб или десктоп) откройте Настройки > Connectors > Добавить пользовательский разъём и введи:
Курсор
Откройте палитру команд и выберите «Настройки курсора» > «MCP» > «Добавить новый глобальный сервер MCP».
Кодекс
Второй пилот
Чтобы использовать GitHub Copilot в VS Code, добавьте следующее в ваш settings.json:
Виндсерфинг
Варп
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Resend MCP Server
Connect your AI agent to the Resend platform. Send and receive emails, manage contacts, broadcasts, domains, and more, directly from any MCP client like Claude, Cursor, or Claude Code.
We offer both a remote MCP server hosted by Resend and a local MCP server (this package).
Remote MCP Server
Resend hosts the MCP server at:
https://mcp.resend.com/mcp
Connect any MCP client that supports remote servers (Streamable HTTP). There’s nothing to install and no local process to run, which makes it the best option for web-based clients like Claude and hosted agent platforms.
When you connect, your client opens a browser window to log in to Resend and approve access using OAuth.
Claude Code
claude mcp add --transport http resend https://mcp.resend.com/mcp
Then run /mcp in Claude Code and select resend to complete the OAuth login.
Claude
In Claude (web or desktop), open Settings > Connectors > Add custom connector and enter:
https://mcp.resend.com/mcp
Cursor
Open the command palette and choose “Cursor Settings” > “MCP” > “Add new global MCP server”.
{
"mcpServers": {
"resend": {
"url": "https://mcp.resend.com/mcp"
}
}
}
Codex
codex mcp add resend --url https://mcp.resend.com/mcp
Copilot
To use GitHub Copilot in VS Code, add the following to your settings.json:
{
"mcp": {
"servers": {
"resend": {
"type": "http",
"url": "https://mcp.resend.com/mcp"
}
}
}
}
Windsurf
{
"mcpServers": {
"resend": {
"serverUrl": "https://mcp.resend.com/mcp"
}
}
}
Warp
In Warp’s Settings, navigate to Agents > MCP servers, and click +Add to add a new server.
{
"resend": {
"serverUrl": "https://mcp.resend.com/mcp"
}
}
Authenticating with an API key
If your client runs somewhere a browser login isn’t possible (a server, CI, or a headless agent), pass a Resend API key as a Bearer token instead of using OAuth.
Claude Code:
claude mcp add --transport http resend https://mcp.resend.com/mcp --header "Authorization: Bearer re_xxxxxxxxx"
JSON config (Cursor, Windsurf, and others), add an Authorization header:
{
"mcpServers": {
"resend": {
"url": "https://mcp.resend.com/mcp",
"headers": {
"Authorization": "Bearer re_xxxxxxxxx"
}
}
}
}
Local MCP Server
The hosted server runs the same open-source code that’s available on NPM as resend-mcp. If you prefer to run the server yourself, you can integrate it into any supported MCP client using npx. You’ll need to:
Установка
npx -y resend-mcpКонфигурация
{
"mcpServers": {
"resend": {
"url": "https://mcp.resend.com/mcp"
}
}
}