Oh My Posh Validator
Validate oh-my-posh configurations and segment snippets against the official schema.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"validator": {
"url": "https://ohmyposh.dev/api/mcp"
}
}
}Remote-Endpunkte
https://ohmyposh.dev/api/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (2)
⚪validate_config(content, format)
Validate an oh-my-posh configuration against the schema. Supports JSON, YAML, and TOML formats.
Eingabe-Schema
{
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The configuration content as a string (JSON, YAML, or TOML)"
},
"format": {
"type": "string",
"enum": [
"json",
"yaml",
"toml",
"auto"
],
"description": "The format of the configuration (auto-detect if not specified)",
"default": "auto"
}
},
"required": [
"content"
]
}⚪validate_segment(content, format)
Validate a segment snippet against the oh-my-posh schema. Useful for validating individual prompt segments before adding them to a configuration.
Eingabe-Schema
{
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The segment content as a string (JSON, YAML, or TOML)"
},
"format": {
"type": "string",
"enum": [
"json",
"yaml",
"toml",
"auto"
],
"description": "The format of the segment (auto-detect if not specified)",
"default": "auto"
}
},
"required": [
"content"
]
}Community
Nachweis