# Connect AI agents (MCP)

Connect any AI agent to **10,000+ APIs** in minutes using a single URL. Works with OpenClaw, Claude Code/Desktop, Cursor, Devin, Cline — any MCP-compatible AI client.

**Your API Access Key**
You need a Zyla API key to use this MCP server

[Get API Key](https://zylalabs.com/register)
[Log in](https://zylalabs.com/login)

## Give this to your agent

**mcp.zylalabs.com**
Works with OpenClaw, Claude Code/Desktop, Cursor, Devin, Cline and any MCP-compatible AI client.

$
set up zyla - https://zylalabs.com/llms.txt

Paste it into Claude Code, Cursor, Codex or any AI agent. It reads the instructions, asks for your API key and connects itself.

Your agent will automatically connect to Zyla's MCP server, discover 10,000+ APIs, and be ready to call them. No extra configuration needed.

Already connected with the MCP URL? It keeps working, nothing to change.
Not working? See [Compatibility & Setup per Client](#compatibility) for detailed instructions.

## Or just the MCP URL

If your agent asks for just the URL, copy this:

```text
https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY
```

## JSON config for desktop clients

Some clients like Claude Desktop, Cursor, or Devin require a JSON config file. Paste this and save:

```json
{
  "mcpServers": {
    "zyla-api-hub": {
      "url": "https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY"
    }
  }
}
```

- **Claude Desktop:** `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS), `%APPDATA%\Claude\claude_desktop_config.json` (Windows)

- **Cursor:** `.cursor/mcp.json`

- **Cline:** `~/.config/cline/mcp_settings.json`

## What is MCP?

The **Model Context Protocol (MCP)** is an open standard that lets AI agents discover and call external tools. Zyla's MCP server turns 10,000+ REST APIs into tools that any AI agent can use — your agent can search the catalog, read API documentation, and execute live API calls, all through natural language.

- **One URL, all APIs** A single MCP endpoint gives your agent access to the entire catalog. No per-API configuration needed.

- **Your existing API key** Authentication is handled automatically. Your Zyla API key is embedded in the URL.

- **Zero installation** No SDKs, no packages, no Docker containers. Just paste the URL and go.

## How it works

When your AI agent connects to the Zyla API Hub MCP server, here's what happens behind the scenes:

- **Connect** Your AI client connects to `mcp.zylalabs.com` using your API key. The server advertises the available tools.

- **You ask a question** You write something like "Convert 100 USD to EUR". The AI decides which tools to use.

- **Search & discover** The agent calls `search_catalog` to find a currency conversion API, then `get_api_info` to read its endpoints and parameters.

- **Call the API** The agent calls `call_api` with the right parameters. The MCP server executes the real API call and returns the response.

- **Get your answer** The agent formats the response: "100 USD = 92.34 EUR (rate: 0.9234)". All in seconds, fully automated.

## Try it out

After connecting, try asking your agent. No need to subscribe to each API first &mdash; Zyla API Hub automatically activates a pay-as-you-go plan the first time your agent calls any API:

- "Convert 100 USD to EUR"

- "What's the weather in Buenos Aires?"

- "Validate the email hello@example.com"

- "Search for finance APIs"

- "Get the BIN info for card 411111"

- "Browse all sports APIs, page 2"

- "Check my account status and API usage"

- "Get the IP geolocation for 8.8.8.8"

## Full Agent-Only Experience

You can do everything from your AI agent without ever visiting zylalabs.com:

- **Create account** Tell your agent your name, email and password. It uses the `register` tool to create your account and get an API key.

- **Discover APIs** Ask your agent to find APIs by keyword (`search_catalog`) or browse by category (`browse_catalog`).

- **Call APIs** Your agent calls the API with `call_api`. Subscriptions are created automatically on first use.

- **Add payment** When needed, your agent gets a Stripe Checkout link via `get_payment_url`. Open it in your browser to add your card.

- **Check status** Use `account_status` anytime to see your plan, usage, and billing info.

## Available MCP Tools

When connected, your AI agent gets access to these tools. The agent chooses which to call based on your request:

|
Tool |
What it does |
Example |

| `search_catalog` | Search across 10,000+ APIs by keyword. Searches the cached top APIs first, then falls back to server-side search across the entire catalog. | `search_catalog({ query: "currency exchange", limit: 5 })` |

| `browse_catalog` | Browse the full catalog with pagination. Filter by category, search keyword, or sort order. Access ALL public APIs beyond the top 500. | `browse_catalog({ category: "Sports & Gaming", page: 1 })` |

| `list_categories` | List all API categories (Finance, Weather, AI, Sports, Translation, etc.) with the count of APIs in each. | `list_categories()` |

| `get_api_info` | Get full documentation for a specific API: every endpoint, all parameters (name, type, required/optional), and example values. | `get_api_info({ api_id: 1234 })` |

| `call_api` | Execute a live API call. Pass the API ID, endpoint ID, HTTP method, and parameters. Returns the real response data. | `call_api({ api_id: 1234, endpoint_id: 5678, params: { from: "USD", to: "EUR" } })` |

| `register` | Create a new Zyla account directly from the AI agent. Returns an API key instantly. No need to visit the website. | `register({ name, email, password })` |

| `account_status` | Check your account status: plan info, API call usage, and whether a payment method is on file. Useful for diagnosing issues. | `account_status()` |

| `get_payment_url` | Get a Stripe Checkout link to add or update your credit card. The user opens the link in a browser to complete payment setup. | `get_payment_url()` |

Providers also get the provider_* tools to publish and update their own APIs.
[Publish with your AI agent](https://zylalabs.com/docs/publish-with-agent)

## Who is this for?

- **Developers building AI agents** Give your agent access to real-world data &mdash; currency rates, weather, email validation, geolocation, and more &mdash; without writing custom API integrations.

- **AI-assisted coding (Cursor, Devin, Cline)** Query APIs directly from your IDE. Need to test an endpoint or check data? Ask your coding assistant and it calls the API for you.

- **Claude Desktop & ChatGPT users** Turn your AI chat into a universal API client. Ask questions in natural language and get live data from thousands of APIs.

- **No-code teams** No programming required. Connect MCP, ask questions in plain English, and get real data. Ideal for research, analysis, and prototyping.

## Compatibility & Setup per Client

Zyla API Hub MCP uses **Streamable HTTP (SSE)** transport — the server runs in the cloud, so you don't need to install Python, Node.js, or any local runtime. Just provide the URL.

|
Client |
How to connect |
Transport |
Difficulty |

| Claude Code | Run `claude mcp add` and paste the URL | stdio / http | Very easy |

| Claude Desktop | Edit JSON config file and paste the URL | stdio / http | Easy |

| OpenClaw | Run `openclaw mcp add` and paste the URL | stdio / SSE | Very easy |

| Codex CLI | Run `codex mcp add` and paste the URL | stdio / http | Very easy |

| Cursor | Edit `.cursor/mcp.json` in your project | stdio | Easy |

| Devin | Edit JSON config file | stdio | Easy |

| Cline (VS Code) | Edit JSON config file | stdio | Easy |

| ChatGPT | Settings → Apps → Advanced → create Connector with the URL | SSE / HTTP | Medium |

### Important notes

- **ChatGPT requires manual setup** Unlike Claude Code or OpenClaw, you can't just paste the MCP line into the ChatGPT chat. You need to go to **Settings → Apps → Advanced Settings → Developer Mode**, create a new Connector/App, and paste the Zyla API Hub MCP URL there. Once configured, you can use it from the chat normally.

- **Cloud-based &mdash; no local runtime needed** The MCP server uses SSE (Server-Sent Events) transport, which means it runs entirely in the cloud. You don't need to install Python, Node.js, or Docker on your machine. Your AI agent connects to `mcp.zylalabs.com` like visiting a website.

- **Keep your API key private** The `apikey=` parameter in the MCP URL is your private credential. Do not share it publicly or commit it to public repositories. Anyone with your key can use your Zyla API Hub credits. If you think your key was exposed, rotate it from your [API Keys page](/api_keys).

## FAQs

### Is my API key safe?

Your key is sent over HTTPS and only used to authenticate calls to the Zyla API Hub. It is never stored by the MCP server — it's passed through on each request.

### Can I use this with any API on Zyla?

Yes. Any API listed on the marketplace is available through MCP. Your agent will find it via `search_catalog` or `list_categories`. You don't need to subscribe manually — when your agent calls an API for the first time, a pay-as-you-go subscription is created automatically.

### What if my agent can't connect?

Make sure you're using the full URL with your API key: `https://mcp.zylalabs.com/mcp?apikey=YOUR_KEY`. Restart your AI client after saving the config. If the issue persists, check that your key is active in your [API Keys page](/api_keys).

### How is this different from calling APIs directly?

With MCP, your AI agent handles everything: finding the right API, reading its documentation, building the request, and parsing the response. You just ask a question in natural language.

### Do I need to subscribe to each API before using it?

No. When your agent calls an API you haven't used before, Zyla API Hub automatically creates a pay-as-you-go subscription for that API. You only pay for what you use — no manual signup per API required. Just connect MCP and start asking questions.

### Where can I get my API key?

You can either: (1) ask your AI agent to use the `register` tool to create an account and get a key instantly, or (2) [create an account on the website](/register) and find your key on the [API Keys page](/api_keys).

### Can I register without visiting the website?

Yes! Ask your AI agent to register you using the `register` tool. Just provide your name, email, and a password. The agent will get your API key back immediately. You never need to visit zylalabs.com.

### How do I add a payment method from my AI agent?

Ask your agent to get a payment link (it will use the `get_payment_url` tool). You'll receive a Stripe Checkout URL — open it in your browser, add your card, and you're done. All future pay-as-you-go charges are billed automatically.

### Can my agent explore all 10,000+ APIs?

Yes. Use `browse_catalog` with pagination to explore all public APIs. Filter by category (e.g. "Sports & Gaming") or search keyword. The agent can page through results with `page` and `per_page` parameters.

## Resources

- [llms.txt](https://mcp.zylalabs.com/llms.txt): Concise API catalog for LLMs

- [llms-full.txt](https://mcp.zylalabs.com/llms-full.txt): full HTTP reference for agents that cannot use MCP (add ?apikey=YOUR_API_KEY)

- [Browse all APIs](https://zylalabs.com/api-marketplace): Explore the full marketplace

- [MCP Specification](https://modelcontextprotocol.io): Official Model Context Protocol docs

---
Source: https://zylalabs.com/docs/mcp
