Python Base SDK for interacting with the Toolbox service
Actively maintained. Last release 3 months ago, commits in 23 of the last 26 weeks. A safe choice.
pip install toolbox-core
MCP Toolbox Core SDK
This SDK allows you to seamlessly integrate the functionalities of MCP Toolbox allowing you to load and use tools defined in the service as standard Python functions within your GenAI applications.
For detailed guides, authentication examples, and advanced configuration, visit the Python SDK Core Guide.
Installation
pip install toolbox-core
Quickstart
Here's a minimal example to get you started. Ensure your Toolbox service is running and accessible.
import asyncio
from toolbox_core import ToolboxClient
async def main():
# Replace with the actual URL where your Toolbox service is running
async with ToolboxClient("http://127.0.0.1:5000") as toolbox:
weather_tool = await toolbox.load_tool("get_weather")
result = await weather_tool(location="London")
print(result)
if __name__ == "__main__":
asyncio.run(main())
Usage
The core package provides a framework-agnostic way to interact with your Toolbox server. For detailed guides and advanced configuration, please visit the following sections on our :