MCP (Model Context Protocol) is a standard way for a system to offer its actions to an AI agent. If you run your own MCP server, or a service you use offers one, you can connect it to a custom agent instead of building API calls one by one.
Some ready-made connections in the tool picker already work this way, Slack and Attio among them. You only need the steps below for your own server or one that isn't listed.
This is different from Settings → Developer → MCP. That page is Gleap's own MCP server, which lets AI assistants outside Gleap work with your Gleap data. This article is the other direction: your agent using someone else's server.
Open the agent and go to Settings → Tools.
Click Add tool, type Custom MCP in the search box and choose Custom MCP. (On the Connect a tool tab, MCP server under Build your own opens the same form.)
Enter a Name your team will recognise and the Server URL, then click Next.
Under Authentication, choose how Gleap signs in (see below). Click Save, or Connect via OAuth if you chose OAuth.
Gleap asks the server which tools it offers and opens What may agents do with <name>?. Check the rows (see below) and click Save and add.
The server is now one of the agent's tools. It's also added to your project under Settings → Apps, so your other agents can use it too.
No authentication. Only for a server that exposes nothing sensitive.
Headers (manual). Enter the header names and values yourself. Most token-based servers work this way. A header value can also use placeholders such as {{session.userId}} or {{session.email}}, filled in from each conversation's contact.
OAuth 2.0. Choose Connect via OAuth and sign in with the provider. If the server can't register Gleap on its own, enter a Client ID first, plus a Client Secret if it needs one. You can still add headers, which are sent next to the OAuth token.
Prefer OAuth where the server supports it. A pasted token stays valid until someone rotates it, while an OAuth connection can be revoked on the provider's side without touching Gleap.
What agents may do with a server's tools is set once for the project. Every agent that uses the server follows the same table, and each tool gets two settings:
A customer asks: Allow (guests too), Identified users (guests are passed on), Ask first (a teammate on the board you pick OKs it) or Never (Kai can still use it while investigating).
Your team asks: Allow, Ask first (a teammate confirms before it runs) or Never.
The starting points at the top set every row at once: Careful, Recommended or Open. Recommended lets look-ups run, asks first before changes that reach customers and never deletes. Read each row anyway: the starting values come from how Gleap classified the tool, and a tool that only reads can be classed as one that changes things.
To keep a server read-only, leave its look-ups on Allow and set every tool that changes or deletes something to Never.
To change the table later:
Go to Settings → Apps and open the server.
Under What agents may do, change any row. It applies to every agent that uses this server.

If the permissions step or the server's page in Settings → Apps lists no tools, it's usually one of three things:
The URL has the wrong path. MCP endpoints often sit on a specific path, such as /mcp, not on the domain root.
The credentials were rejected, so the server returned nothing.
The server really offers no tools.
Check the URL against your provider's documentation first.