
MTPX (Model Tool Protocol Extended)
Supports UIby godboii
Protocol-first Python library for advanced agent tool orchestration and MCP interoperability.
What it does
MTPX is a sophisticated orchestration layer for AI agent tools. It provides a protocol-first approach to lazy tool loading, dependency-aware batch execution, and risk-based policy enforcement, while offering an interoperability adapter for the Model Context Protocol (MCP).
Tools
As a library/framework, MTPX provides the infrastructure to create tools. It includes built-in local toolkits:
CalculatorToolkit: Basic mathematical operations.FileToolkit: File system interactions.PythonToolkit: Python code execution.ShellToolkit: Shell command execution.
Installation
Install via pip:
pip install mtpx
For MCP interoperability, use the built-in MCP JSON-RPC adapter provided in the mtp.mcp module.
Supported hosts
- Claude
- Gemini
- OpenAI
- Anthropic
- Groq
- OpenRouter
Quick install
pip install mtpxInformation
- Pricing
- free
- Published
- 4/22/2026
- stars






