Courier MCP by usefulapi

Read messages, templates, brands and lists; send messages and manage list subscribers in Courier.

使うべきか

品質と安全性

A
説明の品質
99%
スキーマの完全性
96%
命名の品質
78%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(3)

  • LOWTool 'courier_list_notification_templates' name length outside 3-30 rangecourier_list_notification_templates 内
  • LOWTool 'courier_get_notification_template' name length outside 3-30 rangecourier_get_notification_template 内
  • LOWTool 'courier_unsubscribe_user_from_list' name length outside 3-30 rangecourier_unsubscribe_user_from_list 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~3,411トークン数(ツール定義)
~1.0 KB一般的なレスポンスサイズ
注意への影響は大きい(128k コンテキストの 2.66%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "courier": {
      "url": "https://courier.usefulapi.io/mcp"
    }
  }
}

リモートエンドポイント

https://courier.usefulapi.io/mcpstreamable-http

できること

ツール一覧

ツール(24)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢courier_list_messages(status, event, list, recipient, provider, ...)

List recently sent messages, newest first, with status, recipient, channel and provider. Filter by status, event, list, recipient, tag or enqueued_after. Paged by cursor. GET /messages.

入力スキーマ

{
  "type": "object",
  "properties": {
    "status": {
      "description": "Filter by message status (repeat values allowed).",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "event": {
      "description": "Filter by notification event id.",
      "type": "string"
    },
    "list": {
      "description": "Filter by list id.",
      "type": "string"
    },
    "recipient": {
      "description": "Filter by recipient user id.",
      "type": "string"
    },
    "provider": {
      "description": "Filter by provider key (repeat values allowed).",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "tag": {
      "description": "Filter by tag (repeat values allowed).",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "tenant_id": {
      "description": "Filter by tenant id.",
      "type": "string"
    },
    "enqueued_after": {
      "description": "Only messages enqueued after this value, as the API defines it.",
      "type": "string"
    },
    "cursor": {
      "description": "Cursor from a previous page's paging.cursor.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_get_message(message_id)

Get one message by id (the requestId returned by courier_send_message), with its delivery status and provider. GET /messages/{message_id}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "message_id": {
      "type": "string",
      "minLength": 1,
      "description": "The message id."
    }
  },
  "required": [
    "message_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_get_message_history(message_id, type)

Get the delivery history events for one message (status changes per channel). GET /messages/{message_id}/history.

入力スキーマ

{
  "type": "object",
  "properties": {
    "message_id": {
      "type": "string",
      "minLength": 1,
      "description": "The message id."
    },
    "type": {
      "description": "Optional history filter type, as the API defines it.",
      "type": "string"
    }
  },
  "required": [
    "message_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_list_notification_templates(tags, cursor)

List the workspace notification templates with their name, tags, brand, routing and draft or published state. GET /notifications.

入力スキーマ

{
  "type": "object",
  "properties": {
    "tags": {
      "description": "Filter by tags, as the API defines them.",
      "type": "string"
    },
    "cursor": {
      "description": "Cursor from a previous page's paging.cursor.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_get_notification_template(template_id, version)

Get one notification template by id or alias. Returns the published version by default; version=draft returns the unpublished one. GET /notifications/{id}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "template_id": {
      "type": "string",
      "minLength": 1,
      "description": "The notification template id (nt_...) or its alias."
    },
    "version": {
      "description": "Which version to read (default published).",
      "type": "string",
      "enum": [
        "published",
        "draft"
      ]
    }
  },
  "required": [
    "template_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_list_brands(cursor)

List the brands (logo, colors, layout) that templates can use. GET /brands.

入力スキーマ

{
  "type": "object",
  "properties": {
    "cursor": {
      "description": "Cursor from a previous page's paging.cursor.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_get_brand(brand_id)

Get one brand by id, with its colors, logo and layout settings. GET /brands/{brand_id}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "brand_id": {
      "type": "string",
      "minLength": 1,
      "description": "The brand id."
    }
  },
  "required": [
    "brand_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_list_lists(pattern, cursor)

List the static recipient lists in the workspace. Optionally filter by list id pattern. GET /lists.

入力スキーマ

{
  "type": "object",
  "properties": {
    "pattern": {
      "description": "List id pattern filter, as the API defines it.",
      "type": "string"
    },
    "cursor": {
      "description": "Cursor from a previous page's paging.cursor.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_get_list(list_id)

Get one list by id, with its name and metadata. GET /lists/{list_id}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "list_id": {
      "type": "string",
      "minLength": 1,
      "description": "The list id."
    }
  },
  "required": [
    "list_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_list_list_subscribers(list_id, cursor)

List the user subscriptions of one list, with their preferences. Paged by cursor. GET /lists/{list_id}/subscriptions.

入力スキーマ

{
  "type": "object",
  "properties": {
    "list_id": {
      "type": "string",
      "minLength": 1,
      "description": "The list id."
    },
    "cursor": {
      "description": "Cursor from a previous page's paging.cursor.",
      "type": "string"
    }
  },
  "required": [
    "list_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_get_profile(user_id)

Get one user profile: the contact details Courier delivers to (email, phone, push tokens) and custom data. GET /profiles/{user_id}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string",
      "minLength": 1,
      "description": "The user id."
    }
  },
  "required": [
    "user_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_get_user_preferences(user_id, tenant_id)

Get one user's notification preferences per topic and per channel. GET /users/{user_id}/preferences.

入力スキーマ

{
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string",
      "minLength": 1,
      "description": "The user id."
    },
    "tenant_id": {
      "description": "Read the preferences in this tenant.",
      "type": "string"
    }
  },
  "required": [
    "user_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_list_providers(cursor)

List the channel providers configured in the workspace (email, SMS, push, chat). GET /providers.

入力スキーマ

{
  "type": "object",
  "properties": {
    "cursor": {
      "description": "Cursor from a previous page's paging.cursor.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_list_journeys(version, cursor)

List the multi-step journeys (workflows) in the workspace. GET /journeys.

入力スキーマ

{
  "type": "object",
  "properties": {
    "version": {
      "description": "Read this version, as the API defines it.",
      "type": "string"
    },
    "cursor": {
      "description": "Cursor from a previous page's paging.cursor.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_list_broadcasts(limit, cursor)

List one-off broadcasts (sends to a list or audience), with their state. GET /broadcasts.

入力スキーマ

{
  "type": "object",
  "properties": {
    "limit": {
      "description": "Results per page (1 to 1000).",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "cursor": {
      "description": "Cursor from a previous page's paging.cursor.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_list_automations(version, cursor)

List the automation templates that you can invoke with courier_invoke_automation. GET /automations.

入力スキーマ

{
  "type": "object",
  "properties": {
    "version": {
      "description": "Read this version, as the API defines it.",
      "type": "string"
    },
    "cursor": {
      "description": "Cursor from a previous page's paging.cursor.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_list_tenants(parent_tenant_id, limit, cursor)

List tenants (organizations, teams or accounts that users belong to). GET /tenants.

入力スキーマ

{
  "type": "object",
  "properties": {
    "parent_tenant_id": {
      "description": "Only tenants under this parent tenant id.",
      "type": "string"
    },
    "limit": {
      "description": "Results per page.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "cursor": {
      "description": "Cursor from a previous page's paging.cursor.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢courier_list_audit_events(cursor)

List workspace audit events (who changed what in the console or through the API). Paged by cursor. GET /audit-events.

入力スキーマ

{
  "type": "object",
  "properties": {
    "cursor": {
      "description": "Cursor from a previous page's paging.cursor.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴courier_send_message(to, template, data, brand_id, idempotency_key)

Send a notification from a template to one recipient, a list or a tenant. Courier routes it to the channels in the template. Sends real messages. Pass an idempotency_key to make retries safe. Returns a requestId. POST /send.

入力スキーマ

{
  "type": "object",
  "properties": {
    "to": {
      "type": "object",
      "properties": {
        "user_id": {
          "description": "Courier user id.",
          "type": "string"
        },
        "email": {
          "description": "Email address (used when the profile has no user_id).",
          "type": "string"
        },
        "phone_number": {
          "description": "Phone number in E.164 format.",
          "type": "string"
        },
        "list_id": {
          "description": "Send to every subscriber of this list.",
          "type": "string"
        },
        "tenant_id": {
          "description": "Send to every user of this tenant.",
          "type": "string"
        }
      },
      "description": "Who receives the message: set one of user_id, email, phone_number, list_id or tenant_id."
    },
    "template": {
      "type": "string",
      "minLength": 1,
      "description": "Template id (nt_...) or alias to send."
    },
    "data": {
      "description": "Variables for the template.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "brand_id": {
      "description": "Brand id to use instead of the template's brand.",
      "type": "string"
    },
    "idempotency_key": {
      "description": "A unique key, such as a UUID, reused only for a retry of the same send.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    }
  },
  "required": [
    "to",
    "template"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴courier_cancel_message(message_id)

Cancel a message that is queued or scheduled and not yet delivered. POST /messages/{message_id}/cancel.

入力スキーマ

{
  "type": "object",
  "properties": {
    "message_id": {
      "type": "string",
      "minLength": 1,
      "description": "The message id."
    }
  },
  "required": [
    "message_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡courier_subscribe_user_to_list(list_id, user_id, preferences)

Subscribe one user to a list, with optional per-topic preferences. Idempotent: subscribing again updates the subscription. PUT /lists/{list_id}/subscriptions/{user_id}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "list_id": {
      "type": "string",
      "minLength": 1,
      "description": "The list id."
    },
    "user_id": {
      "type": "string",
      "minLength": 1,
      "description": "The user id."
    },
    "preferences": {
      "description": "Per-topic channel preferences, as the API defines them.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "required": [
    "list_id",
    "user_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴courier_unsubscribe_user_from_list(list_id, user_id)

Remove one user's subscription from a list, so the list no longer sends to that user. DELETE /lists/{list_id}/subscriptions/{user_id}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "list_id": {
      "type": "string",
      "minLength": 1,
      "description": "The list id."
    },
    "user_id": {
      "type": "string",
      "minLength": 1,
      "description": "The user id."
    }
  },
  "required": [
    "list_id",
    "user_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴courier_invoke_automation(template_id, recipient, data, profile, brand)

Run an automation template for one recipient, with data. The automation sends its messages. POST /automations/{templateId}/invoke.

入力スキーマ

{
  "type": "object",
  "properties": {
    "template_id": {
      "type": "string",
      "minLength": 1,
      "description": "The automation template id (from courier_list_automations)."
    },
    "recipient": {
      "description": "The recipient user id.",
      "type": "string"
    },
    "data": {
      "description": "Data for the automation steps.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "profile": {
      "description": "Profile fields to use for the recipient.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "brand": {
      "description": "Brand id to use.",
      "type": "string"
    }
  },
  "required": [
    "template_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡courier_track_event(event, user_id, message_id, properties)

Send a track event for one user, tied to a message id, so journeys and automations can react to it. Records a real event in the workspace. POST /inbound/courier.

入力スキーマ

{
  "type": "object",
  "properties": {
    "event": {
      "type": "string",
      "minLength": 1,
      "description": "Event name, such as order_shipped."
    },
    "user_id": {
      "type": "string",
      "minLength": 1,
      "description": "The user id."
    },
    "message_id": {
      "type": "string",
      "minLength": 1,
      "description": "The message id this event relates to (any id you choose if none)."
    },
    "properties": {
      "default": {},
      "description": "Event properties.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "required": [
    "event",
    "user_id",
    "message_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 24 件