Loading...
{
"mcpServers": {
"mcp-openai": {
"command": "npx",
"args": ["-y", "@mzxrai/mcp-openai@latest"],
"env": {
"OPENAI_API_KEY": "your-api-key-here (get one from https://platform.openai.com/api-keys)"
}
}
}
}openai_chatSends messages to OpenAI's chat completion API and returns the response.
Allows sending arbitrary messages to OpenAI, potentially triggering unintended actions or exposing sensitive data.
This server is relatively safe for read operations, but the ability to send messages to OpenAI's API introduces moderate risk. The primary risk stems from potential API key exposure and prompt injection vulnerabilities. It's safer when used in controlled environments with trusted users.