{"at":"2026-11-23T00:28:17.001Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:28:17.404Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T00:28:17.505Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T00:28:17.917Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{},"resources":{},"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"ohmyposh-configurator","version":"1.0.0"}}}}
{"at":"2026-11-23T00:28:17.917Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T00:28:17.917Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T00:28:17.920Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"_meta":{"ui":{"resourceUri":"ui://ohmyposh-configurator/preview.html"},"ui/resourceUri":"ui://ohmyposh-configurator/preview.html"},"description":"Create a new Oh My Posh configuration from a natural language description. Generates a complete configuration with blocks, segments, and smart defaults.","inputSchema":{"properties":{"description":{"description":"Natural language description of the desired prompt (e.g., \"developer prompt with git and python\")","type":"string"},"segments":{"description":"Optional list of segment types to include (e.g., [\"path\", \"git\", \"python\"])","items":{"type":"string"},"type":"array"},"style":{"description":"Style for all segments (default: powerline)","enum":["powerline","plain","diamond","accordion"],"type":"string"}},"required":["description"],"type":"object"},"name":"create_configuration","outputSchema":{"properties":{"config":{"type":"object"}},"required":["config"],"type":"object"}},{"description":"Add a segment to an existing Oh My Posh configuration with smart defaults. Automatically applies appropriate colors, templates, and options based on segment type.","inputSchema":{"properties":{"blockIndex":{"description":"The index of the block to add the segment to (default: 0)","type":"number"},"config":{"description":"The existing Oh My Posh configuration as JSON string","type":"string"},"segmentType":{"description":"The type of segment to add (e.g., \"git\", \"python\", \"aws\")","type":"string"},"style":{"description":"Style for the segment (default: powerline)","enum":["powerline","plain","diamond","accordion"],"type":"string"},"template":{"description":"Optional custom template for the segment","type":"string"}},"required":["config","segmentType"],"type":"object"},"name":"add_segment","outputSchema":{"properties":{"config":{"type":"object"}},"required":["config"],"type":"object"}},{"_meta":{"ui":{"resourceUri":"ui://ohmyposh-configurator/preview.html"},"ui/resourceUri":"ui://ohmyposh-configurator/preview.html"},"description":"Modify an existing Oh My Posh configuration. Can update global settings, add/remove blocks, modify segments, or change colors and templates.","inputSchema":{"properties":{"config":{"description":"The existing Oh My Posh configuration as JSON string","type":"string"},"modifications":{"description":"Object describing the modifications to make (e.g., {\"final_space\": false, \"palette\": {...}})","type":"object"}},"required":["config","modifications"],"type":"object"},"name":"modify_configuration","outputSchema":{"properties":{"config":{"type":"object"}},"required":["config"],"type":"object"}},{"description":"Validate an Oh My Posh configuration for correctness. Checks required fields, structure, and palette references.","inputSchema":{"properties":{"config":{"description":"The Oh My Posh configuration to validate as JSON string","type":"string"}},"required":["config"],"type":"object"},"name":"validate_configuration","outputSchema":{"properties":{"validation":{"properties":{"errors":{"type":"array"},"valid":{"type":"boolean"},"warnings":{"type":"array"}},"required":["valid","errors","warnings"],"type":"object"}},"required":["validation"],"type":"object"}},{"description":"Export an Oh My Posh configuration in different formats (JSON, YAML, TOML). Automatically cleans internal IDs and ensures proper formatting.","inputSchema":{"properties":{"config":{"description":"The Oh My Posh configuration as JSON string","type":"string"},"format":{"description":"Output format (default: json)","enum":["json","yaml","toml"],"type":"string"}},"required":["config"],"type":"object"},"name":"export_configuration","outputSchema":{"properties":{"format":{"enum":["json","yaml","toml"],"type":"string"},"output":{"type":"string"}},"required":["format","output"],"type":"object"}},{"_meta":{"ui":{"resourceUri":"ui://ohmyposh-configurator/segments.html"},"ui/resourceUri":"ui://ohmyposh-configurator/segments.html"},"description":"List all available Oh My Posh segments with their descriptions, categories, and default settings. Can filter by category or search by keyword.","inputSchema":{"properties":{"category":{"description":"Filter segments by category","enum":["system","scm","languages","cloud","cli","web","music","health"],"type":"string"},"search":{"description":"Search segments by name, type, or description","type":"string"}},"type":"object"},"name":"list_segments","outputSchema":{"properties":{"segments":{"items":{"type":"object"},"type":"array"}},"required":["segments"],"type":"object"}},{"_meta":{"ui":{"resourceUri":"ui://ohmyposh-configurator/segments.html"},"ui/resourceUri":"ui://ohmyposh-configurator/segments.html"},"description":"Get detailed information about a specific segment type including properties, options, and template variables.","inputSchema":{"properties":{"segmentType":{"description":"The segment type to get information about (e.g., \"git\", \"python\")","type":"string"}},"required":["segmentType"],"type":"object"},"name":"get_segment_info","outputSchema":{"properties":{"segment":{"type":"object"}},"required":["segment"],"type":"object"}},{"description":"List all available sample configurations with descriptions and tags.","inputSchema":{"properties":{},"type":"object"},"name":"list_sample_configs","outputSchema":{"properties":{"configs":{"items":{"type":"object"},"type":"array"}},"required":["configs"],"type":"object"}},{"_meta":{"ui":{"resourceUri":"ui://ohmyposh-configurator/preview.html"},"ui/resourceUri":"ui://ohmyposh-configurator/preview.html"},"description":"Load a specific sample configuration by ID.","inputSchema":{"properties":{"configId":{"description":"The ID of the sample configuration to load","type":"string"}},"required":["configId"],"type":"object"},"name":"load_sample_config","outputSchema":{"properties":{"config":{"type":"object"},"metadata":{"type":"object"}},"required":["config","metadata"],"type":"object"}},{"description":"Get links to the official Oh My Posh documentation at https://ohmyposh.dev/docs/ for a given topic. Returns documentation URLs and guidance for segments, configuration options, templates, and features.","inputSchema":{"properties":{"query":{"description":"Search query (e.g., \"git segment options\", \"powerline symbols\", \"color templates\")","type":"string"},"topic":{"description":"Optional: Narrow search to a specific documentation topic","enum":["segments","configuration","templates","installation","general"],"type":"string"}},"required":["query"],"type":"object"},"name":"search_ohmyposh_docs"},{"description":"Get the official Oh My Posh documentation for a specific segment type. Returns detailed information from https://ohmyposh.dev/docs/segments/","inputSchema":{"properties":{"segmentType":{"description":"The segment type to get documentation for (e.g., \"git\", \"python\", \"aws\")","type":"string"}},"required":["segmentType"],"type":"object"},"name":"get_ohmyposh_segment_docs"},{"description":"Check whether Oh My Posh is installed locally for this MCP server and return its version when available.","inputSchema":{"properties":{},"type":"object"},"name":"get_ohmyposh_cli_status","outputSchema":{"properties":{"available":{"type":"boolean"},"reason":{"type":"string"},"version":{"type":"string"}},"required":["available"],"type":"object"}},{"_meta":{"ui":{"resourceUri":"ui://ohmyposh-configurator/preview.html"},"ui/resourceUri":"ui://ohmyposh-configurator/preview.html"},"description":"Explicitly render an Oh My Posh configuration with the locally installed Oh My Posh CLI. This evaluates the configuration against the local environment and returns terminal ANSI output for the MCP preview app.","inputSchema":{"properties":{"acknowledgeRisk":{"const":true,"description":"Must be true to confirm that rendering executes the local Oh My Posh CLI against this configuration.","type":"boolean"},"config":{"description":"The Oh My Posh configuration to render as a JSON string","type":"string"}},"required":["config","acknowledgeRisk"],"type":"object"},"name":"render_live_preview","outputSchema":{"properties":{"available":{"type":"boolean"},"output":{"type":"string"},"reason":{"type":"string"},"version":{"type":"string"}},"required":["available"],"type":"object"}}]}}}
