Oh My Posh Validator MCP Server
dev.ohmyposh/validator
Validate oh-my-posh prompt configs and segment snippets against the official schema, remotely.
What is the Oh My Posh Validator MCP server?
Oh My Posh Validator is a remote MCP server that validates Oh My Posh prompt configuration files and segment snippets against the official Oh My Posh schema. It is provided by the Oh My Posh project as a streamable-http endpoint, letting AI agents check theme/config correctness without running oh-my-posh locally.
Oh My Posh is a cross-platform, highly configurable prompt theme engine for shells. The Validator MCP server exposes a hosted endpoint that lets AI agents validate oh-my-posh configuration files and segment snippets against the official JSON schema, helping catch invalid or malformed theme configs before use. It connects over streamable-http, so no local installation of the server itself is required to use it from an MCP-compatible client.
How to install Oh My Posh Validator
Copy-paste configuration for popular MCP clients.
{
"mcpServers": {
"validator": {
"url": "https://ohmyposh.dev/api/mcp"
}
}
}{
"mcpServers": {
"validator": {
"serverUrl": "https://ohmyposh.dev/api/mcp"
}
}
}{
"servers": {
"validator": {
"type": "http",
"url": "https://ohmyposh.dev/api/mcp"
}
}
}{
"mcpServers": {
"validator": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://ohmyposh.dev/api/mcp"
]
}
}
}claude mcp add --transport http validator https://ohmyposh.dev/api/mcpTools & capabilities
Tools this server exposes to the agent.
validate— Validate an oh-my-posh configuration file or segment snippet against the official oh-my-posh schema.
Use cases
- Check a custom oh-my-posh theme JSON/YAML config for schema errors before deploying it
- Validate a single segment snippet while building a new custom prompt segment
- Help an AI coding assistant catch invalid oh-my-posh configuration syntax during theme editing
- Verify config changes are schema-compliant as part of an automated workflow
Oh My Posh Validator MCP server FAQ
It validates oh-my-posh configuration files and segment snippets against the official oh-my-posh JSON schema, so you can confirm a theme config is correctly structured before using it.
The README does not specify pricing; it is a remote endpoint hosted at ohmyposh.dev, part of the open-source, MIT-licensed oh-my-posh project.
Add it as a remote MCP server using the streamable-http transport pointing to https://ohmyposh.dev/api/mcp, following your client's instructions for adding a remote/streamable-http MCP server.
No local installation of the server is required since it's a remote streamable-http endpoint; you only need an MCP client configured to connect to it.
The README does not mention any authentication requirements for connecting to the remote endpoint.
No, this MCP server is a validation service for oh-my-posh configs; the oh-my-posh CLI itself is a separate cross-platform prompt theme engine described in the same repository.
README (reference)
Source of truth, from the repository.
This repo was made with love using GitKraken.
<!-- markdownlint-disable first-header-h1 -->Sponsors
<!-- markdownlint-disable no-inline-html line-length --> <a href="https://coderabbit.link/posh"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://victorious-bubble-f69a016683.media.strapiapp.com/White_Typemark_79b9189d19.svg"> <source media="(prefers-color-scheme: light)" srcset="https://victorious-bubble-f69a016683.media.strapiapp.com/Orange_Typemark_43bf516c9d.svg"> <img alt="CodeRabbit" height="44" src="https://victorious-bubble-f69a016683.media.strapiapp.com/Orange_Typemark_43bf516c9d.svg" /> </picture> </a> <!-- markdownlint-enable no-inline-html line-length -->JJoin the community
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:
- Show your love with a t-shirt!
- One time support, or a recurring donation?
Features
- Shell and platform agnostic
- Easily configurable
- The most configurable prompt utility
- Fast
- Secondary prompt
- Right prompt
- Transient prompt
Documentation
Reviews
Thanks
- Chris Benti providing the first influence to start oh-my-posh
- Keith Dahlby for creating posh-git and making life more enjoyable
- Robby Russell for creating oh-my-zsh, without him this would probably not be here
- Janne Mareike Koschinski for providing information on how to get certain information using Go (and the amazing README)
- Starship for doing great things
Related MCP servers
Scrapling MCP Server
Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.
Chrome DevTools MCP
Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.
com.puter/mcp-server
Let AI agents manage your Puter files, websites, and serverless workers over MCP.
Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.
Run arbitrary shell commands from an MCP-connected AI agent.
Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.