# 44API — how to use (mcp.ai)

Connect your 44API account and use 4 tools for taxes straight from your AI agent. Connect with your own API key. 44API validates VAT and tax identifiers, returns available company details, and manages account IP whitelists.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_44api?ms=1787293680000`
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. `44api_add_whitelisted_ip`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/44api`
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/44api/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/44api/add/whitelisted/ip` — Add one IPv4 or IPv6 address to the account whitelist using a verification email address. Requires an Enterprise 44API plan. The request contract is documented, but a successful addition has not been 
  - body: { email: string, ip_address: string }
- `POST https://api.mcp.ai/api/44api/list/whitelisted/ips` — List IP addresses currently allowed by the account whitelist. This operation requires an Enterprise 44API plan; the API rejects lower-tier accounts.
- `POST https://api.mcp.ai/api/44api/remove/whitelisted/ip` — Remove one IPv4 or IPv6 address from the account whitelist. This destructive operation changes account access controls and requires an Enterprise 44API plan. The shared whitelist endpoint's Enterprise
  - body: { ip_address: string }
- `POST https://api.mcp.ai/api/44api/validate/vat/number` — Validate one VAT or tax ID for a supported country and return its validity plus any company details available on the connected plan.
  - body: { vat_number: string, country_code: string }

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

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