You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 87e8a7e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/ai-control-plane/mcp-gateway/gateway-endpoints.mdx
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,15 @@ The two are not exclusive. A server that joins a gateway keeps its own URL, and
28
28
29
29
## How agents work through a gateway
30
30
31
-
A gateway serves the same four tools regardless of its members:
31
+
A gateway serves the same five tools regardless of its members. Four of them discover and call member tools:
32
32
33
33
-`list_servers` returns the reachable members, what each one is for, and each member's status.
34
34
-`describe_server` returns one member's tools as qualified names in the form `server--tool`, with descriptions but no input schemas.
35
35
-`describe_tools` returns input schemas for the specific tools the agent intends to call.
36
36
-`execute_tool` runs one tool, with the qualified name in `name` and the JSON payload in `arguments`.
37
37
38
+
The fifth, `connection_status`, shows which members a person still needs to connect. See [Check which members are connected](#check-which-members-are-connected).
39
+
38
40
The built-in instructions sent on connect teach agents to work from the outside in, never to execute a tool they have not described (guessed arguments fail validation), and to re-check `list_servers` before retrying a failed call.
39
41
40
42
A failure in one member stays with that member. A timeout, an unreachable upstream, or an error response surfaces as that member's error result, and `describe_tools` reports failing members separately while healthy members return their schemas. An agent keeps working against the rest of the gateway.
@@ -49,6 +51,22 @@ Each member in `list_servers` reports one of three statuses:
49
51
50
52
Some servers can be members but are never served: a disabled server, a server without a slug, and a server that clients connect to directly without the platform in the request path. The gateway's member list marks these as **Excluded** so the reason stays visible.
51
53
54
+
### Check which members are connected
55
+
56
+
Members that use their own OAuth grant, such as a SaaS service behind the gateway, need each person to connect them once. Until they do, calls to that member fail while the rest of the gateway keeps working. To see where they stand, people can ask their agent to check the gateway connection status. The agent calls `connection_status`, which lists the members that person can reach, shows which are ready, and links to the gateway's connect page for the rest. It works before any member is connected, and agents also call it on their own when a member reports that it needs authentication.
57
+
58
+
Connecting happens in the browser, on the same page an authentication challenge opens. The result does not refresh by itself, so ask the agent to check again after connecting.
59
+
60
+
Clients that support [MCP Apps](https://modelcontextprotocol.io/docs/extensions/apps), such as Claude, show the result as an interactive panel with a **Connect** link for each member that still needs one. Other clients get the same list and link as text.
61
+
62
+

63
+
64
+
A gateway without a sign-in has no connect page, so its members' credentials have to be set up by an administrator.
65
+
66
+
<Callouttype="info">
67
+
Custom instructions replace the built-in guidance that tells agents when to call `connection_status`. Mention the tool in custom instructions if agents should keep using it. Members that receive credentials through [identity chaining](/docs/ai-control-plane/identity/identities/enterprise-managed-auth) show as not connected, even though calls to them succeed.
68
+
</Callout>
69
+
52
70
## Create a gateway and add servers
53
71
54
72
- On the **MCP** page, select **Add new**, then **New gateway**, and name the gateway. The platform creates a hosted address and a dedicated sign-in for the gateway, so clients can connect right away and must authenticate to do so.
@@ -61,7 +79,7 @@ Members appear in `list_servers` in the order shown on the **Overview** tab. Use
61
79
62
80
## Customize instructions
63
81
64
-
Every client receives the gateway instructions when it connects. The built-in text explains the four tools. To replace it, open **Settings** and edit **Instructions**. Custom text replaces the built-in instructions entirely, and saving the field empty restores them.
82
+
Every client receives the gateway instructions when it connects. The built-in text explains the five gateway tools. To replace it, open **Settings** and edit **Instructions**. Custom text replaces the built-in instructions entirely, and saving the field empty restores them.
65
83
66
84
Anyone who can connect to the gateway can read its instructions, so keep secrets out of them. Clients that are already connected keep the previous text until they reconnect. The **Inspect** tab shows the instructions, tools, and member list exactly as a client receives them.
0 commit comments