Home / Servers / OpenAI API

OpenAI API MCP server

Models, responses, embeddings, files, batches, fine-tuning.

OpenAI's platform API compiled from its OpenAPI spec: responses and chat completions, embeddings, images, audio, files, batches, fine-tuning, vector stores and assistants, with your own API key.

Why use the hosted one: Every endpoint of OpenAI's API behind the gateway's search, with your own OpenAI API key stored encrypted and sent only to OpenAI.

Needs your OpenAI API key: add it once in the dashboard (get one at OpenAI). It is stored encrypted and sent only to that API.

Connect

Run in your terminal
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Create an API key and put it in place of YOUR_API_KEY. Step-by-step guides: claude.ai and ChatGPT connectors, Claude Code, Cursor, VS Code, Claude Desktop, Windsurf, Zed, OpenAI Codex CLI, Gemini CLI.

All 371 tools

List 68 tools
Create 60 tools
Retrieve 43 tools
Delete 42 tools
Get 26 tools
Update 26 tools
Usage 11 tools
Cancel 8 tools
Modify 8 tools
Beta 7 tools
Admin 4 tools
Assign 4 tools
Unassign 4 tools
Add 3 tools
Accept 2 tools
Activate 2 tools
Deactivate 2 tools
Download 2 tools
Hangup 2 tools
Pause 2 tools
Refer 2 tools
Reject 2 tools
Remove 2 tools
Resume 2 tools
Rotate 2 tools
Addanexternalkeyconfigforanorganization 1 tool
Archive 1 tool
Compactconversation 1 tool
Complete 1 tool
Createan 1 tool
Createanexternalstorageconfiguration 1 tool
Createcontentprovenancecheck 1 tool
Deleteanexternalkeyconfigfortheuser 1 tool
Deleteanexternalstorageconfiguration 1 tool
Deleteorganizationspendlimit 1 tool
Deleteprojectspendlimit 1 tool
Fork 1 tool
Getanexternalstorageconfiguration 1 tool
Getinputtokencounts 1 tool
Getorganizationspendlimit 1 tool
Getprojectsafetyalert 1 tool
Getprojectspendlimit 1 tool
Getsafetycase 1 tool
Invite 1 tool
Listexternalstorageconfigurations 1 tool
Listtheexternalkeyconfigsregisteredontheuser 1 tool
Organization 1 tool
Retrieveanexternalkeyregistration 1 tool
Retrieveprojectservicetiersettings 1 tool
Run 1 tool
Search 1 tool
Submit 1 tool
Test 1 tool
Updateorganizationspendlimit 1 tool
Updateprojectservicetiersettings 1 tool
Updateprojectspendlimit 1 tool
Upload 1 tool
Validate 1 tool
Validateanexternalkeyconfigfortheuser 1 tool
Validateanexternalstorageconfiguration 1 tool

Try asking

List my fine-tuning jobs and the status of the latest batch.

Usage and limits

Every account gets a free daily allowance of tool calls; connecting, listing and searching are not counted. See the limits. Only a tool that runs costs a call.

Other hosted servers