Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PDDL MCP ServerCreate a plan for robot r2 to move from the warehouse to the office"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PDDL MCP Server
A PDDL planning server based on the FastMCP framework, providing natural language to PDDL planning conversion, execution, and batch processing capabilities.
โจ Features
๐ฃ๏ธ Natural Language Processing: Generate PDDL planning tasks from natural language descriptions
๐ค Automatic Problem Generation: Create PDDL problem files based on task parameters
๐ฆ Batch Task Processing: Run multiple tasks in batch and generate detailed execution reports
๐ Type Safety: Data validation and type checking with Pydantic
โ๏ธ Configuration Validation: Built-in configuration and system info checking
๐ Project Structure
โ๏ธ Installation & Setup
1. Install Dependencies
2. Configure Fast Downward
3. Environment Configuration
Copy .env.example to .env and set:
๐ง MCP Client Configuration
Claude Desktop
Find the config file:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add server config:
Restart Claude Desktop
Trae AI IDE
Open MCP Settings:
Click settings โ MCP Servers
Or use shortcut
Ctrl+Shift+M
Add new server:
Test Connection
๐ Running & Usage
Start the Server
You should see:
Run Tests
Batch Task Processing
๐ฌ Prompt Examples
Basic Planning Task
Natural Language Planning
Multi-Robot Coordination
Batch Task Processing
System Configuration & Diagnostics
๐งช Testing Guide
Prerequisites
Python 3.8+
Dependencies installed (
pip install -r requirements.txt).envconfiguredTrae IDE imported project
Server Status
MCP server should show as connected in Trae IDE
Testing Methods
1. Trae IDE Direct Test
System config check
Simple planning task
Natural language planning
Multi-robot coordination
Batch task processing
2. Command Line
Start server:
python server.pyRun test suite:
python test_server.pyBatch tasks:
python core/batch_runner.py
Expected Results
System config check returns JSON with config path, Fast Downward path, env status, output dir
Planning tasks generate:
PDDL problem files (
output/pddl/)Plan files (
output/plan/)Explanation files (
output/explanation/)
Batch tasks generate:
Batch report (
output/report.json)Analysis (
output/report.md)Individual task files
Common Test Scenarios
Basic move task: single robot, simple path, expect 1-3 steps
Complex path: robot passes multiple rooms, expect optimal path
Multi-robot coordination: possible path conflicts, expect conflict analysis and solution
Error handling: invalid task params, expect clear error message
Troubleshooting
Server fails to start:
Check dependencies:
pip install -r requirements.txtCheck Python version:
python --versionCheck
.envconfig
Planning fails:
Validate Fast Downward path
Check
templates/domain.pddlCheck output directory permissions
MCP connection fails:
Restart Trae IDE
Check
.mcp.jsonconfigEnsure server port is free
Files not generated:
Check
output/directory permissionsEnsure enough disk space
Validate file paths
Performance Testing
Response time: Simple task < 2s (run multiple times)
Concurrency: Multiple tasks at once, expect no conflict
Large-scale tasks: 10+ robots, expect successful coordination
Test Checklist
System config check
Simple planning task
Natural language processing
File generation
Multi-robot coordination
Batch task processing
Path conflict analysis
Error handling
Response time
Concurrency
Large-scale tasks
Memory usage
Trae IDE integration
MCP protocol compatibility
File system operations
Config management
Test Report Template
Next Steps
Expand test cases for more complex scenarios
Optimize performance based on results
Add new planning algorithms or features
Improve documentation and API reference
Note: For issues during testing, check logs in the output/ directory or run python test_server.py for diagnostics.
๐ License
MIT License