Cette page est affichée en anglais. Une traduction française est en cours.
ScriptsMay 12, 2026·2 min de lecture

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.

MCP Hub
MCP Hub · Community
Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Stage only · 29/100Stage only
Surface agent
Tout agent MCP/CLI
Type
Script
Installation
Single
Confiance
Confiance : Established
Point d'entrée
toolbox-core
Commande CLI universelle
npx tokrepo install 8ff53e7c-dd2a-5bef-ae1e-43e711d45c13
Introduction

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 et remerciements

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

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires