MCPTools
passing the URL of the MCP server and setting the transport to streamable-http
:
server_params
argument to define the MCP connection. This way you can specify the headers to send to the MCP server with every request, and the timeout values:
Setup the server
Setup the client
Run the server
Run the client