mcp-openai-server
If you are the rightful owner of mcp-openai-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server implementation for the OpenAI API, providing a standardized interface between Augment and OpenAI's language models using the official MCP SDK.
The OpenAI MCP Server is designed to facilitate seamless interaction between applications like Augment and OpenAI's language models. By leveraging the Model Context Protocol (MCP), this server acts as a universal adapter, translating application requests into the specific formats required by different LLM providers. This implementation uses the official MCP SDK to ensure compatibility and provides features such as secure API key management, support for chat completions, model listing, embedding generation, and robust error handling and logging. The server requires Node.js and an OpenAI API key to operate, and it can be easily integrated with Augment by configuring the settings.json file. The server also includes a sample client for testing purposes.
Features
- Uses the official MCP SDK for compatibility
- Secure API key management
- Support for chat completions
- Model listing
- Embedding generation
Tools
List Models
Lists all available OpenAI models.
Chat Completion
Generates responses using OpenAI's chat completion API with parameters like model, messages, temperature, and max_tokens.
Create Embedding
Generates embeddings for text using OpenAI's embedding API with parameters like model and input.