MoceanAPI integration
MoceanAPI REST v2 for SMS and phone verification: send a text message, look a number's carrier up, run a verification code cycle and read the account balance. The API key and secret travel as the mocean-api-key and mocean-api-secret request parameters, and every other parameter is prefixed mocean- as well.
Say what should happen.
The workflow builds itself.
Common MoceanAPI use cases
- alerting when SMS credit runs low
- verifying a phone number at signup
- sending a transactional alert by SMS
- completing a phone verification at signup
- estimating the cost of a campaign per country
- cleaning a contact list before an SMS campaign
- gating a login on a valid code
- adding a second factor to a login
- checking credit before a campaign
- choosing the cheapest destination route
What you can do with MoceanAPI
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Verification, 2 operations
verify_requestVerify requestPOSTSends a MoceanAPI verification code by SMS and returns the request id.verify_validateVerify validatePOSTValidates a verification code against the request that generated it.
Balance, 1 operation
get_balanceGet balanceGETReads the remaining MoceanAPI account balance.
Number, 1 operation
number_lookupNumber lookupPOSTLooks up the carrier and reachability of a phone number.
Pricing, 1 operation
get_pricingGet pricingGETLists the MoceanAPI SMS price for each country and operator.
Sms, 1 operation
send_smsSend smsPOSTSends a text message through MoceanAPI and returns a per-recipient message id.
Use MoceanAPI from Claude Code, Cursor or Codex
Connect MoceanAPI in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its MoceanAPI operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect MoceanAPI
- Create your workspace
Sign up free. Nothing to install.
- Connect MoceanAPI once
Add your MoceanAPI connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
MoceanAPI integration FAQ
What can you do with the MoceanAPI integration?
LiveContext exposes 6 operations on MoceanAPI, covering verification, balance, number and pricing. Common uses include alerting when SMS credit runs low, verifying a phone number at signup and sending a transactional alert by SMS.
