1. Conduid
  2. Developer Tools
  3. trycourier/courier-mcp
MCP server · Developer Tools

trycourier/courier-mcp

The official Model Context Protocol 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 60 tools backed by the @trycourier/courier Node SDK.

Unclaimed last commit 7 months ago devtools
47Fair

Scored 6 months ago · breakdown

About trycourier/courier-mcp

trycourier/courier-mcp is an MCP server published by trycourier in the Developer Tools category: the official Model Context Protocol 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 60 tools backed by the @trycourier/courier Node SDK.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/trycourier/courier-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about trycourier/courier-mcp

Powered by Claude · Grounded in docs

I know everything about trycourier/courier-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

Releases

v1.3.0v1.3.0 · 5 Mar 2026Removed `get_environment_config` tool (low value; MCP protocol provides native tool discovery) Removed React SDK context tools (`get_courier_sdk_context`, `scan_courier_imports`, `get_courier_sdk_component_map`); these read the local…
v1.2.0v1.2.0 · 5 Mar 2026All 63 tools are now registered by default. The two-tier `defaultTools`/`allAvailableTools` split has been removed; `allAvailableTools` is kept as a deprecated alias for backward compatibility. This means services only needs to bump the…
v1.1.1v1.1.1 · 5 Mar 2026Fix Cursor deep-link URL (404)
v1.1.0v1.1.0 · 5 Mar 2026SDK-backed MCP overhaul: 63 tools with full Courier API coverage, structured error handling, and @trycourier/courier SDK integration.

README

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 60 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.

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

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

Default tools

Category Tools
Send send_message, send_message_template, send_message_to_list, send_message_to_list_template
Messages list_messages, get_message, get_message_content, get_message_history, cancel_message
Profiles get_user_profile_by_id, create_or_merge_user, replace_profile, delete_profile, get_user_list_subscriptions, subscribe_user_to_lists, delete_user_list_subscriptions
Lists list_lists, get_list, get_list_subscribers, create_list, subscribe_user_to_list, unsubscribe_user_from_list
Audiences get_audience, list_audience_members, list_audiences, update_audience, delete_audience
Notifications list_notifications, get_notification_content, get_notification_draft_content
Brands create_brand, get_brand, list_brands
Auth generate_jwt_for_user
User Tokens list_user_push_tokens, get_user_push_token, create_or_replace_user_push_token
Docs courier_installation_guide
Automations invoke_automation_template, invoke_ad_hoc_automation
Bulk create_bulk_job, add_bulk_users, run_bulk_job, get_bulk_job, list_bulk_users
Audit Events get_audit_event, list_audit_events
Inbound track_inbound_event
Tenants get_tenant, create_or_update_tenant, list_tenants, delete_tenant
Users get_user_preferences, update_user_preference_topic, list_user_tenants, add_user_to_tenant, remove_user_from_tenant
Translations get_translation, update_translation

Diagnostic tools (local only)

Category Tools
Config get_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

Header Required Description
api_key Yes Your Courier API key. Get one at app.courier.com/settings/api-keys.
base_url No Override 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

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About trycourier/courier-mcp

How do I install trycourier/courier-mcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is trycourier/courier-mcp safe to use with an AI agent?

Its trust score is 47 out of 100 (fair). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is trycourier/courier-mcp still maintained?

The last commit was 7 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.