How It Works
Quick Start
1
Create YAML Workflow
Define an agent with MCP servers in YAML:
2
Run the Workflow
Execute the YAML workflow with MCP integration:
Configuration Schema
Basic MCP Server
With Environment Variables
Multiple Servers
Complete Example
Here’s a production-ready YAML configuration:Important Limitations
Current Limitation Example
Workaround in Python
Environment Variable Patterns
Using .env Files
Conditional Enabling
Best Practices
Use Environment Variables for Secrets
Use Environment Variables for Secrets
Never hardcode API keys in YAML files. Always use environment variable substitution with
${VARIABLE_NAME} syntax.Enable Servers Conditionally
Enable Servers Conditionally
Use the
enabled field to control which servers are active. This allows you to have optional integrations that only activate when configured.Document Your Server Configuration
Document Your Server Configuration
Add comments explaining what each server does and what environment variables it requires. This helps with team collaboration.
Test Server Configurations
Test Server Configurations
Before deploying, test your YAML configuration locally to ensure all servers connect properly and required environment variables are available.
Related
Load MCP Tools
Wire configured MCP servers into agents with one line
MCP CLI
Configure and manage MCP servers from the command line

