{
  "name": "oh-my-posh-validator",
  "version": "1.0.0",
  "description": "MCP server for validating oh-my-posh configurations",
  "capabilities": {
    "tools": {}
  },
  "tools": [
    {
      "name": "validate_config",
      "description": "Validate an oh-my-posh configuration against the schema",
      "inputSchema": {
        "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"
        ]
      }
    },
    {
      "name": "validate_segment",
      "description": "Validate a segment snippet against the oh-my-posh schema",
      "inputSchema": {
        "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"
        ]
      }
    }
  ]
}