v1

latestOpenAPI 3.1.0raw.githubusercontent.com2025-01-027446226.6 KB
mcp-server

List Tools

Lists all tools available for a specific remote MCP server in various AI model formats.

This eliminates the need for manual MCP code implementation and format conversion. Under the hood, MCP Handle instantiates an MCP client and establishes a connection with the remote MCP server to retrieve available tools.

post/mcp-server/list-tools

Request body

serverUrlstring required

The full URL for connecting to the MCP server

connectionType'SSE' | 'StreamableHttp'
format'openai' | 'anthropic' | 'gemini' | 'mcp_native'
headersobject nullable

Optional HTTP headers to include when connecting to the server

Response

Successful Response

successboolean required

Whether the list tools request was successful

format'openai' | 'anthropic' | 'gemini' | 'mcp_native' required
errorstring nullable

Error message, if the request failed