MCP OpenAI Server

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Provides seamless access to OpenAI's models (gpt-4o, gpt-4o-mini, o1-preview, o1-mini) directly from Claude, allowing users to send messages to OpenAI's chat completion API with the specified model.

MCP OpenAI 서버

Claude에서 바로 OpenAI의 모델을 원활하게 사용할 수 있게 해주는 MCP(Model Context Protocol) 서버입니다.

특징

  • OpenAI의 채팅 모델과 직접 통합
  • 다음을 포함한 다양한 모델 지원:
    • gpt-4o
    • gpt-4o-미니
    • o1-미리보기
    • 오원미니
  • 간단한 메시지 전달 인터페이스
  • 기본 오류 처리

필수 조건

설치

먼저, Claude Desktop 앱이 설치되어 있고 OpenAI API 키를 요청했는지 확인하세요.

claude_desktop_config.json 에 이 항목을 추가하세요(Mac에서는 ~/Library/Application\ Support/Claude/claude_desktop_config.json 에서 찾을 수 있습니다).

지엑스피1

이 구성을 사용하면 Claude Desktop이 필요할 때마다 OpenAI MCP 서버를 실행할 수 있습니다.

용법

Claude와 대화를 시작하세요. OpenAI의 모델을 사용하고 싶으면 Claude에게 사용해 달라고 요청하세요.

예를 들어, 이렇게 말할 수 있습니다.

Can you ask o1 what it thinks about this problem?

또는,

What does gpt-4o think about this?

현재 서버는 다음 모델을 지원합니다.

  • gpt-4o(기본값)
  • gpt-4o-미니
  • o1-미리보기
  • 오원미니

도구

  1. openai_chat
    • OpenAI의 채팅 완료 API에 메시지를 보냅니다.
    • 인수:
      • messages : 메시지 배열(필수)
      • model : 사용할 모델(선택 사항, 기본값은 gpt-4o)

문제들

알파 소프트웨어이므로 버그가 있을 수 있습니다. 문제가 발생하면 Claude Desktop의 MCP 로그를 확인하세요.

tail -n 20 -f ~/Library/Logs/Claude/mcp*.log

개발

# Install dependencies pnpm install # Build the project pnpm build # Watch for changes pnpm watch # Run in development mode pnpm dev

요구 사항

  • 노드.js >= 18
  • OpenAI API 키

검증된 플랫폼

  • [x] 맥OS
  • [ ] 리눅스

특허

MIT

작가

mzxrai

-
security - not tested
A
license - permissive license
-
quality - not tested

Claude에서 바로 OpenAI의 모델을 원활하게 사용할 수 있게 해주는 MCP(Model Context Protocol) 서버입니다.

  1. Features
    1. Prerequisites
      1. Installation
        1. Usage
          1. Tools
        2. Problems
          1. Development
            1. Requirements
              1. Verified Platforms
                1. License
                  1. Author
                    ID: riynwmasx9