Esta página se muestra en inglés. Una traducción al español está en curso.
ScriptsMay 12, 2026·2 min de lectura

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.

Listo para agents

Este activo puede ser leído e instalado directamente por agents

TokRepo expone un comando CLI universal, contrato de instalación, metadata JSON, plan según adaptador y contenido raw para que los agents evalúen compatibilidad, riesgo y próximos pasos.

Stage only · 29/100Stage only
Superficie agent
Cualquier agent MCP/CLI
Tipo
Script
Instalación
Single
Confianza
Confianza: Established
Entrada
toolbox-core
Comando CLI universal
npx tokrepo install 8ff53e7c-dd2a-5bef-ae1e-43e711d45c13
Introducción

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.

🙏

Fuente y agradecimientos

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

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados