courier-mcp▌

by trycourier
Official MCP server for Courier's notification API, providing 60 tools to send messages, manage user profiles, configure
Official MCP server for Courier's notification API, providing 60 tools to send messages, manage user profiles, configure lists, debug deliveries, and handle notification workflows.
best for
- / General purpose MCP workflows
capabilities
- / send_message
- / send_message_template
- / send_message_to_list
- / list_messages
- / get_message
- / cancel_message
what it does
Official MCP server for Courier's notification API, providing 60 tools to send messages, manage user profiles, configure lists, debug deliveries, and handle notification workflows.
about
courier-mcp is a community-built MCP server published by trycourier that provides AI assistants with tools and capabilities via the Model Context Protocol. Official MCP server for Courier's notification API, providing 60 tools to send messages, manage user profiles, configure It is categorized under communication. This server exposes 20 tools that AI clients can invoke during conversations and coding sessions.
how to install
You can install courier-mcp in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
courier-mcp is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
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.
<a href="https://cursor.com/en/install-mcp?name=courier&config=eyJ1cmwiOiAiaHR0cHM6Ly9tY3AuY291cmllci5jb20iLCAiaGVhZGVycyI6IHsiYXBpX2tleSI6ICJZb3VyIEFQSSBLZXkifX0="><img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Install in Cursor" height="32" /></a>
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 |
Architecture
courier-mcp/
├── mcp/ # MCP package (@trycourier/courier-mcp on npm)
│ └── src/
│ ├── index.ts # CourierMcp server class
│ ├── 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:
auto-version-bump.ymlbumps the MCP package patch version and pushes to main.publish-npm.ymlpublishes the new version to npm.bump-services.ymlopens a PR intrycourier/servicesto update the hosted MCP server.
Secrets required (set in repo Settings > Secrets and variables > Actions):
REPO_TOKEN— PAT withContents: Read and writeon this repo. Used byauto-version-bump.ymlto push to main and trigger downstream workflows.SERVICES_REPO_TOKEN— PAT withContents: Read and write+Pull requests: Read and writeontrycourier/services. Used bybump-services.ymlto open dependency bump PRs.NPM_TOKEN— npm publish token. Used bypublish-npm.yml.
Links
FAQ
- What is the courier-mcp MCP server?
- courier-mcp is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for courier-mcp?
- This profile displays 31 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.7 out of 5—verify behavior in your own environment before production use.
Ratings
4.7★★★★★31 reviews- ★★★★★Pratham Ware· Dec 20, 2024
Useful MCP listing: courier-mcp is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Henry Ramirez· Dec 12, 2024
We wired courier-mcp into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Dev Mensah· Dec 4, 2024
courier-mcp reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Diya Flores· Nov 23, 2024
Useful MCP listing: courier-mcp is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Sakshi Patil· Nov 11, 2024
courier-mcp reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Hana Menon· Nov 11, 2024
courier-mcp is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Ishan Chawla· Nov 3, 2024
Strong directory entry: courier-mcp surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Chaitanya Patil· Oct 26, 2024
I recommend courier-mcp for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Omar Rahman· Oct 22, 2024
courier-mcp has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Charlotte Chen· Oct 14, 2024
We evaluated courier-mcp against two servers with overlapping tools; this profile had the clearer scope statement.
showing 1-10 of 31