{
  "name": "any-chat-completions",
  "display_name": "Any Chat Completions",
  "description": "Interact with any OpenAI SDK Compatible Chat Completions API like OpenAI, Perplexity, Groq, xAI and many more.",
  "repository": {
    "type": "git",
    "url": "https://github.com/pyroprompts/any-chat-completions-mcp"
  },
  "homepage": "https://github.com/pyroprompts/any-chat-completions-mcp",
  "author": {
    "name": "pyroprompts"
  },
  "license": "MIT",
  "categories": [
    "AI Systems"
  ],
  "tags": [
    "Claude",
    "OpenAI",
    "API",
    "Chat Completion"
  ],
  "examples": [
    {
      "title": "OpenAI Integration",
      "description": "Integrate OpenAI into Claude Desktop",
      "prompt": "Configure the MCP server to use OpenAI's API."
    }
  ],
  "installations": {
    "npm": {
      "type": "npm",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/pyroprompts/any-chat-completions-mcp"
      ],
      "env": {
        "AI_CHAT_KEY": "${AI_CHAT_KEY}",
        "AI_CHAT_NAME": "${AI_CHAT_NAME}",
        "AI_CHAT_MODEL": "${AI_CHAT_MODEL}",
        "AI_CHAT_BASE_URL": "${AI_CHAT_BASE_URL}"
      }
    }
  },
  "arguments": {
    "AI_CHAT_KEY": {
      "description": "API key for authentication with the chat service provider.",
      "required": true,
      "example": "your_openai_secret_key_here"
    },
    "AI_CHAT_NAME": {
      "description": "The name of the AI chat provider to use, like 'OpenAI' or 'PyroPrompts'.",
      "required": true,
      "example": "OpenAI"
    },
    "AI_CHAT_MODEL": {
      "description": "Specifies which model to be used for the chat service, e.g., 'gpt-4o'.",
      "required": true,
      "example": "gpt-4o"
    },
    "AI_CHAT_BASE_URL": {
      "description": "The base URL for the API service of the chat provider.",
      "required": true,
      "example": "https://api.openai.com/v1"
    }
  },
  "tools": [
    {
      "name": "chat-with-${AI_CHAT_NAME_CLEAN}",
      "description": "Text chat with ${AI_CHAT_NAME}",
      "inputSchema": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "description": "The content of the chat to send to ${AI_CHAT_NAME}"
          }
        },
        "required": [
          "content"
        ]
      }
    }
  ]
}