# Autom — how to use (mcp.ai)

Connect your Autom account and use 4 tools for web scraping straight from your AI agent. Connect with your own API key. Autom is a service that delivers lightning-fast search engine results page (SERP) outcomes for Google, Bing, and Brave, offering developers rapid access to search data with minimal latency.

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

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

### Endpoints
- `POST https://api.mcp.ai/api/autom/google/countries` — Search for Google-supported countries by name substring. Use this to get valid country codes for Google Search API parameters. Results are ordered by population reach (most populous countries first).
  - body: { query: string }
- `POST https://api.mcp.ai/api/autom/google/images` — Tool to fetch images from Google search results. Use when you need URLs, titles, domains, and metadata for images matching a query.
  - body: { gl?: string, hl?: string, page?: integer, query: string }
- `POST https://api.mcp.ai/api/autom/google/languages` — Tool to retrieve Google-supported languages. Use when you need a list of language codes for localization.
  - body: { query: string }
- `POST https://api.mcp.ai/api/autom/google/locations` — Tool to retrieve Google-supported locations. Use when searching for locations by name. Returns locations ordered by reach (most populous first).
  - body: { query: string }

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

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