UNPKG

@simonecoelhosfo/optimizely-mcp-server

Version:

Optimizely MCP Server for AI assistants with integrated CLI tools

29 lines (23 loc) 784 B
# Tool Usage Examples ## Common Patterns ### Project Analysis ``` 1. list_projects 2. get_entity_details project PROJECT_ID 3. Check is_flags_enabled to determine platform type ``` ### Flag Creation with A/B Test ``` 1. get_entity_templates project_id=PROJECT_ID entity_type=flag 2. Fill template placeholders 3. manage_entity_lifecycle operation=create entity_type=flag mode=template ``` ### Entity Listing with Filters ``` # For flag-scoped entities, always include flag_key filter: list_entities variation project_id=PROJECT_ID filters={"flag_key": "my_flag"} ``` ## Error Handling - If entity not found: Check project_id and entity key - If 400 error on complex creation: Use template mode instead - If filter required: Add appropriate filter (e.g., flag_key for variations)