any-chat-completions-mcp
any-chat-completes-mcp MCP 서버
Claude를 모든 OpenAI SDK 호환 채팅 완성 API(OpenAI, Perplexity, Groq, xAI, PyroPrompts 등)와 통합하세요.
이는 모델 컨텍스트 프로토콜 서버를 구현합니다. 자세한 내용은 https://modelcontextprotocol.io를 참조하세요.
이는 모든 OpenAI SDK 호환 채팅 완성 API에 구현을 구현하는 TypeScript 기반 MCP 서버입니다.
질문을 구성된 AI 채팅 제공자에게 전달하는 chat 가 하나 있습니다.
개발
종속성 설치:
지엑스피1
서버를 빌드하세요:
npm run build자동 재빌드를 사용한 개발의 경우:
npm run watchRelated MCP server: Ultimate-MCP-Server
설치
Claude Desktop에 OpenAI를 추가하려면 서버 구성을 추가하세요.
MacOS의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json
다음과 같이 Claude Desktop 구성에서 npx 를 통해 사용할 수 있습니다.
{
"mcpServers": {
"chat-openai": {
"command": "npx",
"args": [
"@pyroprompts/any-chat-completions-mcp"
],
"env": {
"AI_CHAT_KEY": "OPENAI_KEY",
"AI_CHAT_NAME": "OpenAI",
"AI_CHAT_MODEL": "gpt-4o",
"AI_CHAT_BASE_URL": "https://api.openai.com/v1"
}
}
}
}또는 저장소를 복제하면 다음과 같이 Claude Desktop 구성에서 빌드하고 사용할 수 있습니다.
{
"mcpServers": {
"chat-openai": {
"command": "node",
"args": [
"/path/to/any-chat-completions-mcp/build/index.js"
],
"env": {
"AI_CHAT_KEY": "OPENAI_KEY",
"AI_CHAT_NAME": "OpenAI",
"AI_CHAT_MODEL": "gpt-4o",
"AI_CHAT_BASE_URL": "https://api.openai.com/v1"
}
}
}
}동일한 MCP 서버를 여러 번 참조하면서 서로 다른 env 인수를 사용하여 여러 공급자를 추가할 수 있습니다.
{
"mcpServers": {
"chat-pyroprompts": {
"command": "node",
"args": [
"/path/to/any-chat-completions-mcp/build/index.js"
],
"env": {
"AI_CHAT_KEY": "PYROPROMPTS_KEY",
"AI_CHAT_NAME": "PyroPrompts",
"AI_CHAT_MODEL": "ash",
"AI_CHAT_BASE_URL": "https://api.pyroprompts.com/openaiv1"
}
},
"chat-perplexity": {
"command": "node",
"args": [
"/path/to/any-chat-completions-mcp/build/index.js"
],
"env": {
"AI_CHAT_KEY": "PERPLEXITY_KEY",
"AI_CHAT_NAME": "Perplexity",
"AI_CHAT_MODEL": "sonar",
"AI_CHAT_BASE_URL": "https://api.perplexity.ai"
}
},
"chat-openai": {
"command": "node",
"args": [
"/path/to/any-chat-completions-mcp/build/index.js"
],
"env": {
"AI_CHAT_KEY": "OPENAI_KEY",
"AI_CHAT_NAME": "OpenAI",
"AI_CHAT_MODEL": "gpt-4o",
"AI_CHAT_BASE_URL": "https://api.openai.com/v1"
}
}
}
}이 세 가지를 사용하면 Claude Desktop Home에서 각 도구가 표시됩니다.

그러면 다른 LLM과 채팅을 할 수 있는데, 채팅창에 이렇게 표시됩니다.

또는 LibreChat 에서 다음과 같이 구성하세요.
chat-perplexity:
type: stdio
command: npx
args:
- -y
- @pyroprompts/any-chat-completions-mcp
env:
AI_CHAT_KEY: "pplx-012345679"
AI_CHAT_NAME: Perplexity
AI_CHAT_MODEL: sonar
AI_CHAT_BASE_URL: "https://api.perplexity.ai"
PATH: '/usr/local/bin:/usr/bin:/bin'LibreChat에서도 확인할 수 있습니다.

Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 OpenAI 호환 API 통합을 자동으로 설치하려면 다음을 수행합니다.
npx -y @smithery/cli install any-chat-completions-mcp-server --client claude디버깅
MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. 패키지 스크립트로 제공되는 MCP Inspector를 사용하는 것이 좋습니다.
npm run inspector검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.
감사의 말
MCP 사양을 개발하고 Claude Desktop에 통합한 modelcontextprotocol과 Anthropic 팀에 감사드립니다. https://modelcontextprotocol.io/introduction
이 프로젝트를 후원해 주신 PyroPrompts 에 감사드립니다.
CLAUDEANYCHAT코드를 사용하시면 PyroPrompts에서 20개의 무료 자동화 크레딧을 받으실 수 있습니다.
Available Tools
1 toolchat-with-openaiC
Text chat with OpenAI
Inputs: content (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
Only one tool exists, so there is no possibility of confusion between tools.
With a single tool, naming inconsistency is not applicable; it follows a clear verb_noun pattern ('chat' + 'with-openai').
A chat completions server should typically offer multiple tools (e.g., streaming, model listing, conversation history). A single tool feels overly minimal for the domain.
The single tool only covers basic text chat, missing obvious needs like streaming, parameter customization, or model availability queries, making the surface severely incomplete.
Maintenance
Related MCP Connectors
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
AI routing, memory, guardrails, and governance. Routes across Claude, GPT, Gemini.
Agent personas for Claude. 16 tools, 13 personas, 3 workflows. Zero extra API cost. Free.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that lets you seamlessly use OpenAI's models right from Claude.1769 npm76MIT
- AlicenseNot gradedqualityDmaintenanceProvides a suite of tools like agent orchestration and token optimization for ClaudeMIT
- FlicenseNot gradedqualityNot gradedmaintenanceGives Claude Desktop access to multiple AI models (Gemini, OpenAI, OpenRouter, Ollama) for enhanced development capabilities including extended reasoning, collaborative development, code review, debugging, and large context analysis with conversation threading.40 npm1-
- AlicenseAqualityBmaintenanceBridges Claude Code and Claude Desktop to a locally-running LLM, optimized for MLX LM on Apple Silicon with support for any OpenAI-compatible backend.423 PyPI1MIT