GoodSender

Official GoodSender MCP server: publish blog posts, send newsletters and consent-based or transactional email from Claude, Claude Code, Codex and ChatGPT. Hosted (OAuth) or local.

Máy chủ MCP được lưu trữ

npx add-mcp 'https://mcp.goodsender.com/'

Cài vào Claude Code, Codex, Cursor và nhiều công cụ khác

Tài liệu

GoodSender MCP Server

Publish blog posts, send newsletters and emails from Claude, Claude Code, Codex and ChatGPT. Send consent-based email and transactional email (OTP and MFA codes), and publish blog posts on your own domain. Connect to the hosted server with OAuth and nothing to install, or run it locally with an API key.

What you can do

Ask your assistant things like:

  • "Write a post about our new release, publish it on my blog and email it to subscribers."
  • "Draft a post from these notes and show me the preview before anything goes live."
  • "Connect blog.example.com to my blog and tell me which DNS records to add."
  • "Create a custom design for my blog that matches our logo, and show me a preview first."
  • "Send a password reset code to user@example.com with the OTP template."
  • "Email the March update to the beta-users group."

Posts are always created as drafts. Before publishing, the assistant shows where the post will go (your blog, the newsletter, connected social accounts) and asks you to approve it. See Action confirmation for how approval works on the hosted and local servers. The newsletter email carries the subject, the cover image when one is set, a summary and a link to the published post, not the full post body. Transactional templates such as OTP codes send right away. Other emails wait until the recipient consents. See Email sending.

Quick start (hosted, OAuth)

Hosted server URL:

https://mcp.goodsender.com/

You sign in to GoodSender in the browser the first time the client connects. To use blog tools, you need a GoodSender workspace with a blog. To send the optional newsletter, set up its sender identity and a public blog address first.

Claude Desktop

On Free, Pro or Max: open Customize → Connectors, choose Add → Add custom connector, and enter https://mcp.goodsender.com/. Keep the sign-in option so the OAuth flow runs the first time you use the connector.

On Team or Enterprise, an organization owner first adds GoodSender in Organization settings → Connectors → Add → Custom → Web. Members can connect it after that.

Claude Code

claude mcp add --transport http goodsender https://mcp.goodsender.com/
claude mcp login goodsender

Complete the OAuth flow in the browser. Check the connection with claude mcp get goodsender, or run /mcp in an interactive session.

Codex

codex mcp add goodsender --url https://mcp.goodsender.com/
codex mcp login goodsender

The Codex CLI and IDE extension share this configuration. The login command completes the browser flow.

ChatGPT

Turn on developer mode under Settings → Apps & Connectors → Advanced settings. Create an app with the server URL https://mcp.goodsender.com/ and OAuth authentication, then sign in to GoodSender when prompted. Pick the app from the + menu in a new chat.

Publishing needs MCP apps with write actions. OpenAI offers these as a beta on Business, Enterprise and Edu workspaces, and an admin may have to allow developer mode. Other plans may connect read-only. Menu names change between ChatGPT releases.

Full guide: goodsender.com/docs/mcp.

Local install

The local server uses an API key. Create one on the API keys page of your GoodSender dashboard. Treat the key as a secret: never commit or share it.

MCP Bundle (`.mcpb` file, easiest)
  • Grab the goodsender.mcpb file from the latest release.

  • Double-click the goodsender.mcpb file to open it in your AI client.

    Note: Not every AI client supports MCP bundles or local MCP servers yet. Use a different installation method if nothing happens on double-click.

Docker image / self-hosting

Run via

docker run -d -e GOODSENDER_API_KEY=<Your API Key> -v goodsender-mcp-data:/data ghcr.io/good-sender/mcp:latest

If your goal is to run the agent using this MCP fully autonomously, set GOODSENDER_DISABLE_ACTION_GUARDS=true to skip all action confirmations completely. See Action confirmation.

or add to docker-compose.yaml on your home server

services:
  goodsender-mcp:
    image: ghcr.io/good-sender/mcp:latest
    ports:
      - "9889:9889"
    environment:
      GOODSENDER_API_KEY: <Your API Key>
      # GOODSENDER_DISABLE_ACTION_GUARDS: "true"  # skip all action confirmations
    volumes:
      - goodsender-mcp-data:/data
    restart: unless-stopped

volumes:
  goodsender-mcp-data:

and run via

docker compose up -d
Manual configuration (JSON)
  • Grab the binaries.zip file from the latest release (includes MCP goodsender-mcp-* and CLI goodsender-* binaries).

  • Unzip it somewhere you can easily reference.

  • Modify your AI client config file, adding the MCP server configuration (example for Claude Desktop and Cursor on macOS):

    {
      ...
      "mcpServers": {
        "GoodSender": {
          "command": "<path to the unzipped binaries>/goodsender-mcp-darwin-arm64",
          "env": {
            "GOODSENDER_API_KEY": "<Your API key>"
          }
        }
      }
      ...
    }
    

    For other platforms you must reference a corresponding binary instead of darwin (macOS)

    If your goal is to run the agent using this MCP fully autonomously, set GOODSENDER_DISABLE_ACTION_GUARDS=true to skip all action confirmations completely. See Action confirmation.

