trycourier/courier-mcp

šŸ’¬ Communication
0 Views
0 Installs

šŸŽ–ļø šŸ’¬ ā˜ļø šŸ› ļø šŸ“‡ šŸ¤– - Build multi-channel notifications into your product, send messages, update lists, invoke automations, all without leaving your AI coding space.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "trycourier-courier-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "trycourier-courier-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

Courier MCP Server

The official Model Context Protocol (MCP) server for the Courier notification API. It gives AI agents full access to the Courier API — send messages, manage profiles, debug deliveries, configure lists, and more — through 124 tools backed by the @trycourier/courier Node SDK.

Install

Hosted (recommended)

Courier runs a hosted MCP server at https://mcp.courier.com. No local setup required.

Install in Cursor

Cursor — add to .cursor/mcp.json:

{
  "mcpServers": {
    "Courier": {
      "url": "https://mcp.courier.com",
      "headers": {
        "api_key": "YOUR_COURIER_API_KEY"
      }
    }
  }
}

Claude Code:

claude mcp add Courier --transport http --url https://mcp.courier.com --header "api_key: YOUR_COURIER_API_KEY"

Claude Desktop — add to claude_desktop_config.json:

{
  "mcpServers": {
    "Courier": {
      "url": "https://mcp.courier.com",
      "headers": {
        "api_key": "YOUR_COURIER_API_KEY"
      }
    }
  }
}

Local development

git clone https://github.com/trycourier/courier-mcp.git
cd courier-mcp
sh dev.sh

Then point your IDE at http://localhost:3000 with the same config format above.

Tools

123 default tools organized by API resource, plus 1 diagnostic tool available in local installs.

Default tools

CategoryTools
Sendsend_message, send_message_template, send_message_to_list, send_message_to_list_template
Messageslist_messages, get_message, get_message_content, get_message_history, cancel_message
Profilesget_user_profile_by_id, create_or_merge_user, replace_profile, patch_profile, delete_profile, get_user_list_subscriptions, subscribe_user_to_lists, delete_user_list_subscriptions
Listslist_lists, get_list, get_list_subscribers, create_list, delete_list, restore_list, subscribe_user_to_list, unsubscribe_user_from_list, bulk_subscribe_to_list, add_subscribers_to_list
Audiencesget_audience, list_audience_members, list_audiences, update_audience, delete_audience
Notificationslist_notifications, get_notification, get_notification_content, get_notification_draft_content, create_notification, replace_notification, archive_notification, publish_notification, list_notification_versions, list_notification_checks, update_notification_checks, put_notification_content, put_notification_element, put_notification_locale, cancel_notification_submission
Brandscreate_brand, get_brand, list_brands, update_brand, delete_brand
Authgenerate_jwt_for_user
Device Tokenslist_user_push_tokens, get_user_push_token, create_or_replace_user_push_token, bulk_add_user_tokens, patch_user_token, delete_user_token
Docscourier_installation_guide
Automationsinvoke_automation_template, invoke_ad_hoc_automation, list_automations, cancel_automation
Bulkcreate_bulk_job, add_bulk_users, run_bulk_job, get_bulk_job, list_bulk_users
Audit Eventsget_audit_event, list_audit_events
Inboundtrack_inbound_event
Tenantsget_tenant, create_or_update_tenant, list_tenants, delete_tenant, list_tenant_users, update_tenant_preference, delete_tenant_preference, list_tenant_templates, get_tenant_template, replace_tenant_template, publish_tenant_template, get_tenant_template_version, delete_tenant_template
Usersget_user_preferences, get_user_preference_topic, update_user_preference_topic, list_user_tenants, add_user_to_tenant, remove_user_from_tenant, bulk_add_user_tenants, remove_all_user_tenants
Routing Strategiescreate_routing_strategy, get_routing_strategy, replace_routing_strategy, archive_routing_strategy, list_routing_strategies, list_routing_strategy_notifications
Journeyslist_journeys, invoke_journey, create_journey, get_journey, replace_journey, publish_journey, archive_journey, list_journey_versions, list_journey_templates, create_journey_template, get_journey_template, replace_journey_template, archive_journey_template, publish_journey_template, list_journey_template_versions
Requestsarchive_request
Providerslist_providers, get_provider, list_provider_catalog, create_provider, update_provider, delete_provider
Translationsget_translation, update_translation

