Connect ThaiBulkSMS to your AI

Sign in with your existing account. Let your assistant work with the ThaiBulkSMS tools you authorize.

Your connections

One account. A browser sign-in.

Add this Streamable HTTP server to your assistant and choose OAuth. You do not need to create a separate SMS, OTP or email API key for dashboard access.

Authentication: OAuth 2.0 · Transport: Streamable HTTP

  1. Add the server in your AI client, then choose Connect or Authenticate.
  2. Sign in with your usual ThaiBulkSMS account in the browser. Complete CAPTCHA and MFA there when requested.
  3. Review the assistant name and requested permissions, then return to your client.

Your account JWT stays on the server. Your assistant receives its own limited OAuth authorization; never copy a dashboard JWT into chat or configuration.

Configure your client

Merge the example into your existing configuration. Keep your other servers. The client discovers sign-in automatically.

Claude Code .mcp.json
{
  "mcpServers": {
    "thaibulksms": {
      "type": "http",
      "url": "https://ai.thaibulksms.com/mcp"
    }
  }
}

Or run claude mcp add --transport http thaibulksms https://ai.thaibulksms.com/mcp. Then open /mcp in Claude Code, select thaibulksms, choose Authenticate and finish the browser sign-in. On a remote machine, paste the final browser URL into Claude Code if the localhost callback cannot open.

Codex ~/.codex/config.toml
[mcp_servers.thaibulksms]
url = "https://ai.thaibulksms.com/mcp"
scopes = ["profile:read", "dashboard:read", "dashboard:write", "campaigns:sms:read", "campaigns:sms:write", "campaigns:email:read", "campaigns:email:write", "sms:read", "sms:send", "otp:request", "otp:verify", "mail:read", "mail:send"]

After saving, run codex mcp login thaibulksms and review the requested permissions. Once connected, account operations and channel setup run through the API.

Cursor .cursor/mcp.json
{
  "mcpServers": {
    "thaibulksms": {
      "url": "https://ai.thaibulksms.com/mcp"
    }
  }
}

Enable ThaiBulkSMS in Cursor’s MCP settings and follow the authentication prompt.

Using another assistant? Add the same server URL in its remote MCP settings and select OAuth. The client must support Streamable HTTP and OAuth with PKCE.

Copy setup prompt

Check the connection

Discover the available tools, then start with a read-only account or credit check. Each dashboard operation has its own tool and input schema. Setup never needs a test message.

get_my_profile
Sign-in or access needs attention?

If authorization expires, authenticate again from your client. If a permission is missing, review the requested scopes and your ThaiBulkSMS team permissions. Do not paste tokens into chat or switch to another account silently.

If your client cannot start OAuth, update it and check its official MCP documentation. Do not add an API key or a dashboard JWT to the OAuth configuration.

Your permissions follow you

Search and inspect operations for messaging, contacts, senders, templates, reports and account settings. Your account role, OAuth permissions and enabled services determine what is available.

Read and explore
get_my_profileget_my_creditdashboard_list_contact_groups

Inspect the operation schema first. A read tool cannot perform an account change, even when the upstream API uses GET.

Review before changing anything
preview_dashboard_delete_contact_groupdashboard_delete_contact_group

The assistant prepares a fixed preview, explains the exact change and asks you to confirm. Sending, deleting or changing account settings follows the same review step.

Upload privately
upload_dashboard_fileread_dashboard_filetransfer_dashboard_file

Your assistant can upload files, transfer exports and read file contents through the authorized API. Credential tasks and OTP verification codes stay in the browser.

Check an uncertain result
get_dashboard_action_status

If a request times out or its result is unknown, check the original operation ID and reconcile the outcome. Do not create another request to repeat it.

For agents

Read the matching skill for account access, safe changes and messaging. Private key clients use their own setup guide.