Validate oh-my-posh configurations and segment snippets against the official schema.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add --transport http oh-my-posh-validator https://ohmyposh.dev/api/mcp~/.codex/config.toml
[mcp_servers.oh-my-posh-validator]
url = "https://ohmyposh.dev/api/mcp"
# codex mcp add oh-my-posh-validator --url https://ohmyposh.dev/api/mcp~/.cursor/mcp.json
{
"mcpServers": {
"oh-my-posh-validator": {
"url": "https://ohmyposh.dev/api/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"oh-my-posh-validator": {
"type": "http",
"url": "https://ohmyposh.dev/api/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"oh-my-posh-validator": {
"httpUrl": "https://ohmyposh.dev/api/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"oh-my-posh-validator": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://ohmyposh.dev/api/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"oh-my-posh-validator": {
"url": "https://ohmyposh.dev/api/mcp"
}
}
}