# Mcp Server Openai

> Query OpenAI models directly from Claude using MCP protocol.

- **Type:** MCP server
- **Install:** `agentstack add mcp-pierrebrunelle-mcp-server-openai`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [pierrebrunelle](https://agentstack.voostack.com/s/pierrebrunelle)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [pierrebrunelle](https://github.com/pierrebrunelle)
- **Source:** https://github.com/pierrebrunelle/mcp-server-openai

## Install

```sh
agentstack add mcp-pierrebrunelle-mcp-server-openai
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# OpenAI MCP Server

Query OpenAI models directly from Claude using MCP protocol.



## Setup

Add to `claude_desktop_config.json`:

```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"
      }
    }
  }
}
```

## Development
```bash
git clone https://github.com/pierrebrunelle/mcp-server-openai
cd mcp-server-openai
pip install -e .
```

## Testing
```python
# Run tests from project root
pytest -v test_openai.py -s

# Sample test output:
Testing OpenAI API call...
OpenAI Response: Hello! I'm doing well, thank you for asking...
PASSED
```

## License
MIT License

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [pierrebrunelle](https://github.com/pierrebrunelle)
- **Source:** [pierrebrunelle/mcp-server-openai](https://github.com/pierrebrunelle/mcp-server-openai)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-pierrebrunelle-mcp-server-openai
- Seller: https://agentstack.voostack.com/s/pierrebrunelle
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
