Skip to main content
Agents can use every endpoint through our MCP server, over Streamable HTTP:
It has three tools, so the agent searches the catalogue instead of loading every endpoint into its context: Searching the catalogue needs no account. call_endpoint runs on your account, and there are two ways to give it one:
  • Sign in. Add the URL with no key. The first time the agent calls an endpoint, the client asks you to sign in to your account and approve it. This is the way for ChatGPT and Claude, and it works in any client that supports OAuth for MCP servers.
  • API key. Send Authorization: Bearer sk_live_... with every request. Use this for your own agents and for servers, where nobody is there to sign in.
An app you signed in to is listed under Connected apps on the Account page of your dashboard, where you can disconnect it.

Connect a client

In Claude, open Customize, then Connectors, choose Add custom connector and enter the URL:
Claude can search the catalogue straight away. The first time it calls an endpoint it shows a Connect card: sign in and approve, and it retries the call.
Other clients that support remote MCP servers need the same URL, and either the header or a sign-in.

Signing in, for client developers

The server follows the MCP authorization specification:
  • call_endpoint without a credential answers 401 with a WWW-Authenticate header that points to /.well-known/oauth-protected-resource/mcp. The handshake, tools/list and the two free tools never do.
  • The authorization server is https://perceptlayer.com, described at /.well-known/oauth-authorization-server.
  • Clients are public: PKCE with S256 is required and there are no client secrets. A client registers at /oauth/register, or uses an https URL to its client metadata document as its client_id.
  • An access token lasts one hour. The refresh token is replaced each time it is used.
  • There is one scope, endpoints:call.

Getting an API key from an agent

An agent that knows its user’s email can get an API key for that user’s account without the user copying one from the dashboard. It follows auth.md (the service_auth method of the auth.md protocol):
  1. The agent posts the email to https://perceptlayer.com/agent/identity and gets a 6-digit code and a link.
  2. The user opens the link, signs in with that email, and types the code.
  3. The agent polls https://perceptlayer.com/oauth/token and receives an API key named “Agent key”.
The key works for the REST API and the MCP server, and is listed and revoked under Keys like any other. Only the account with the email the agent named can approve, and a new key sends the usual security email.

Limits

  • Calls through MCP follow the same rules as the API: failed calls are free, rate limits apply, and restricted endpoints need the terms.
  • Responses longer than 100,000 characters are cut short. Use an endpoint’s paging or limit parameters for large results.
  • Connect from a desktop app, a command-line tool or your own server. MCP clients that run in a web browser aren’t supported yet.
Last modified on November 19, 2026