Skip to content
Back to search

mcp-server-openai

Query OpenAI models directly from Claude using MCP protocol.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/pierrebrunelle--mcp-server-openai/badge.svg)](/listings/pierrebrunelle--mcp-server-openai)

HTML

<a href="/listings/pierrebrunelle--mcp-server-openai"><img src="/api/listings/pierrebrunelle--mcp-server-openai/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Add to `claude_desktop_config.json`:

{
  "mcpServers": {
    "openai-server": {
      "command": "python",
      "args": ["-m", "src.mcp_server_openai.server"],
      "env": {
        "PYTHONPATH": "C:/path/to/your/mcp-server-openai",
        "OPENAI_API_KEY": "your-key-here"
      }
    }
  }
}

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 45 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # OpenAI MCP Server
  2. Query OpenAI models directly from Claude using MCP protocol.
  3. ![preview](preview.png)
  4. ## Setup
  5. Add to `claude_desktop_config.json`:
  6. ```json
  7. {
  8. "mcpServers": {
  9. "openai-server": {
  10. "command": "python",
  11. "args": ["-m", "src.mcp_server_openai.server"],
  12. "env": {
  13. "PYTHONPATH": "C:/path/to/your/mcp-server-openai",
  14. "OPENAI_API_KEY": "your-key-here"
  15. }
  16. }
  17. }
  18. }
  19. ```
  20. ## Development
  21. ```bash
  22. git clone https://github.com/pierrebrunelle/mcp-server-openai
  23. cd mcp-server-openai
  24. pip install -e .
  25. ```
  26. ## Testing
  27. ```python
  28. # Run tests from project root
  29. pytest -v test_openai.py -s
  30. # Sample test output:
  31. Testing OpenAI API call...
  32. OpenAI Response: Hello! I'm doing well, thank you for asking...
  33. PASSED
  34. ```
  35. ## License
  36. MIT License

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.