Skip to main content
📖 The AI Tool Bible

mcp-agent

Python framework for building composable AI agents on the Model Context Protocol

Free· Free and open source (Apache 2.0). LastMile AI offers an optional managed cloud/deployment tier (Beta) with usage-based pricing not publicly listed at time of writing.MCP ServersProvider-agnostic — works with OpenAI (GPT-4o family), Anthropic (Claude 3.5/3.7), Google (Gemini), Azure OpenAI, and AWS Bedrock
Visit website →
Best for

Python teams building multi-step, tool-using agents who want to compose Anthropic-style workflow patterns on top of the MCP ecosystem, with a clean upgrade path to Temporal-backed durable execution.

Skip if

Node/TypeScript-only shops, no-code builders who want a drag-and-drop agent canvas, or teams that need a fully managed hosted agent platform with SLAs today.

mcp-agent is an open-source Python framework from LastMile AI for building AI agents that speak the Model Context Protocol (MCP) natively. Rather than inventing yet another proprietary tool abstraction, it treats MCP as the shared substrate: any MCP server you already have (filesystem, GitHub, Slack, Postgres, browser, custom) becomes an immediately usable tool for your agent, with tools, resources, prompts, notifications, OAuth, sampling, and elicitation all supported end-to-end. On top of that base, the library ships composable implementations of the workflow patterns from Anthropic's 'Building Effective Agents' essay — parallel/map-reduce, router, intent classifier, orchestrator-worker, deep-research, evaluator-optimizer, and multi-agent swarm — so you can mix and match rather than adopt one monolithic architecture. The same agent code runs on plain asyncio for local development or on Temporal for durable, pause/resume, long-running workflows without changing the API. Provider support spans OpenAI, Anthropic, Google, Azure, and AWS Bedrock, and every agent can be re-exposed as its own MCP server so other MCP-aware clients (Claude Desktop, Cursor, Windsurf, custom apps) can call into it. Configuration lives in mcp_agent.config.yaml and mcp_agent.secrets.yaml, and OpenTelemetry tracing plus token accounting are built in for production observability. Typical users are Python developers and applied-AI teams who want a lightweight, code-first alternative to LangGraph or CrewAI that leans on the MCP ecosystem instead of custom connectors, and who value being able to run the same agent locally, in a container, or on a durable execution engine without rewrites.

Editor's take

This is the framework I reach for when I want an agent that actually uses the MCP servers I already run, rather than yet another bespoke tool wrapper. The pattern library reads like the Anthropic essay in executable form, and the asyncio-to-Temporal escape hatch is genuinely rare — most 'production-ready' agent frameworks make you rewrite to get durability. Python-only and rough edges around the hosted tier are the main caveats.

— The AI Tool Bible editorial team

Pros

  • MCP-native from the ground up — any MCP server (filesystem, GitHub, Slack, browser, custom) is immediately usable without writing adapters
  • Ships composable implementations of Anthropic's canonical agent patterns (router, orchestrator-worker, evaluator-optimizer, swarm, deep research)
  • Durable execution via Temporal is opt-in — the same agent code runs on asyncio locally and pauses/resumes on Temporal in production
  • Multi-provider: OpenAI, Anthropic, Google, Azure, and AWS Bedrock supported behind a common interface
  • Agents can themselves be exposed as MCP servers, making them callable from Claude Desktop, Cursor, or any MCP-aware client
  • Built-in OpenTelemetry tracing and token accounting for real observability, not just print-debugging
  • Apache 2.0 licensed, active repo (8k+ stars) with regular releases and a healthy examples directory

Cons

  • ⚠️ Python-only — no first-class TypeScript/JavaScript port for teams standardized on Node
  • ⚠️ You still have to run and secure the underlying MCP servers yourself; the framework does not host them for you
  • ⚠️ Durable execution requires operating a Temporal cluster (self-hosted or Temporal Cloud), which is meaningful infra overhead
  • ⚠️ The hosted mcp-agent Cloud deployment product is still labeled Beta, so production-grade managed hosting is not fully mature
  • ⚠️ Fewer prebuilt integrations and less community tutorial content than LangChain/LangGraph, so you will read source more often
  • ⚠️ Rapidly evolving API surface — minor releases still land breaking changes as MCP itself matures

Use cases

MCP-based deep research agentOrchestrator-worker document processingRouter-based customer support triageEvaluator-optimizer content refinement loopsMulti-agent swarm for code reviewDurable long-running research workflows on TemporalExposing an internal agent as an MCP server for Claude DesktopParallel map-reduce over large document setsIntent classification and hand-off between specialist agents

Explore related

Compare with similar tools

All in MCP Servers

Airtable MCP Server

MCP Servers

Model Context Protocol server that gives LLMs full read/write access to your Airtable bases.

Free· Open source (MIT) and free to run. You still need an Airtable account and personal access token; Airtable itself is Free / Team $20 per user/mo / Business $45 per user/mo / Enterprise (custom).Natural-language CRM queries against AirtableLLM-driven lead triage and enrichment

Apple Notes MCP

MCP Servers

Let Claude read your local Apple Notes over the Model Context Protocol.

Free· Free / open-source (MIT). No hosted service; runs locally on your Mac.Personal knowledge retrieval from Apple NotesSearching decade-old meeting notes during a Claude chat

AWS MCP Servers

MCP Servers

Official AWS Labs collection of Model Context Protocol servers for connecting AI coding assistants and agents to AWS services and documentation.

Free· Free and open source (Apache 2.0). AWS service usage billed at standard AWS rates. Optional AWS-hosted 'remote managed' servers included at no additional charge beyond consumed AWS services.AWS infrastructure-as-code scaffolding with CDK or CloudFormationGrounded answers from live AWS documentation

Azure MCP Server

MCP Servers

Official Microsoft MCP server that exposes 40+ Azure services to AI agents under the developer's own Entra ID credentials.

Free· Server is free and MIT-licensed. Azure resource usage is billed separately at standard Azure rates based on whatever services the agent queries or mutates.Natural-language Azure resource inventoryLog Analytics and Kusto (KQL) querying from an agent

Blender MCP

MCP Servers · Model-agnostic; commonly paired with Claude (Sonnet/Opus) via Claude Desktop, but works with any MCP-capable client

Give Claude hands inside Blender — an MCP server for natural-language 3D modeling.

Free· Free and open-source (MIT license). No hosted service, no subscription; you supply your own MCP-capable client (Claude Desktop, Cursor, VS Code, OpenCode) and pay only for whatever LLM the client uses.AI-assisted 3D scene blockingGenerative prop and mesh creation via Hyper3D Rodin

Brave Search MCP

MCP Servers

Give any MCP client web and local search powered by the Brave Search API.

Freemium· Free: $ 0 USD · Team: $ 4 USD per user/month · Enterprise: $ 21 USD per user/monthGrounded web search inside Claude DesktopAgent fact-checking and citation lookup