otipi-mcp is an MCP server for Otipi (an Israeli SMS, email, and OTP API), designed to let AI agents send and verify one-time passcodes within the development workflow.
Purpose:
- In MCP-capable clients such as Claude Code, Cursor, Claude Desktop, and VS Code, call Otipi's SMS, email, and OTP capabilities via natural language.
- Send passcodes in test mode, check delivery status, and generate integration code for Next.js, Supabase, and Express.
Key capabilities:
- Provides a remote MCP service at https://otipi.co.il/mcp(Streamable HTTP), with no local installation required.
- Provides a local npm package otipi-mcp, run via npx, using stdio transport, with zero runtime dependencies and requiring Node.js >= 18.
- Supports test keys (sk_test_...) and live keys (sk_live_...). With a test key, messages sent to anyone are only kept in Otipi logs (sandbox); messages sent to your own number or email are only actually delivered after confirmation via a verification code. Every account gets 5 free test SMS for life.
- When a tool fails, it is returned as a normal result with isError: true and instructions for the next step.
- The API key is read only from the OTIPI_KEY environment variable (OTIPI_API_KEY can be used as a fallback) and is never printed, logged, or returned by any tool.
Usage:
- Remote service: In apps that support connectors, such as Claude.ai and ChatGPT, add a custom connector and enter https://otipi.co.il/mcp,登录 Otipi and authorize (OAuth); the app receives a revocable test key.
- Claude Code: claude mcp add --transport http otipi https://otipi.co.il/mcp --header "Authorization: Bearer sk_test_..."
- Cursor(.cursor/mcp.json):{ "mcpServers": { "otipi": { "url": "https://otipi.co.il/mcp", "headers": { "Authorization": "Bearer sk_test_..." } } } }
- VS Code:{ "name": "otipi", "type": "http", "url": "https://otipi.co.il/mcp", "headers": { "Authorization": "Bearer sk_test_..." } }
- Local stdio: Use npx otipi-mcp and set the OTIPI_KEY environment variable in the client configuration. On Windows, if the client cannot find npx, you can use "command": "cmd", "args": ["/c", "npx", "-y", "otipi-mcp"].
- A free test key is available at https://otipi.co.il/signup One-click access after registration.
- Test recipient flow: Use add_test_recipient to add your own number (+9725XXXXXXXX); the system sends a 6-digit verification code. After manually reading the code on the device, use confirm_test_recipient to submit the number and code to complete confirmation; afterward, send_test_otp will perform real delivery, and the result will state whether it was real delivery or sandbox. Use verify_otp to verify the code received manually (or the test_code returned in test mode).
Use cases:
- Quickly set up and test SMS/email OTP flows in AI-assisted development.
- Generate integration code for Next.js, Supabase, and Express projects.
- Prototype verification of code sending and validation in Israeli scenarios.
Limitations:
- Real sending requires a subscription and live key (sk_live_...); test keys are for development only.
- Under test keys, messages default to the sandbox; only confirmed own numbers or emails are actually delivered.
- Requests use a 15-second timeout, do not follow redirects, and use Bearer authorization only over HTTPS.
- Do not put sk_live_ keys in shared configuration files or code repositories.
- The release process is not automated and must be performed manually by a maintainer; versions in package.json and server.json must be kept consistent.