pddl
🤖 Enterprise-grade PDDL planning server with natural language processing capabilities. Built with FastMCP framework for AI-powered automated planning and robot task generation.
claude mcp add --transport stdio nbnbtm-pddl-mcp-server python server.py \ --env PDDL_DOMAIN_PATH="./templates/domain.pddl" \ --env FAST_DOWNWARD_PATH="<path-to-fast-downward.py>"
How to use
This MCP server provides a Natural Language to PDDL planning workflow. It accepts natural language inputs, generates corresponding PDDL planning problems, executes plans using the integrated Fast Downward planner, and supports batch processing to produce detailed execution reports. The server exposes capabilities for NLP-driven task formulation, automatic problem generation, plan execution, and batch task orchestration, with type-safe configuration validation via Pydantic. To use it, start the server and connect via MCP-compatible clients (e.g., Claude Desktop or Trae AI IDE). The server will generate PDDL domains and problems, run planners, and output plans, explanations, and batch results to the configured output directory.
How to install
Prerequisites:
- Python 3.8+ installed
- access to a compatible Fast Downward installation
- network access to install Python dependencies
Step-by-step:
- Install Python dependencies
pip install -r requirements.txt - Prepare Fast Downward
- Clone and build Fast Downward:
git clone https://github.com/aibasel/downward.git cd downward ./build.py
- Clone and build Fast Downward:
- Configure environment variables
- Copy example env and edit paths:
cp .env.example .env # Edit .env FAST_DOWNWARD_PATH=/path/to/fast-downward.py PDDL_DOMAIN_PATH=./templates/domain.pddl
- Copy example env and edit paths:
- Run the MCP server
python server.py - Validate installation
- Access logs and ensure the server reports initialization and FastMCP startup messages.
Notes:
- Ensure you have network access for dependencies and that the output directory exists and is writable.
- The PDDL domain template path should point to a valid domain file used by the planner.
Additional notes
Tips and common issues:
- If the server fails to start, verify Python version (3.8+), check that requirements are installed, and confirm the .env configuration is loaded.
- Ensure FAST_DOWNWARD_PATH points to a valid fast-downward.py or launcher script within your Downward checkout.
- The PDDL_DOMAIN_PATH should reference an existing domain template used to generate problems; mismatches can cause planning failures.
- When running batch tasks, monitor the output directory for batch reports and ensure there is sufficient disk space for generated plans and logs.
- For Trae IDE or Claude Desktop integration, ensure the MCP server config matches the expected fields (name, command, args, cwd, env).
- If you modify templates or task configurations, re-run the system config check to validate types and paths.
Related MCP Servers
mcp-vegalite
MCP server from isaacwasserman/mcp-vegalite-server
github-chat
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
pagerduty
PagerDuty's official local MCP (Model Context Protocol) server which provides tools to interact with your PagerDuty account directly from your MCP-enabled client.
futu-stock
mcp server for futuniuniu stock
mcp -boilerplate
Boilerplate using one of the 'better' ways to build MCP Servers. Written using FastMCP