OpenAI MCP Server
About
# OpenAI MCP Server A Model Context Protocol (MCP) server that enables AI assistants to interact with OpenAI's ChatGPT API. ## Features - **Chat Completion**: Generate text using OpenAI's latest language models (GPT-4.1, GPT-4.1-mini, GPT-4.1-nano, GPT-4o, o1, o1-pro, o3, o4-mini) - **List Models**: Retrieve available…
Details
- License
- MIT license
Explore
- Chat Completion: Generate text using OpenAI's latest language models
(GPT-4.1, GPT-4.1-mini, GPT-4.1-nano, GPT-4o, o1, o1-pro, o3, o4-mini)
- List Models: Retrieve available OpenAI models
- Configurable Parameters: Control temperature, max tokens, and other
generation settings
Prerequisites are Node.js 18+ and an OpenAI API key. Clone the repository, run npm install and npm run build, then create a .env file with OPENAI_API_KEY. Add the server to your MCP client configuration using the command node with args pointing to the built dist/index.js. The server exposes two tools: chat_completion and list_models.
A Model Context Protocol (MCP) server that enables AI assistants to interact
with OpenAI's ChatGPT API.
Features
- Chat Completion: Generate text using OpenAI's latest language models
(GPT-4.1, GPT-4.1-mini, GPT-4.1-nano, GPT-4o, o1, o1-pro, o3, o4-mini)
- List Models: Retrieve available OpenAI models
- Configurable Parameters: Control temperature, max tokens, and other
generation settings
Prerequisites
- Node.js 18 or higher
- OpenAI API key
Installation
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