Environment variables

VariableRequiredMeaning
GOODSENDER_API_KEYYesYour GoodSender API key.
GOODSENDER_DISABLE_ACTION_GUARDSNotrue makes mutating tools run without a confirmation step. See Action confirmation.
GOODSENDER_TELEMETRYNofalse opts out of usage and reliability telemetry. See Telemetry & privacy.

Action confirmation

Every tool declares whether it only reads, or changes something. Tools that publish, send, delete or change live state are marked destructive, so clients such as Claude ask you before running them.

  • Hosted server (mcp.goodsender.com): that client prompt is the approval step. Tools run when you approve the call, and confirm_action is not offered.
  • Local server: action guards add a second step by default. A tool that publishes, sends, deletes or changes the live blog design returns a confirmation token instead of acting, and confirm_action runs it once you approve. Set GOODSENDER_DISABLE_ACTION_GUARDS=true in the server environment to skip that step, for example for unattended loops (scheduled agents, CI).

Email sending

GoodSender sends email as well as blog posts. Permission protects deliverability, so cold outreach is not supported. Email tools work with the hosted server and with a local server.

  • 🤝 Consent handling. Recipients you add get a consent request by email. Custom emails to a recipient without consent wait in a queue. Emails to recipients who already consented go out right away.
  • 🔁 Consent flow. You do not track consent yourself. After a recipient consents, their queued emails go out when you ask to send pending emails (send_pending_emails) or use another tool that sends email. Nothing is sent while the server is idle.
  • ✅ Transactional templates. Built-in templates send right away, without a consent step: OTP code, MFA enrollment, new device login, password changed, email changed, order receipt and order completed.
  • ✉️ Formats. Send plain text, HTML or Markdown to one or more addresses, or to whole groups.
  • 📝 Custom templates. Create and edit templates with dynamic variables. Preview them in the chat with sample data, send a test email, then save and send by template name.
  • 👥 Recipient groups. Organize recipients into groups and address a whole group by name.
  • 🏷️ Sender identities. Manage From: identities on a verified domain and refer to them by name.
  • 📊 Health metrics. Check email health metrics for each sender domain.
  • 🛡️ Where data lives. Pending emails, custom templates, recipient groups and sender identities are stored in the MCP server's database: on your machine for a local server, on the server host for the hosted connection. Sending uses the GoodSender API. Blog posts, settings and designs are stored on GoodSender servers.
Example email prompts

Add 'John Doe <john.doe@example.com>' and 'Jane Doe <jane.doe@example.com>' to the AI newsletter subscribers group

ℹ️ This will:

  • Create/update the recipients in the database
  • Add them to the "AI newsletter subscribers" recipient group, creating it if needed

Create a GoodSender template for a weekly AI news digest sent to the AI newsletter subscribers group

ℹ️ This will:

  • Create a draft email template in GoodSender format following best practices for email template creation
  • Display interactive preview of this template draft (if AI client supports it)

Increase the number of news in the digest to 5

ℹ️ Done during the template draft creation/editing, this will:

  • Modify the template accordingly
  • Display interactive preview of this template draft (if AI client supports it)

Send a test email to me: 'Good Sender <good.sender@example.com>'

ℹ️ Done during the template draft creation/editing, this will:

  • Send an email with mocked data generated from the current template draft only to you

Save the template as "Weekly AI news"

ℹ️ Done during the template draft creation/editing, this will:

  • Convert the current template draft to a persistent template stored in the MCP server's database
  • Allow sending emails just by mentioning the template name

Gather this week's AI news and send them using the "Weekly AI news" template

ℹ️ This will:

  • Create and enqueue a personalized template-based email for each recipient in the AI newsletter subscribers group
  • For all recipients who haven't received an email with consent request, will request their consent for receiving emails from you
  • Send emails to all recipients who granted their email consent
  • Keep the other emails queued; they go out after the recipient consents, when you send pending emails
Example 1 Example 2

Tools

Blog and newsletter

