New MCP server for Claude, Cursor & any agent

Verification codes, human required handled.

Email OTPs, magic links, SMS codes and TOTP for browser agents and end-to-end tests. One call returns the code the moment it lands. No sleep loops, no shared inboxes, no human in the loop.

$ free forever for email + TOTP · no card required
signup.spec.ts
import { Humanless } from "./humanless"; // 1 file, 0 deps

const hl = new Humanless({ apiKey: process.env.HUMANLESS_API_KEY });

// 1. a fresh identity: real inbox + real phone
const me = await hl.createIdentity({ channels: ["email", "sms"] });

await page.fill("#email", me.email);
await page.fill("#phone", me.phone);
await page.click("text=Send code");

// 2. blocks until the code arrives. no polling.
const { code } = await hl.waitForCode({ identityId: me.identity_id, channel: "sms" });

await page.fill("#otp", code);  // ✓ verified
live delivery inspector
0.84s
482 913
Your Acme verification code● delivered
sms2.1s
700 215
+1 (415) ··· 0192● delivered
1.2s
https://app.acme.dev/auth/verify?t=eyJh…
Sign in to Acme● delivered
totpinstant
159 026
Authenticator · 30s window● generated
Every second factor

The verification step was the last thing your agents couldn't do alone.

Sign-up, login, password reset, 2FA. Humanless gives every run its own identity and hands the code back the instant it arrives.

Email OTP & magic links

Unlimited throwaway inboxes. Codes and magic links are parsed out of the message for you.

SMS codes

Dedicated US numbers that belong to your account only. Never shared, never recycled to strangers.

TOTP

Store an authenticator secret, get the current 6-digit code. Perfect for 2FA-protected test accounts.

Zero sleep loops

Long-poll returns in milliseconds after delivery. Push-based under the hood, so flaky waits disappear.

How it works

Four endpoints. That's the whole API.

  • 1
    Create an identityGet an inbox, and optionally a phone number, scoped to one test run.
  • 2
    Trigger the codeYour agent or test fills the form like a real user would.
  • 3
    Wait for itOne request blocks until the code lands, then returns the code or link, already parsed.
  • 4
    Tear downDelete the identity, or let it expire. Nothing lingers.
# create
curl -X POST https://api.usehumanless.com/v1/identities \
  -H "Authorization: Bearer $HUMANLESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channels":["email","sms"]}'

# wait (returns as soon as it arrives)
curl https://api.usehumanless.com/v1/identities/$ID/wait \
  -H "Authorization: Bearer $HUMANLESS_API_KEY"

{ "type": "otp", "code": "482913", "channel": "email" }
const me = await hl.createIdentity({ channels: ["email"] });
await page.fill("#email", me.email);
await page.click("text=Continue");

const msg = await hl.waitForMessage({ identityId: me.identity_id });
if (msg.url) await page.goto(msg.url);   // magic link
else await page.fill("#otp", msg.code);

await hl.deleteIdentity(me.identity_id);
import os, requests

H = {"Authorization": f"Bearer {os.environ['HUMANLESS_API_KEY']}"}
API = "https://api.usehumanless.com/v1"

me = requests.post(f"{API}/identities", headers=H, json={"channels": ["email"]}).json()
# ... submit me["email"] in your app ...
msg = requests.get(f"{API}/identities/{me['identity_id']}/wait", headers=H).json()
print(msg["code"])
agent · mcp
// claude_desktop_config.json / .cursor/mcp.json
{
  "mcpServers": {
    "humanless": {
      "url": "https://api.usehumanless.com/mcp",
      "headers": { "Authorization": "Bearer hl_live_…" }
    }
  }
}

tools: create_verification_identity
       wait_for_verification_code
       get_totp_code
       delete_verification_identity
Built for agents

Drop it into any agent with one config line.

Humanless ships an MCP server, so Claude, Cursor and your own agents can sign up, log in and pass 2FA on their own. They get a fresh identity per task and the code back the moment it arrives.

  • ✓
    Remote MCP over HTTPNothing to install. Authenticate with your API key.
  • ✓
    Safe by defaultIdentities are scoped to your account and expire automatically.
Pricing

Free for email. Pay for phones only when you need them.

Free

$0
For trying it out and email-only flows.
  • Email OTP & magic links
  • TOTP codes
  • REST API, SDK & MCP
  • Live delivery inspector
Start free

Pay as you go

$5 / number / mo
Plus $0.10 per SMS received. Prepaid credits from $20.
  • Everything in Free
  • Dedicated US numbers
  • Idle numbers released automatically
  • No subscription
Add credits

Builder Popular

$49 / mo
For a team shipping with automated E2E tests.
  • 1 dedicated US number
  • 500 SMS / month included
  • Unlimited email identities
  • $0.08 per extra SMS
Get Builder

Pro

$199 / mo
For agent fleets and parallel test suites.
  • 5 dedicated US numbers
  • 2,500 SMS / month included
  • Bring your own domain
  • $0.08 per extra SMS
Get Pro

Prices in USD. Extra numbers $5/month each. Unlimited email is subject to fair use.

FAQ

Questions

What is Humanless for?

Testing and automating your own applications: end-to-end tests, QA, and AI agents running sign-up, login and 2FA flows on products you own or are authorized to test. Numbers are receive-only; Humanless never sends SMS.

Are phone numbers shared between customers?

No. Each number is dedicated to one account. When an account gives a number up, it is quarantined before it can ever be reassigned, so late messages never reach someone else.

How fast are codes delivered?

The wait call is push-based: it returns as soon as the message reaches us, usually within seconds. There's no polling interval to tune.

Can I use my own email domain?

Yes. Point a subdomain you own at Humanless and every address on it becomes a test inbox for your account.

How long are messages kept?

Identities expire automatically and their messages are deleted with them. You can also delete an identity yourself at any time.

Ship it

Let your agents finish the job.

Free API key in under a minute. No card required.

Get your API key →