Quick Start
1
Valid Usage
2
Rejected Usage
How It Works
Three MCP tools now enforce strict path validation:What Gets Refused
Migration
If you previously used these MCP tools with absolute paths or subdirectory paths:1
Move Files to CWD
2
Update Tool Calls
Common Patterns
Workflow Management
Deployment Validation
Error Handling
Best Practices
Keep YAML Files in Project Root
Keep YAML Files in Project Root
Place workflow and deployment YAML files in the project root directory, not in subdirectories. This matches the MCP security model.
Use Descriptive Filenames
Use Descriptive Filenames
Since you canβt use paths, use descriptive filenames like
production-deploy.yaml instead of deploy/production.yaml.Validate Before Use
Validate Before Use
Always call the validation tools before processing YAML files to catch configuration errors early.
Handle Errors Gracefully
Handle Errors Gracefully
Check for ValueError exceptions and provide helpful error messages to users when paths are rejected.
Related
MCP Integration
Learn about MCP protocol support
CLI Tools
PraisonAI CLI command reference