ToolWhat it does
Posts and newsletter
list_postsList all posts, drafts and published, with the blog's byline and taxonomy.
get_postGet one post, including its markdown body.
create_postCreate a draft post. It never publishes or sends.
edit_postChange a draft or published post.
delete_postPermanently delete a post.
create_post_previewCreate a signed preview URL for a draft or published post.
upload_post_imageUpload an image (JPEG, PNG, GIF or WebP) for a post and get back its URL.
get_post_distributionShow where a post goes when published: the newsletter and the dev.to, X, LinkedIn, Bluesky and Mastodon destinations.
set_post_distributionChoose those destinations and review their text, newsletter subject and summary.
publish_postPublish the post to the public blog, then act on its distribution plan.
send_post_testSend a test email of the post to one inbox.
broadcast_postEmail a published post's newsletter to consented subscribers, at most once per post.
reannounce_postPost a published post to one announce destination (X, LinkedIn, Bluesky or Mastodon) again.
Blog settings and custom domain
get_blogGet blog settings (title, description, sender, theme, custom domain) and whether a custom design is live.
update_blogCreate or change blog settings, including SEO title and description.
connect_blog_domainClaim a custom hostname for the blog and get the DNS records to add.
get_blog_custom_domainCheck custom domain status and DNS targets.
remove_blog_custom_domainRemove the blog's custom domain.
Blog design
blog_design_template_formatDocumentation for the blog design template format.
blog_design_listList saved designs, flagging the active one and the stock one.
blog_design_createCreate a new design from templates and images.
blog_design_editEdit a design's templates.
blog_design_get_latest_checkpointGet the latest version of a design.
blog_design_checkpoint_listList the versions of a design.
blog_design_checkpoint_restoreGo back to an earlier version, deleting the newer ones.
blog_design_saveKeep a version and delete the older ones.
blog_design_activateMake a saved design the live design of the blog.
blog_design_image_upload_urlGet an upload URL for a logo or favicon.

Email

ToolWhat it does
Sending
enqueue_emailQueue an email in plain text, HTML or Markdown to addresses or groups. It is sent once the recipient consents.
enqueue_template_emailQueue a template-based email. It is sent once the recipient consents.
send_consentless_emailSend a built-in transactional template (OTP code, MFA enrollment, new device login, password or email changed, order receipt or completion) right away.
send_pending_emailsSend queued emails whose recipients have consented since they were queued.
send_template_draft_test_emailSend a test email from a template draft to one recipient.
Templates
template_formatDocumentation for the email template format.
create_template_draftStart a new template draft.
edit_templateEdit a template or draft with search-and-replace changes.
get_templateGet a saved template by name.
get_template_contentGet a template's current content, including unsaved edits.
render_template_previewRender a template preview with sample data.
save_templateSave a template draft.
list_templatesList email templates.
delete_templateDelete a template and the emails created from it.
Recipients and groups
create_recipientsAdd recipients and request their consent.
list_recipientsList recipients with group memberships and their last known consent status.
edit_recipientChange a recipient's display name.
delete_recipientsPermanently delete recipients and their emails.
create_groupCreate a recipient group.
list_groupsList recipient groups.
add_group_membersAdd recipients to a group.
remove_group_membersRemove recipients from a group.
Senders
create_sender_identityCreate a From: identity on a verified domain.
edit_sender_identityChange a sender identity's display name.
list_sender_identitiesList sender identities and whether each domain is verified.
check_sender_domain_statsShow email health metrics for each sender domain. Read-only.
Action confirmation (blog and email)
confirm_actionRun an action you approved, for both blog and email tools. Present only on a local server with action guards on (see Action confirmation).

FAQ

Is there a blog platform with an official MCP server? Yes. GoodSender publishes this server for its blog platform. Connect the hosted server at https://mcp.goodsender.com/ with OAuth, or run it locally. See the MCP connection guide.

How do I publish a blog post from Claude Code? Add the server with claude mcp add --transport http goodsender https://mcp.goodsender.com/ and sign in with claude mcp login goodsender. Then ask Claude Code to draft the post, show the preview and publish it. The MCP connection guide walks through your first publish.

Can Codex publish posts to my blog on my own domain? Yes. Connect Codex with codex mcp add goodsender --url https://mcp.goodsender.com/, then ask it to connect your domain. It returns the DNS records you add at your DNS provider, and published posts appear at that address. Setup steps are in the MCP connection guide.

Can it send the post as a newsletter at the same time? Yes. Select the newsletter in the post's distribution, and publishing emails it to subscribers who have given consent. The blog needs a sending domain, a From: address and a public address first. The email has the subject, the cover image when one is set, a summary and a link to the post, not the full body. See how publishing from Claude and ChatGPT works.

How do I send email from Claude or Claude Code? Connect the server as in Quick start, then ask for the email in plain words, for example "Email the March update to the beta-users group." Recipients who already consented get it right away. Anyone else gets a consent request, and the email goes out after they consent, when you send pending emails.

Which emails skip consent (transactional/OTP)? Only the built-in transactional templates: OTP code, MFA enrollment, new device login, password changed, email changed, order receipt and order completed. send_consentless_email sends them right away. Custom emails and custom templates always wait for consent.

How it compares

For side-by-side comparisons with other blog and newsletter platforms, see GoodSender vs WordPress, Ghost, beehiiv and Hashnode.

Telemetry & privacy

Telemetry is enabled by default. MCP server sends aggregate usage and reliability metrics to GoodSender to help improve the product.

Typical signals include:

  • MCP tool names, call counts, and latency.
  • Success and error rates.
  • Short error excerpts on failures.
  • Background job error codes and frequency.

We do not intentionally collect email bodies, recipient addresses, or template contents as part of this telemetry.

You can opt out of telemetry collection by setting GOODSENDER_TELEMETRY=false in the MCP server environment.

See the GoodSender Privacy Policy for how personal data is handled by the service.

Links