MCP Server

Oh My Posh Validator

dev.ohmyposh/validator
Developer Tools Public & reachable MCP 2026-07-28

What this MCP does

Validates oh-my-posh configuration files and segment snippets against the official schema.

validate_config
Validate an oh-my-posh configuration against the schema. Supports JSON, YAML, and TOML formats.
Input schema
{'type': 'object', 'required': ['content'], 'properties': {'format': {'enum': ['json', 'yaml', 'toml', 'auto'], 'type': 'string', 'default': 'auto', 'description': 'The format of the configuration (auto-detect if not specified)'}, 'content': {'type': 'string', 'description': 'The configuration content as a string (JSON, YAML, or TOML)'}}}
validate_segment
Validate a segment snippet against the oh-my-posh schema. Useful for validating individual prompt segments before adding them to a configuration.
Input schema
{'type': 'object', 'required': ['content'], 'properties': {'format': {'enum': ['json', 'yaml', 'toml', 'auto'], 'type': 'string', 'default': 'auto', 'description': 'The format of the segment (auto-detect if not specified)'}, 'content': {'type': 'string', 'description': 'The segment content as a string (JSON, YAML, or TOML)'}}}
Added
validate_segment
Sept. 17, 2026, 12:39 p.m.
Added
validate_config
Sept. 17, 2026, 12:39 p.m.