v2
mcp
mcp

Discover available tools on an MCP server

Connect to an MCP server and return its available tools.

If the user has a stored MCP credential for this server URL, it will be used automatically — no need to pass an explicit auth credential.

post/api/mcp/discover-tools

Request body

server_urlstring required

URL of the MCP server

auth_tokenstring password nullable

Optional bare Bearer token, Basic/Bearer value, or complete Authorization header. Omit the field (or send null) for an unauthenticated server; an empty string is rejected.

Response

Successful Response

server_namestring nullable
protocol_versionstring nullable

Changes