# Other platforms (/docs/connect/platforms)

## Microsoft Copilot Studio [#microsoft-copilot-studio]

Copilot Studio has no wallet, so it can't pay per question: it uses free datasets
and subscriptions.

1. In your agent, open Tools → Add a tool → New tool → Model Context Protocol.

2. Enter a server name (`quarry`), a description, and the server URL. The agent
   reads the description to decide when to call quarry, so say what's in it, for
   example "Search and cite sourced reports, filings, and research."

3. Choose the authentication and the matching URL:

   | Authentication                             | Server URL                            | Your agent can                                                                                       |
   | ------------------------------------------ | ------------------------------------- | ---------------------------------------------------------------------------------------------------- |
   | API key: type Header, name `Authorization` | `https://quarry.market/api/mcp`       | Use your organization's subscriptions, for everyone who uses the agent.                              |
   | OAuth 2.0: Dynamic discovery               | `https://quarry.market/api/agent/mcp` | Use the subscriptions of whoever signs in, after they sign in to quarry and click **Connect agent**. |
   | None                                       | `https://quarry.market/api/mcp`       | Search quarry and read free datasets only.                                                           |

4. Click Create, then Add tool. Under Create a new connection, enter the key if you
   chose API key: type `Bearer ` followed by the key, as in `Bearer qk_...`.
   Then click Add to agent.

For an agent that many employees use, choose API key, with a key created from your
organization's quarry account: every question then uses that account's
subscriptions, and search limits count that account's searches. With None,
Copilot Studio reaches quarry from Microsoft's servers, and your employees share the
signed-out limits with everyone else calling from there. See
[Share with your team](/docs/subscriptions#teams) and
[API keys](/docs/subscriptions#api-keys).

Copilot Studio only connects to MCP servers over Streamable HTTP, which is what
quarry serves. Your organization's Power Platform data policies apply to the
connection.

## n8n [#n8n]

1. Add an MCP Client Tool node and connect it to the Tool input of an AI Agent
   node.
2. Set Endpoint to `https://quarry.market/api/mcp` and Server Transport to HTTP
   Streamable.
3. For Authentication, choose None to use free datasets, or Bearer Auth with a new
   credential whose token is your [API key](/docs/subscriptions#api-keys) to use
   your subscriptions.
4. Leave Tools to Include on All.

## OpenAPI [#openapi]

Tools that import an API from an OpenAPI description can use:

```text
https://quarry.market/openapi.json
```

It describes each dataset's contract and pay-per-question route (see the
[Dataset contract](/docs/api)), plus the subscription routes, which take an API
key as a bearer token ([Subscription API](/docs/api/subscriptions)). It has no free
search across datasets: that's only in the MCP server, so use MCP when your tool
supports it.
