AO

arthurcolle/openai-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

35 stars 16 forks 품질 46 트렌드 0

arthurcolle/openai-mcp는 https://github.com/arthurcolle/openai-mcp.]에서 수입된 MCP 서버 후보입니다

개요

arthurcolle/openai-mcp는 https://github.com/arthurcolle/openai-mcp.]에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

향상된 실시간 시각화, 비용 관리 및 모델 Context Protocol (MCP) 서버 기능을 갖춘 Claude Code의 강력한 파이썬 레크리에이션. 이 도구는 여러 LLM 공급자를 지원하는 소프트웨어 개발 작업을 위한 자연적인 언어 인터페이스를 제공합니다.

키 기능

  • Multi-Provider 지원: OpenAI, Anthropic 및 기타 LLM 제공 업체와 함께 작동합니다.
  • Model Context Protocol 통합:
  • Claude Desktop 및 기타 클라이언트와 함께 MCP 서버로 실행
  • 내장 MCP 클라이언트와 MCP 서버에 연결
  • 복잡한 문제 해결을 위한 다중 시약 동기화
  • ** 실시간 도구 시각화:** 실시간 도구 실행 및 결과 보기
  • 비용 관리: 토큰 사용 및 예산 관리 비용 추적 -Comprehensive Tool Suite: 파일 작업, 검색, 명령 실행, 그리고 더
  • 일부 UI: 진행 지표 및 구문 강조와 풍부한 터미널 인터페이스
  • 콘텍스 최적화: 스마트 대화 압축 및 메모리 관리
  • 결합: 다른 역할을 가진 전문화된 대리인은 작업에 협력할 수 있습니다

설치

  1. Clone 이 저장소

  2. 의존성 설치:

  3. 명세.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

MCP Coding Assistant with support for OpenAI + other LLM Providers

A powerful Python recreation of Claude Code with enhanced real-time visualization, cost management, and Model Context Protocol (MCP) server capabilities. This tool provides a natural language interface for software development tasks with support for multiple LLM providers.

Key Features

  • Multi-Provider Support: Works with OpenAI, Anthropic, and other LLM providers
  • Model Context Protocol Integration:
    • Run as an MCP server for use with Claude Desktop and other clients
    • Connect to any MCP server with the built-in MCP client
    • Multi-agent synchronization for complex problem solving
  • Real-Time Tool Visualization: See tool execution progress and results in real-time
  • Cost Management: Track token usage and expenses with budget controls
  • Comprehensive Tool Suite: File operations, search, command execution, and more
  • Enhanced UI: Rich terminal interface with progress indicators and syntax highlighting
  • Context Optimization: Smart conversation compaction and memory management
  • Agent Coordination: Specialized agents with different roles can collaborate on tasks

Installation

  1. Clone this repository
  2. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file with your API keys:
# Choose one or more providers
OPENAI_API_KEY=your_openai_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here

# Optional model selection
OPENAI_MODEL=gpt-4o
ANTHROPIC_MODEL=claude-3-opus-20240229

Usage

CLI Mode

Run the CLI with the default provider (determined from available API keys):

python claude.py chat

Specify a provider and model:

python claude.py chat --provider openai --model gpt-4o

Set a budget limit to manage costs:

python claude.py chat --budget 5.00

MCP Server Mode

Run as a Model Context Protocol server:

python claude.py serve

Start in development mode with the MCP Inspector:

python claude.py serve --dev

Configure host and port:

python claude.py serve --host 0.0.0.0 --port 8000

Specify additional dependencies:

python claude.py serve --dependencies pandas numpy

Load environment variables from file:

python claude.py serve --env-file .env

MCP Client Mode

Connect to an MCP server using Claude as the reasoning engine:

python claude.py mcp-client path/to/server.py

Specify a Claude model:

python claude.py mcp-client path/to/server.py --model claude-3-5-sonnet-20241022

Try the included example server:

# In terminal 1 - start the server
python examples/echo_server.py
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →