{"id":"0a243183-efe8-4809-a16e-148bacb1df13","shortId":"3D5SZH","kind":"skill","title":"Compose router, evaluator, and handoff workflows over MCP servers with mcp-agent","tagline":"Connect LLMs to MCP servers through composable patterns like router, evaluator-optimizer, and orchestrator flows without hand-managing server lifecycles.","description":"# Compose router, evaluator, and handoff workflows over MCP servers with mcp-agent\n\nConnect LLMs to MCP servers through composable patterns like router, evaluator-optimizer, and orchestrator flows without hand-managing server lifecycles.\n\n## Prerequisites\n\nPython runtime, MCP servers, LLM API key, optional Temporal for durable workflows\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- uv init\n- uv add \"mcp-agent[openai]\"\n- uv run main.py\n- uv add \"mcp-agent\"\n\nRequirements and caveats from upstream:\n- python\n- We recommend using [uv](https://docs.astral.sh/uv/) to manage your Python projects (uv init).\n\nBasic usage or getting-started notes:\n- <a id=\"minimal-example\"></a>\n- **Minimal example**\n- async with app.run():\n\n- Source: https://github.com/lastmile-ai/mcp-agent\n- Extracted from upstream docs: https://raw.githubusercontent.com/lastmile-ai/mcp-agent/HEAD/README.md\n\n## Documentation\n\n- https://docs.mcp-agent.com/\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/compose-router-evaluator-and-handoff-workflows-over-mcp-servers-with-mcp-agent/)","tags":["compose","router","evaluator","and","handoff","workflows","over","mcp","servers","with","agent","skills"],"capabilities":["skill","source-agentskillexchange","skill-compose-router-evaluator-and-handoff-workflows-over-mcp-servers-with-mcp-agent","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/compose-router-evaluator-and-handoff-workflows-over-mcp-servers-with-mcp-agent","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,125 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:09:54.371Z","embedding":null,"createdAt":"2026-05-18T13:15:48.084Z","updatedAt":"2026-05-18T19:09:54.371Z","lastSeenAt":"2026-05-18T19:09:54.371Z","tsv":"'/lastmile-ai/mcp-agent':147 '/lastmile-ai/mcp-agent/head/readme.md':154 '/skills/compose-router-evaluator-and-handoff-workflows-over-mcp-servers-with-mcp-agent/)':163 '/uv/)':124 'add':99,108 'agent':13,48,102,111,158 'agentskillexchange.com':162 'agentskillexchange.com/skills/compose-router-evaluator-and-handoff-workflows-over-mcp-servers-with-mcp-agent/)':161 'api':77 'app.run':143 'async':141 'basic':132 'caveat':114 'compos':1,20,36,55 'connect':14,49 'doc':151 'docs.astral.sh':123 'docs.astral.sh/uv/)':122 'docs.mcp-agent.com':156 'document':155 'durabl':82 'environ':95 'evalu':3,25,38,60 'evaluator-optim':24,59 'exampl':140 'exchang':160 'extract':148 'flow':29,64 'get':136 'getting-start':135 'github.com':146 'github.com/lastmile-ai/mcp-agent':145 'hand':32,67 'hand-manag':31,66 'handoff':5,40 'init':97,131 'instal':84,88 'key':78 'lifecycl':35,70 'like':22,57 'llm':76 'llms':15,50 'main.py':106 'manag':33,68,126 'match':93 'mcp':8,12,17,43,47,52,74,101,110 'mcp-agent':11,46,100,109 'minim':139 'note':138 'openai':103 'optim':26,61 'option':79 'orchestr':28,63 'path':91 'pattern':21,56 'prerequisit':71 'project':129 'python':72,117,128 'raw.githubusercontent.com':153 'raw.githubusercontent.com/lastmile-ai/mcp-agent/head/readme.md':152 'recommend':119 'requir':112 'router':2,23,37,58 'run':105 'runtim':73 'server':9,18,34,44,53,69,75 'setup':90 'skill':159 'skill-compose-router-evaluator-and-handoff-workflows-over-mcp-servers-with-mcp-agent' 'sourc':144,157 'source-agentskillexchange' 'start':137 'tempor':80 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'upstream':87,116,150 'usag':133 'use':85,120 'uv':96,98,104,107,121,130 'without':30,65 'workflow':6,41,83","prices":[{"id":"71234960-e1fc-4c1a-b1f8-595f5e177418","listingId":"0a243183-efe8-4809-a16e-148bacb1df13","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:15:48.084Z"}],"sources":[{"listingId":"0a243183-efe8-4809-a16e-148bacb1df13","source":"github","sourceId":"agentskillexchange/skills/compose-router-evaluator-and-handoff-workflows-over-mcp-servers-with-mcp-agent","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/compose-router-evaluator-and-handoff-workflows-over-mcp-servers-with-mcp-agent","isPrimary":false,"firstSeenAt":"2026-05-18T13:15:48.084Z","lastSeenAt":"2026-05-18T19:09:54.371Z"}],"details":{"listingId":"0a243183-efe8-4809-a16e-148bacb1df13","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"compose-router-evaluator-and-handoff-workflows-over-mcp-servers-with-mcp-agent","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"60c474a57dc5e11168a2b7be670e8a8575b651dd","skill_md_path":"skills/compose-router-evaluator-and-handoff-workflows-over-mcp-servers-with-mcp-agent/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/compose-router-evaluator-and-handoff-workflows-over-mcp-servers-with-mcp-agent"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Compose router, evaluator, and handoff workflows over MCP servers with mcp-agent","description":"Connect LLMs to MCP servers through composable patterns like router, evaluator-optimizer, and orchestrator flows without hand-managing server lifecycles."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/compose-router-evaluator-and-handoff-workflows-over-mcp-servers-with-mcp-agent"},"updatedAt":"2026-05-18T19:09:54.371Z"}}