Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
JanDeDobbeleer avatar

Oh My Posh Validator

  • 23.2k repo stars
  • Updated July 27, 2026
  • JanDeDobbeleer/oh-my-posh

Oh My Posh Validator is an official MCP server that validates Oh My Posh prompt-theme configurations and segment snippets against the project schema.

About

This is an official Model Context Protocol server that validates Oh My Posh prompt-theme configurations and segment snippets against the project's schema. It exposes two tools: one that validates a full config (JSON, YAML, or TOML) and one that validates an individual segment snippet. A developer uses it when iterating on an Oh My Posh theme with an AI assistant so invalid properties are caught before they break the terminal prompt. It checks config correctness and does not generate or apply themes.

  • Official Oh My Posh validator MCP
  • Validates full configs and segment snippets
  • Supports JSON, YAML, and TOML input
  • Checks against the official Oh My Posh schema

Oh My Posh Validator by the numbers

  • Exposes 2 verified tools (MCP introspection)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
terminal
claude mcp add --transport http validator https://ohmyposh.dev/api/mcp

Add your badge

Show developers this MCP server is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars23.2k
TransportHTTP
AuthNone
Tools2
Last updatedJuly 27, 2026
RepositoryJanDeDobbeleer/oh-my-posh

How do I catch an invalid Oh My Posh config property before it silences segments or breaks my prompt?

Validate Oh My Posh theme configs and segments against the schema

Who is it for?

Developers editing Oh My Posh prompt themes with an AI assistant who want config errors caught before they break the prompt.

Skip if: Anyone not using Oh My Posh, or who needs theme generation rather than validation.

What you get

The config or segment snippet is validated against the schema and any errors are reported.

  • Schema validation results for oh-my-posh configs and segment snippets
  • Fewer broken prompt deployments in dotfiles and shared themes

By the numbers

  • Exposes 2 tools: validate_config and validate_segment
At a glance

Oh My Posh Validator capabilities & compatibility

Free; no API key required.

Capabilities
schema validation · config validation
Use cases
testing
Runs
Runs locally
Pricing
Free
From the docs

What Oh My Posh Validator says it does

Validate oh-my-posh configurations and segment snippets against the official schema.
listing.description

Tools 2

Public tool metadata - what this server can do for an agent.

validate_config2 params

Validate an oh-my-posh configuration against the schema. Supports JSON, YAML, and TOML formats.

  • contentstringrequiredThe configuration content as a string (JSON, YAML, or TOML)
  • formatstringThe format of the configuration (auto-detect if not specified)
validate_segment2 params

Validate a segment snippet against the oh-my-posh schema. Useful for validating individual prompt segments before adding them to a configuration.

  • contentstringrequiredThe segment content as a string (JSON, YAML, or TOML)
  • formatstringThe format of the segment (auto-detect if not specified)
README.md

Oh My Posh logo – Prompt theme engine for any shell

MIT license badge

Build Status badge

Release version number badge

Documentation link badge ohmyposh.dev

Number of GitHub Downloads badge

This repo was made with love using GitKraken.

GitKraken shield

Sponsors

CodeRabbit J

Want to become a sponsor?

Join the community

Mastodon badge

Discord badge

What started as the offspring of oh-my-posh2 for PowerShell resulted in a cross platform, highly customizable and extensible prompt theme engine. After 4 years of working on oh-my-posh, a modern and more efficient tool was needed to suit my personal needs.

:heart: Support :heart:

Swag - Show your love with a t-shirt!

GitHub - One time support, or a recurring donation?

Ko-Fi - No coffee, no code.

Features

  • Shell and platform agnostic
  • Easily configurable
  • The most configurable prompt utility
  • Fast
  • Secondary prompt
  • Right prompt
  • Transient prompt

Documentation

Documentation

Reviews

Thanks

Recommended MCP Servers

How it compares

Official oh-my-posh schema validator MCP—not a generic theme marketplace or prompt designer skill.

FAQ

What does the validator check?

It validates Oh My Posh configurations and segment snippets against the official schema, supporting JSON, YAML, and TOML input.

What tools does it expose?

Two: validate_config for a full configuration and validate_segment for an individual segment snippet.

Developer Toolstestingdocs

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.