HTN Planning as a Coordination Layer for Multi-Server MCP Tool Orchestration
Abstract
The Model Context Protocol (MCP) isolates servers by design: only the host can orchestrate cross-server workflows. When the host is a large language model, the resulting orchestrations are non-deterministic, non-reproducible, and pay one inference round-trip per tool call. We present a coordination architecture in which a Hierarchical Task Network (HTN) planner generates a verifiable cross-server plan once, and a runtime middleware executes it deterministically across multiple MCP servers, binding cross-action data dependencies via a template mechanism (|$context.X|) substituted at execution time. The architecture mirrors MCP's isolation constraint: each compound task decomposes into server-local primitive actions, and inter-server data flow is bound at execution time via JSON-path output extractors. We instantiate the architecture on five HTN domains spanning laboratory robotics, bioinformatics and multiscale modelling, and demonstrate end-to-end execution from a browser-based plan controller against eight live third-party MCP servers querying real biological databases.
Create a lesson
Metadata
- Comments
- 5 pages. Camera-ready version of a paper accepted at the ICAPS 2026 Workshop on Hierarchical Planning (HPlan 2026), Dublin. Non-archival. Code: https://github.com/PCfVW/hplan26-artifact
Related papers
PDEU-Bench: Benchmarking the Personalized Planning Lifecycle of Tool-Calling LLM Agents
Shared title terminologycs.AIHuayi Lai, Shichao Song, Qingchen Yu et al.
Planner-as-Router: Joint Plan-Time Model Routing for Cost-Efficient Multi-Agent Workflows
Shared title terminologycs.AIVivek Kumar Singh, Preeti Priyam, Gautam Bhowmick
TACT-Bench: Testing Adaptive Conversational Threats against Tool-Use Agents
Shared title terminologycs.AIIlia Hashemi Rad, Feijie Wu, Haoyu Wang et al.
Multi-agent System for Automatic Discovery of Pareto-optimal Meta-solvers for PDEs
Shared title terminologycs.AIYoungkyu Lee, Shanqing Liu, Jerome Darbon et al.
SchemaCaps: When a Compatible Tool Update Silently Widens an AI Agent's Authority
Shared title terminologycs.AIYulliwas Ameur, Samia Bouzefrane, Soumya Banerjee
Intent-Conditioned Argument Mediation for Tool-Using LLM Agents: Blocking Trusted-but-Unauthorized Arguments
Shared title terminologycs.AIYulliwas Ameur, Miqeas Pedro Mendes, Samia Bouzefrane