beehiiv/agents

MCP serverDatabases & data

Manage beehiiv newsletters, posts, podcasts, community, subscribers, and analytics.

Use beehiiv/agents in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add beehiiv/agents and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use beehiiv/agents

Details

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

beehiiv/agentsStart free

Install beehiiv/agents

The server’s own address, for the clients that take one directly. Or connect ahel once and every client you use reads it from one address, with the account kept on ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user beehiiv-agents 'https://mcp.beehiiv.com/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://mcp.beehiiv.com/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=beehiiv-agents&config=eyJ1cmwiOiJodHRwczovL21jcC5iZWVoaWl2LmNvbS9tY3AifQ==

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://mcp.beehiiv.com/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add beehiiv-agents --url 'https://mcp.beehiiv.com/mcp'

    Run it once, then sign in with codex mcp login beehiiv-agents if the server asks for an account.

From the project's README

As published by beehiiv/agents in README.md.

Official beehiiv tools for AI agents, built on the beehiiv MCP server.

This repository holds the plugin manifests for Claude Code, Grok Build, Gemini CLI, Cursor and Codex, plus the official MCP registry entry. They all point at the same hosted server at https://mcp.beehiiv.com/mcp. Nothing runs on your machine.

What you can do

Once connected, the agent works against your beehiiv workspace directly:

  • Posts. Draft, edit and duplicate posts and post templates. Read post content, stats, clicks, comments and per-subscriber engagement. Publishing and sending stay human actions in beehiiv, so the agent prepares the post and you press send.
  • Communities. Create channels, publish and pin posts, moderate reports, manage members and roles, send invites and direct messages, read community metrics.
  • Podcasts. Create shows and episodes, upload audio, schedule episodes, read transcripts and episode stats.
  • Automations. Build journeys, steps, triggers and automation emails, including A/B variants. Activating an automation stays a human action in the editor.
  • Audience. Manage subscriptions, segments, tags, custom fields, newsletter lists and signup flows.
  • Monetisation. Products, tiers, premium offers, orders, paywalls, the ad network and the sponsor network.
  • Growth. Recommendations, referral programs, polls and surveys.
  • Analytics. Publication and website analytics, post and podcast stats, poll and survey responses, earnings.

The server also documents itself. Ask the agent to call search_documentation, read_documentation, or any of the learn_* tools, and it fetches current guidance on post authoring and community authoring rather than guessing.

Install

Claude

beehiiv is in the Claude connector directory. Add it from the beehiiv connector page, then sign in when prompted.

ChatGPT

beehiiv is in the shared ChatGPT and Codex plugin directory. Add it from the beehiiv plugin page.

Claude Code and Cursor

/plugin marketplace add beehiiv/agents
/plugin install beehiiv@beehiiv

Grok Build

grok plugin install beehiiv/agents

Gemini CLI

gemini extensions install https://github.com/beehiiv/agents

Codex

Run /plugins, select beehiiv, then choose Install Plugin. Codex and ChatGPT share one plugin directory, so installing in either place covers both.

Or add the server to ~/.codex/config.toml by hand:

[mcp_servers.beehiiv]
url = "https://mcp.beehiiv.com/mcp"
enabled = true

Cloning this repo and trusting it also works. .codex/config.toml registers the server for sessions inside the repo.

Any other MCP client

Point it at https://mcp.beehiiv.com/mcp over Streamable HTTP. Setup snippets are in your beehiiv workspace under Settings → Workspace → MCP.

Authentication

OAuth 2.1. There is no API key to copy and no secret to store in this repo.

On first use your client registers itself automatically (RFC 7591 dynamic client registration) and opens a browser to beehiiv, where you sign in and grant access. The client receives an access token and a refresh token scoped to read and write.

Every tool call is authorised against your own beehiiv permissions. The agent can only reach publications you can already reach.

Requirements

If MCP is off for your workspace, tool calls return a permission error. See Getting started with the beehiiv MCP for the current plan requirements.

Some tool groups are gated separately, so the tools an agent sees depend on your plan and workspace settings.

Layout

.mcp.json lives at plugins/beehiiv/ and states the server URL once.
Every ecosystem manifest beside it delegates to that file.

.claude-plugin/marketplace.json     point their client at ./plugins/beehiiv
.cursor-plugin/marketplace.json
.grok-plugin/marketplace.json
plugins/beehiiv/.mcp.json           the shared server config
plugins/beehiiv/.claude-plugin/     per-ecosystem plugin manifests
plugins/beehiiv/.cursor-plugin/
plugins/beehiiv/.grok-plugin/
plugins/beehiiv/.codex-plugin/
gemini-extension.json               must sit at the repo root
server.json                         official MCP registry entry

Gemini requires its manifest at the absolute repo root and does not support delegating to a shared file, so the server URL appears there a second time.

Network endpoints and credentials

Declared for review and for anyone auditing what this plugin reaches:

EndpointPurpose
https://mcp.beehiiv.com/mcpThe MCP server. All tool calls.
https://mcp.beehiiv.com/.well-known/oauth-protected-resourceOAuth resource discovery (RFC 9728).
https://mcp.beehiiv.com/.well-known/oauth-authorization-serverOAuth server metadata (RFC 8414).
https://mcp.beehiiv.com/registerDynamic client registration (RFC 7591).
https://mcp.beehiiv.com/authorizeStarts the sign-in flow. Redirects to app.beehiiv.com.
https://mcp.beehiiv.com/tokenToken exchange and refresh.

Credentials required: a beehiiv account. The plugin requests the read and write scopes.

This repository ships no executable code beyond scripts/validate.sh, no install hooks and no local processes. The plugins are JSON manifests pointing at a hosted HTTPS endpoint.

Validate

./scripts/validate.sh

Licence

MIT. See LICENSE.

Advanced
Delivery
beehiiv MCP server → your ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
com-beehiiv-beehiiv
Source
github.com/beehiiv/agents
Hosted endpoint
https://mcp.beehiiv.com/mcp