Skip to main content
MCP server CX Codex

Oh My Posh Validator — Claude Code MCP server: config checks

Validates oh-my-posh configurations and single prompt segments against the official schema. Handy when a theme fails to load because of a typo in JSON, YAML or TOML.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http validator https://ohmyposh.dev/api/mcp
Open on GitHub

What Oh My Posh Validator does

The server exposes two tools. validate_config takes a whole config and returns errors with JSON paths, while validate_segment checks one prompt segment — useful when you add a block to a theme and want to leave the rest untouched.

Input formats are JSON, YAML and TOML. The response carries valid, errors and warnings arrays, the detected format and the parsed config object. Warnings cover best practices and deprecations, such as a missing $schema property.

The server runs at https://ohmyposh.dev/api/mcp over HTTP. To test locally, start it from the website/api directory with npm start and send requests to http://localhost:7071/api/mcp. Node.js with npm is required for that local run.

What it helps with

  • check a theme before wiring it into your shell profile
  • find the exact field path that breaks validation
  • test a single prompt segment before adding it to a full theme
  • catch deprecated fields and schema drift in YAML or TOML
  • verify a config an agent generated against the official schema

Example prompts for the agent

  • Validate ~/.config/oh-my-posh/theme.json with validate_config
  • Run this segment through validate_segment and show me the errors
  • Validate the TOML config and list the warnings

How to install Oh My Posh Validator

Platform CLI: remote server

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

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Oh My Posh Validator

How do I install Oh My Posh Validator in Claude Code?

Add the remote server with claude mcp add --transport http validator https://ohmyposh.dev/api/mcp. The validate_config and validate_segment tools then show up in your session.

What does Oh My Posh Validator do?

It validates oh-my-posh configurations and individual prompt segments against the official schema, returning errors with paths, warnings and the detected format.

Which config formats does it accept?

JSON, YAML and TOML. You can pass the format explicitly or let the server detect it.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →
plugin-validator official Anthropic A subagent that checks a Claude plugin: manifest, commands, agents, skills, hooks and MCP servers. Useful before you publish. ★ 44,635repo stars build-evidence-map official github Builds an auditable evidence map for a disputed decision while retaining support, counterevidence and gaps. Use it when a prose summary would hide disagreement. 70installs GitHub official github Wires your AI agent into GitHub: read code, open issues and pull requests, watch Actions runs. Saves a trip to the browser. CX Codex +1 ★ 33,918repo stars Netdata netdata Hands your AI agent live monitoring data: metrics, logs, alerts and anomaly detection. Useful when you need to know what a server is doing without opening the dashboard. CX Codex +1 ★ 81,115repo stars browser-use browser-use Give an agent browser tasks such as finding information, extracting page data, and filling forms. Connect it when those actions need to happen on the web. CX Codex +1 ★ 119,160repo stars Codebase Memory DeusData A local MCP server that maps your repo's code, docs and infrastructure into a graph. Gives the agent structural context without re-reading files. CX Codex +1 ★ 47,392repo stars mcp-server HeyPuter Connects your AI agent to Puter for files, websites and workers. Useful when the project already lives in Puter's cloud. CX Codex +1 ★ 43,872repo stars AIHawk feder-cr An MCP server that hands your agent a browser: it opens pages, clicks, types and reads them from plain-English instructions. CX Codex +1 ★ 32,221repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor