Connect to MCPs
To connect to remote servers, you have to first obtain a URL from the registry. Then, you may connect to it using MCP SDK's StreamableHTTPClientTransport
.
Connecting to MCPs via the Smithery gateway conforms to the standard MCP specification for Streamable HTTP. The main difference is we offer the ability to pass a session configuration to the server via the config
query parameter.
URL Format
The URL format is as follows:
http
Creating the URL
Here's an example for constructing the URL with the required parameters:
typescript
You can find the exact details of how to connect to the MCP on its server page under the API tab.
Limits
Each account is subject to a maximum on 10 free concurrent sessions. If you need more, please contact us.
On this page