Read Trumpia lists, subscribers, keywords and reports; add contacts and send SMS or email campaigns. Hosted by usefulapi — connect from Claude, ChatGPT, Cursor, or any MCP client.
Team and Enterprise: an Owner adds the connector for the organization first.
Run this command, then run /mcp in Claude Code to log in:
Add to Cursor or add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"trumpia": {
"url": "https://trumpia.usefulapi.io/mcp"
}
}
}Add to VS Code or add this to .vscode/mcp.json:
{
"servers": {
"trumpia": {
"type": "http",
"url": "https://trumpia.usefulapi.io/mcp"
}
}
}No Add custom MCP server option? It depends on your account or workspace settings: see OpenAI's guide.
Run these commands. The second one opens the login page:
Other MCP clients (Windsurf, Cline, Zed and more): add the URL as a remote MCP server (Streamable HTTP). The client then opens the login page in your browser. Do not add an Authorization header: see Before you connect.
The login page asks for your Trumpia username and Trumpia API key.
Both are in Trumpia under Settings → Account Settings (username) and Settings → Account Settings → API Settings (API key). The API must be enabled for your plan. Your key is used only to call the Trumpia API on your behalf; it is never shown to anyone.
Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Trumpia username and Trumpia API key. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.
Turn on the Trumpia connector, then ask in plain words. The AI picks the tools.
| Tool | Type | What it does |
|---|---|---|
trumpia_get_credit_balance | read | Get credit balance The account's remaining domestic and international text credits. GET /balance/credit. |
trumpia_get_request_report | read | Get request status report The outcome of an earlier write request (list/contact/message changes are processed asynchronously). Pass the request_id that the write tool returned; the reply holds the result (for example the new list_id) or says it is still processing or failed. GET /report/{request_id}. |
trumpia_list_lists | read | List distribution lists All distribution lists (id and name). Lists group subscriptions for targeted messages. GET /list. |
trumpia_get_list | read | Get distribution list One distribution list: display name, description, message frequency and subscription / mobile / email counts. GET /list/{list_id}. |
trumpia_create_list | write | Create distribution list WRITE: create a distribution list. Trumpia requires disclosing how often subscribers get messages and what for. Returns request_id and list_id. The list name must not contain spaces or special characters. PUT /list. |
trumpia_update_list | write | Update distribution list WRITE: change a distribution list's name, display name, frequency or description. Only the fields you pass change. POST /list/{list_id}. |
trumpia_list_subscriptions | read | List subscription ids Subscription (contact) ids, newest first. Returns ids only; use trumpia_get_subscription for the details. Pages of 100-10000 ids; next_page is set when a full page came back. GET /subscription. |
trumpia_get_subscription | read | Get subscription One subscription (contact): name, email, mobile and landline (with verified flags), list ids, created date and custom data. Contains personal data. GET /subscription/{subscription_id}. |
trumpia_search_subscriptions | read | Search subscriptions Find subscription ids by email, mobile number, landline, country code, created date, first name or last name; optionally within one list. search_data 'all' returns every subscription that has data of that type. Returns ids; use trumpia_get_subscription for details. GET /subscription/search. |
trumpia_add_subscriptions | write | Add subscriptions WRITE: add contacts to one or more distribution lists (comma-separated list names that already exist). Each contact needs a mobile number, an email or a landline. Only add people who gave express consent to receive messages (TCPA, CAN-SPAM, CTIA rules apply); Trumpia may require a submitted API contract. Returns a request_id; check trumpia_get_request_report. PUT /subscription. |
trumpia_update_subscription | write | Update subscription WRITE: change a contact's name, email, mobile, landline, custom data or list membership. Only the fields you pass change. Returns a request_id. POST /subscription/{subscription_id}. |
trumpia_list_custom_fields | read | List custom data fields All custom data fields (id and name) that can be stored on subscriptions and used as mail-merge values. GET /customdata. |
trumpia_get_custom_field | read | Get custom data field One custom data field: type, options (allowed values, max length), whether required, and its mail-merge text. GET /customdata/{customdata_id}. |
trumpia_list_keywords | read | List keywords All mobile keywords with id, keyword and the short or long code. GET /keyword. |
trumpia_get_keyword | read | Get keyword One mobile keyword in detail: auto-response message, code, alternative messages. GET /keyword/{keyword_id}. |
trumpia_list_org_names | read | List organization names Registered organization names as { org_names: [ { org_name_id, name, default } ] } (Trumpia returns a bare array; it is wrapped). The id can be set as org_name_id on messages. GET /orgname. |
trumpia_list_email_senders | read | List email sender addresses Registered email sender addresses (the From / Reply-To addresses allowed for email messages) as { senders: [ { sender_id, address, default } ] } (Trumpia returns a bare array; it is wrapped). GET /email/sender. |
trumpia_get_message | read | Get message statistics Delivery statistics of a message sent with trumpia_send_message: status (sent / scheduled / canceled), totals, sent and failed counts per channel and credits used. GET /message/{message_id}. |
trumpia_list_scheduled_messages | read | List scheduled messages Messages that are scheduled and not yet sent (id, description, scheduled time, recipient counts). Use offset and limit to page; total_count says how many exist. GET /message/scheduled. |
trumpia_send_message | write | Send message WRITE, SENDS REAL MESSAGES that spend credits and cannot be recalled once sent: send an SMS and/or an email to distribution lists or specific subscriptions, now or scheduled (a scheduled one can be cancelled with trumpia_cancel_scheduled_message). Subscribers must have opted in (TCPA, CAN-SPAM, CTIA). Confirm the recipients and text with the user first. Mail merge tokens: [$FirstName], [$LastName], [$FullName], [$CustomData-NAME]. Returns request_id and message_id. PUT /message. |
trumpia_send_sms | write | Send direct SMS WRITE, SENDS A REAL TEXT that spends a credit and cannot be recalled: one SMS to one mobile number without adding the contact first. The recipient must have consented; Trumpia may require API Certification for contacts that have not opted in. Confirm number and text with the user first. Returns request_id and sms_id. PUT /sms. |
trumpia_cancel_scheduled_message | write | Cancel scheduled message WRITE: cancel a message that is scheduled and has not been sent yet (see trumpia_list_scheduled_messages). Does nothing for a message already sent. DELETE /message/scheduled/{message_id}. |
trumpia_usage_status | Usage status (free-tier meter) Report the caller's current free-tier usage this month: calls used, monthly limit, remaining, and whether the cap is reached. Read-only; does not count against the meter. | |
trumpia_request_feature | Request a missing feature Tell usefulapi that the user needs something the Trumpia tools cannot do yet (a missing tool, field or filter). Call it only when the user asks for something none of the tools can do, and tell the user that you send the request. Do not call it for errors or for normal requests. Do not include personal data, credentials or customer records. Stored with the product name and the client type (for example Claude or Cursor), without the user's account. At most 5 requests per day. Does not count against the meter. | |
trumpia_upgrade | Upgrade to Pro (unlimited) Subscribe to the Pro plan for UNLIMITED Trumpia tool calls (the free tier caps monthly usage). Choose monthly ($9/month) or yearly ($90/year — 2 months free) billing. Returns a Stripe Checkout link to open in your browser; after payment your account upgrades automatically. Does not count against the meter. | |
trumpia_cancel_subscription | Cancel the Pro subscription Cancel the caller's Trumpia Pro subscription at the end of the paid period (no refund for the current period; unlimited calls continue until then, then the free tier applies). Requires confirm: true. Run trumpia_upgrade later to undo the cancel before the period ends. Does not count against the meter. |
| Plan | Price | Limit |
|---|---|---|
| Free | $0 | 50 tool calls / month |
| Proper API key | $9/mo · $90/yr | Unlimited |
Pro covers this Trumpia server only. Subscribe with trumpia_upgrade (it returns a Stripe Checkout link). Cancel any time with trumpia_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running trumpia_upgrade before then undoes the cancel. Or write to [email protected].
No. usefulapi is an independent service. It is not affiliated with or endorsed by Trumpia. The server calls the Trumpia API with your own Trumpia access, so it sees only the data that your account can see.
Yes. In Claude, add this server's URL as a custom connector. In ChatGPT, add it as a custom MCP server in Plugins. Then log in once. Cursor, VS Code, Claude Code and Codex work too. See the setup steps.
The login page asks for your Trumpia username and Trumpia API key. See Before you connect for where to find them.
No. Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Trumpia username and Trumpia API key. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.
The login stores them encrypted in the authorization grant of your connection. The server uses them to call the Trumpia API for you and to derive a private account id for usage metering. usefulapi does not show them on any page or in any reply. To stop all access, remove the connector and change or delete these credentials in Trumpia.
Yes, if you approve it. 7 of the 22 Trumpia tools can create or change data. The other 15 are marked read-only. Most MCP clients ask you to approve a tool call before it runs.
The Free plan gives 50 tool calls / month. Pro costs $9/mo or $90/yr, with unlimited tool calls, for this Trumpia server only. Run trumpia_usage_status to see how many calls you used.
Ask the AI to run trumpia_upgrade: it returns a Stripe Checkout link. To cancel, run trumpia_cancel_subscription. Pro continues to the end of the paid period.
Tell the AI what you wanted to do. It can send the request with trumpia_request_feature. We store the text with the server name, the type of AI client and the tool you tried, not with your account, and read every request when we plan new tools. You can send up to 5 requests per day.
Any client that supports remote MCP servers (Streamable HTTP) with OAuth login: Claude (web and desktop), Claude Code, ChatGPT, Codex, Cursor, VS Code, Windsurf and others.
This is a Model Context Protocol endpoint — meant to be connected from an AI client, not opened in a browser. An invalid_token response at the URL is the auth gate working as designed; clients authenticate automatically.