ScriptsMay 12, 2026·2 min read

MCP Toolbox Python SDKs — Use Toolbox Tools in Apps

Python SDKs that load MCP Toolbox tools as callable functions/objects, with packages for core apps, Google ADK, LangChain/LangGraph, and LlamaIndex.

Agent ready

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Stage only · 29/100Stage only
Agent surface
Any MCP/CLI agent
Kind
Script
Install
Single
Trust
Trust: Established
Entrypoint
toolbox-core
Universal CLI install command
npx tokrepo install 8ff53e7c-dd2a-5bef-ae1e-43e711d45c13
Intro

Python SDKs that load MCP Toolbox tools as callable functions/objects, with packages for core apps, Google ADK, LangChain/LangGraph, and LlamaIndex.

  • Best for: Python teams who want Toolbox-defined tools usable inside LangChain/LlamaIndex or custom code
  • Works with: Python; MCP Toolbox service; optional integration packages for ADK/LangChain/LlamaIndex
  • Setup time: 10–25 minutes

Practical Notes

  • Quant: the repo lists 4 packages (toolbox-core, toolbox-adk, toolbox-langchain, toolbox-llamaindex).
  • Quant: install is a single pip install ... and validation is a docsite tutorial run (copy-paste friendly).

A practical “Toolbox-first” architecture

If you already have agents calling tools via MCP, the SDKs are useful when you need the same tool definitions inside your Python app (batch jobs, evaluation harnesses, or offline pipelines).

Recommended approach:

  1. Keep tool definitions in Toolbox (single source of truth).
  2. Expose tools to agents via MCP for interactive workflows.
  3. Reuse tools via SDK for Python-side batch execution (tests, evals, scheduled runs).

This avoids the classic drift where “agent tools” and “backend tools” diverge over time.

FAQ

Q: Do I need LangChain to use it? A: No. toolbox-core is framework-agnostic; integrations are optional.

Q: Is this the Toolbox server? A: No. The README says you should have a running Toolbox server, and these packages integrate with it.

Q: What should I test first? A: Start with one simple tool, run the docsite quickstart, then wire it into your app’s CI job.

🙏

Source & Thanks

Source: https://github.com/googleapis/mcp-toolbox-sdk-python > License: Apache-2.0 > GitHub stars: 182 · forks: 49

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets