Oh My Posh Validator

v31.8.0
dev.ohmyposh/validator Checked 2 hours ago Published 1 month ago

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

Remote (hosted) verified

Run in a terminal
claude mcp add --transport http validator https://ohmyposh.dev/api/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "validator": {
      "args": [
        "-y",
        "mcp-remote",
        "https://ohmyposh.dev/api/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "validator": {
      "url": "https://ohmyposh.dev/api/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "validator": {
      "type": "http",
      "url": "https://ohmyposh.dev/api/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.validator]
command = "npx"
args = ["-y", "mcp-remote", "https://ohmyposh.dev/api/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: validate_config, validate_segment.
  4. If it fails, check that the required runtime is installed (none) and that the values above are set.

Machine-readable: install.md · manifest.json