Agent Developers
Code snippets to get started with the Tollbit Dynamic Toolbox and invoke tools.
The dynamic toolbox is available publicly as a streamable HTTP server available at https://mcp.tollbit.dev/mcp. You can integrate it into your app according to the MCP docs + SDKs.
Below are examples of how to integrate it using the official MCP SDKs, but you can also use any HTTP client to make requests to the server if it meets the MCP spec.
-
Install the official ModelContextProtocol SDK
-
Initialize the client + transport. Note: your api key must be sent in the
x-api-key
header.index.ts -
List tools in the catalog + invoke tools (HackerNews’ get_stories used as an example)
index.ts
-
Install the official ModelContextProtocol SDK
-
Initialize the client + transport. Note: your api key must be sent in the
x-api-key
header.index.ts -
List tools in the catalog + invoke tools (HackerNews’ get_stories used as an example)
index.ts
Coming soon!