OpenAIMCP CLAUDE.md

OpenAIMCP CLAUDE.md is an instructions file for coding agents from AceDataCloud/OpenAIMCP. It costs 349 tokens per session, scanned A, original, MIT.

A set of project instructions for AceDataCloud/OpenAIMCP, an MCP server that exposes OpenAI API features such as chat, responses, image generation, editing, and embeddings. It also describes the project structure and how to synchronize code with an OpenAPI specification.

In plain words
What is it for?
Use it when maintaining this server, syncing model lists and parameters from the specification, updating its tools, and understanding its tests and documentation.
Why use it?
It gives coding agents the project context needed to modify the right files and keep supported models and parameters aligned with the API definition.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/acedatacloud/openaimcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/AceDataCloud/OpenAIMCP

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for OpenAIMCP CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/acedatacloud/openaimcp/claude-md.svg)](https://agentmods.dev/instructions/acedatacloud/openaimcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/acedatacloud/openaimcp/claude-md"><img src="https://agentmods.dev/badge/instructions/acedatacloud/openaimcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 349 This file is loaded in full into every session.
When invoked 349 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00349 $0.00349
Opus 5 $0.00175 $0.00175
Sonnet 5 $0.00070 $0.00070
Haiku 4.5 $0.00035 $0.00035

Measured 4d ago against content hash 13f2b60951af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

OpenAIMCP CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 34 lines

What it actually says

OpenAIMCP

MCP (Model Context Protocol) server for OpenAI API via AceDataCloud.

Project Structure

core/
  config.py     — Settings dataclass (API token, base URL)
  server.py     — FastMCP server singleton
  client.py     — httpx async HTTP client
  types.py      — Literal types (ChatModel, ImageModel, EmbeddingModel, etc.)
  exceptions.py — Error classes (AuthError, APIError, TimeoutError)
  oauth.py      — OAuth 2.1 provider
tools/
  chat_tools.py        — openai_chat_completion
  responses_tools.py   — openai_create_response
  image_tools.py       — openai_generate_image, openai_edit_image
  embedding_tools.py   — openai_create_embedding
  info_tools.py        — list models, usage guide
prompts/           — LLM guidance prompts
tests/             — pytest-asyncio tests

Sync from Docs

When invoked by the sync workflow, the Docs repo is checked out at _docs/. Your job:

  1. Source of truth_docs/openapi/openai.json is the OpenAPI spec for the OpenAI API.
  2. Compare models — The Literal types in core/types.py must match the spec's model enum. Add/remove as needed.
  3. Compare parameters — Each @mcp.tool() function's parameters should match the corresponding OpenAPI endpoint.
  4. Update defaults — If a new model becomes the recommended default, update the default in core/types.py.
  5. Update README — Keep the model table and feature list current.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 34 lines · 349 tokens per session scan A 13f2b60951af

Subscribe to this mod's changes

OpenAIMCP CLAUDE.md is an instructions file published in the GitHub repository AceDataCloud/OpenAIMCP (1 stars, last pushed 5d ago), licensed MIT. It adds 349 tokens to every session, about $0.0017 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.