Diagnostic tools (local only)

CategoryTools
Configget_environment_config — check which API key, base URL, and package version the MCP session is using

Safer defaults (optional client policies)

Tools that send live traffic, carry destructiveHint in MCP annotations, or mutate provider integrations are listed in code as RECOMMENDED_CLIENT_DISABLED_TOOLS (source). Export it from @trycourier/courier-mcp if you want to drive codegen or docs. Teams typically paste subsets into Claude Code (permissions.deny / mcp__<serverName>__<toolName>) or Codex ([mcp_servers.<name>.disabled_tools] in config.toml). This does not change hosted MCP behavior until each client applies its own policy.

Architecture

courier-mcp/
ā”œā”€ā”€ mcp/                    # MCP package (@trycourier/courier-mcp on npm)
│   └── src/
│       ā”œā”€ā”€ index.ts        # CourierMcp server class
│       ā”œā”€ā”€ policy/         # Optional client policy helpers (e.g. recommended disable list)
│       ā”œā”€ā”€ tools/          # Tool definitions (one file per API resource)
│       └── utils/          # Config, error handling, registry
ā”œā”€ā”€ server/                 # Express server (hosts the MCP package via HTTP)
│   └── src/index.ts        # Stateless HTTP handler
└── dev.sh                  # Local development launcher

The MCP package uses the official @trycourier/courier Node SDK (Stainless-generated) for all API calls. The SDK stays in sync with the Courier API spec automatically, so tool implementations are thin wrappers with proper error handling.

Configuration

HeaderRequiredDescription
api_keyYesYour Courier API key. Get one at app.courier.com/settings/api-keys.
base_urlNoOverride the API base URL. Defaults to https://api.courier.com.

Development

# Install dependencies
cd mcp && npm install && cd ../server && npm install && cd ..

# Start development server
sh dev.sh

# Run tests
cd mcp && npm test

# Build
cd mcp && npm run build

SDK dependency updates

The @trycourier/courier SDK dependency in mcp/ is updated automatically via Dependabot. Dependabot checks npm daily and opens a PR when a new SDK version is available.

  • Patch/minor bumps: review CI status, then merge.
  • Major bumps (labeled breaking-review): check whether any tool input schemas or error handling need updates before merging.

After merging a Dependabot PR, the full pipeline runs automatically:

  1. auto-version-bump.yml bumps the MCP package patch version and pushes to main.
  2. publish-npm.yml publishes the new version to npm.
  3. bump-services.yml opens a PR in trycourier/services to update the hosted MCP server.

Secrets required (set in repo Settings > Secrets and variables > Actions):

  • REPO_TOKEN — PAT with Contents: Read and write on this repo. Used by auto-version-bump.yml to push to main and trigger downstream workflows.
  • SERVICES_REPO_TOKEN — PAT with Contents: Read and write + Pull requests: Read and write on trycourier/services. Used by bump-services.yml to open dependency bump PRs.
  • NPM_TOKEN — npm publish token. Used by publish-npm.yml.

Links

Related MCP Servers

AbdelStark/nostr-mcp

ā˜ļø - A Nostr MCP server that allows to interact with Nostr, enabling posting notes, and more.

šŸ’¬ Communication0 views
adhikasp/mcp-twikit

šŸ ā˜ļø - Interact with Twitter search and timeline

šŸ’¬ Communication0 views
aeoess/mingle-mcp

šŸ“‡ ā˜ļø - Agent-to-agent networking. Your AI publishes what you need, matches with other people's agents, both humans approve before connecting. 6 tools, Ed25519 signed, shared network at api.aeoess.com.

šŸ’¬ Communication0 views
agenticmail/agenticmail

šŸ“‡ šŸ  šŸŽ 🪟 🐧 - Real email and SMS for AI agents. Run a local mail server with disposable inboxes, send/receive real email, fetch verification codes, and drive a real inbox — all from your machine, no third-party email API. Install with npx @agenticmail/mcp.

šŸ’¬ Communication0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it →
ā˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.