Skip to main content
Workflow and deploy MCP tools accept only YAML files inside the current working directory for security.
The user references a YAML workflow by filename; path safety ensures only files under the current working directory are accepted.

Quick Start

1

Valid Usage

2

Rejected Usage


How It Works

Three MCP tools now enforce strict path validation:

What Gets Refused

Breaking Change: Absolute paths and outside-CWD paths that previously worked are now rejected.

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

Place workflow and deployment YAML files in the project root directory, not in subdirectories. This matches the MCP security model.
Since you can’t use paths, use descriptive filenames like production-deploy.yaml instead of deploy/production.yaml.
Always call the validation tools before processing YAML files to catch configuration errors early.
Check for ValueError exceptions and provide helpful error messages to users when paths are rejected.

MCP Integration

Learn about MCP protocol support

CLI Tools

PraisonAI CLI command reference