# Veriphone — how to use (mcp.ai)

Connect your Veriphone account and use 2 tools for developer tools straight from your AI agent. Connect with your own API key. Veriphone is a REST-based JSON API that provides phone number validation services, allowing developers to verify the validity, type, carrier, and region of phone numbers.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_veriphone?ms=1787291220000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `veriphone_get_example_phone_number`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/veriphone`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/veriphone/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/veriphone/get/example/phone/number` — Tool to retrieve an example phone number for a specified country and type. Use after confirming the country code. Example: 'Get an example mobile number for US'.
  - body: { type?: string, purpose?: string, country_code: string }
- `POST https://api.mcp.ai/api/veriphone/verify/phone/number` — Tool to verify if a phone number is valid. Use when you need to confirm formatting, region, and carrier details.
  - body: { phone: string }

## Example prompts
- "What can I do in Veriphone?"
- "Show me a summary of my Veriphone account"

## More
- Page: https://mcp.ai/veriphone
- Agent spec (llms.txt): https://mcp.ai/veriphone/llms.txt
- Postman collection: https://mcp.ai/veriphone/postman.json
