What you’ll learn:
- How to install the Metorial Python SDK
- How to make requests to the Metorial API using the SDK
Explore Python Examples: Check out practical examples and sample code in the metorial-python examples directory on GitHub.
Using the SDK
To use the SDK, import the You can now use the
Metorial class and create an instance with your API key:metorial instance to make requests to the Metorial API.Making Requests
Create a provider session to interact with your deployed MCP servers. The session automatically formats tools for your chosen provider and handles the connection lifecycle: