openai-mcp-implementation

openai-mcp-implementation

0

The project is a simple MCP server for interacting with AI models from OpenAI and Anthropic, providing an automatic detection and unified API access to different AI providers. It supports multiple models and includes a web interface for testing.

Overview

A simple server acting as a Master Control Program (MCP) to interact with AI models from OpenAI and Anthropic (Claude).

Features

  • Unified API endpoint for OpenAI and Claude
  • Automatic provider detection
  • Web interface for testing

Installation

  1. Clone the repository.
  2. Install dependencies.
  3. Configure environment variables.

Usage

Start the server and access it at http://localhost:3000. Use the /api/mcp endpoint to interact with models.

Supported Models

OpenAI
  • gpt-4
  • gpt-4-turbo
  • gpt-3.5-turbo
Claude (Anthropic)
  • claude-3-opus-20240229
  • claude-3-sonnet-20240229