/v2/action-gateway/mcp-servers/{server_ref}/resyncDiscover an MCP Server's Tools
Connects to the server, lists its tools, and records them. Discovered tools are not callable until you enable them.
When discovery finishes in time, returns 200 with the server and its tools; a discovery failure is
reported in syncStatus and syncError rather than as an error. Otherwise returns 202 with pending
set while discovery continues: poll GET .../mcp-servers/{server_ref} until lastSyncedAt or
syncError changes (syncStatus is not reset while discovery runs).
For a server registered with credentialRefSource connection, user_id is required; if that user
has not authorized the server yet, the response carries authorization with the URL to send them to.
Resyncs are rate limited per team, and a team can run only a few discoveries at once; either limit
returns 429.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
A 400 is returned: There was an error parsing the request body. A 401 is returned: Authentication failed due to invalid credentials. A 404 is returned: The resource was not found. A 429 is returned: The API rate limit has been exceeded. A 500 is returned: There was a server error. Any other status is an error: There was an unexpected error.