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

Connect your API Labz account and use 4 tools for artificial intelligence straight from your AI agent. Connect with your own API key. API Labz offers a comprehensive suite of AI-driven APIs and tools designed to streamline workflows, automate tasks, and build innovative applications.

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

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

### Endpoints
- `POST https://api.mcp.ai/api/api_labz/iban/validator` — Tool to validate International Bank Account Numbers (IBANs). Use when you need to verify an IBAN's structure before processing transactions.
  - body: { iban: string }
- `POST https://api.mcp.ai/api/api_labz/integrate/deal` — Tool to integrate a deal into API Labz. Use when you need to push a new or updated deal record into the system after preparing required fields.
  - body: { title: string, amount: number, dealId: string, status: string, currency?: string, customFields?: object }
- `POST https://api.mcp.ai/api/api_labz/list/tables` — Tool to list all Airtable tables for a given base. Use when you need to retrieve table names before interacting with a table.
  - body: { base_id: string }
- `POST https://api.mcp.ai/api/api_labz/trello/ai/search/engine` — AI-powered semantic search tool for Trello cards across boards and lists. Use this when you need to: - Find cards by natural language queries (e.g., "bug reports from last week") - Search across multi
  - body: { limit?: integer, query: string, listId?: string, boardId?: string, includeArchived?: boolean }

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

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