mcp-agent
Helps developers build Python AI agents with MCP tools, task routing, and composable workflows.
Description
mcp-agent is an open-source Python library for building AI agents around the Model Context Protocol. It manages MCP server connections and makes external tools available to code-defined agent workflows. The library provides patterns for routing, parallel processing, and coordinating multiple workers. Temporal integration supports longer-running processes, and applications can also be exposed to other clients as MCP servers. For example, a developer can connect search and filesystem servers, route tasks among agents, and combine their outputs. Running the solution requires a Python environment, MCP configuration, and access to the selected language model. The core library is available under Apache-2.0 without a license fee. Managed cloud deployment is described separately and should not be assumed to be free hosting. Language-model providers, infrastructure, and connected services may charge their own fees.