Esta página se muestra en inglés. Una traducción al español está en curso.
SkillsMay 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

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
Asset
Comando de instalación directa
npx -y tokrepo@latest install 8ff53e7c-dd2a-5bef-ae1e-43e711d45c13 --target codex

Ejecutar después de confirmar el plan con dry-run.

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