jandedobbeleer avatar

Oh My Posh Validator

jandedobbeleer/oh-my-posh

If you're customizing your Oh My Posh prompt, this server validates your config files and segment snippets against the official schema before you apply them. It connects to ohmyposh.dev's API and exposes validation operations that catch configuration errors early, so you're not debugging theme syntax when you should be working. Reach for this when you're building custom segments or testing new prompt layouts and want immediate feedback on whether your JSON is going to work. Since Oh My Posh runs across shells and platforms, having schema validation in your editor workflow saves you from the trial and error cycle of edit, save, reload, check terminal, repeat.

GitHub stars
23.7K
tools
2
transport
HTTP
last updated
Oct 20, 2026

Install

From registry metadata
$ npx add-mcp https://ohmyposh.dev/api/mcp --name validator

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http validator https://ohmyposh.dev/api/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 2 tools

Verified live against the running server on Nov 13, 2026.

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

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

Parameters* required
content*string
The configuration content as a string (JSON, YAML, or TOML)
formatstring
The format of the configuration (auto-detect if not specified)one of json · yaml · toml · autodefault: auto
validate_segmentValidate a segment snippet against the oh-my-posh schema. Useful for validating individual prompt segments before adding them to a configuration.2 params

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

Parameters* required
content*string
The segment content as a string (JSON, YAML, or TOML)
formatstring
The format of the segment (auto-detect if not specified)one of json · yaml · toml · autodefault: auto

Sponsors

Readme

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


View the full README on GitHub

Details

Repository
github.com/jandedobbeleer/oh-my-posh
Website
ohmyposh.dev/docs/advanced/mcp-server
Transport
HTTP
Registry
MCP registry, active
Tools verified
Nov 13, 2026