OpenAI GPT MCP Server
OpenAI GPT MCP Server
Ein lokaler Model Context Protocol-Server, der OpenAI GPT-Textgenerierung über Standard-Eingabe/Ausgabe bereitstellt.
Voraussetzungen
Node.js 18 oder neuer
Ein OpenAI-API-Schlüssel
Related MCP server: gpt-mcp
Installieren und erstellen
npm install
npm run buildKopieren Sie .env.example in .env und legen Sie Ihren API-Schlüssel fest:
OPENAI_API_KEY=your_api_keyOPENAI_MODEL ist optional und standardmäßig gpt-5. OPENAI_IMAGE_MODEL ist optional und standardmäßig gpt-image-2.
MCP-Client-Konfiguration
Erstellen Sie zuerst, dann fügen Sie diesen Server zur Konfiguration Ihres MCP-Clients hinzu. Ersetzen Sie <absolute-path-to-repository> durch den absoluten Pfad zu Ihrem Klon.
{
"mcpServers": {
"openai-gpt": {
"command": "node",
"args": ["<absolute-path-to-repository>\\dist\\index.js"]
}
}
}Tool: generate_text
Erforderliche Eingabe:
prompt: Text, der an das Modell gesendet wird.
Optionale Eingaben:
instructions: systemweites Verhalten für die Antwort.model: eine GPT-Modell-ID, dieOPENAI_MODELüberschreibt.max_output_tokens: maximale Antwortgröße, von 1 bis 16,384.
Der Server verwendet die OpenAI Responses API und gibt generierten Text an den MCP-Client zurück. Er schreibt niemals API-Schlüssel in die Ausgabe oder in Protokolle.
Tool: generate_image
Erzeugt ein PNG-Bild und gibt es direkt an den MCP-Client zurück.
prompt(erforderlich): detaillierte Bildbeschreibung.model(optional): Bildmodell-ID, dieOPENAI_IMAGE_MODELüberschreibt.size(optional):1024x1024,1536x1024oder1024x1536.quality(optional):low,mediumoderhigh.
Die Bilderzeugung verbraucht OpenAI-API-Guthaben getrennt von der Claude-Nutzung.
Direkt ausführen
npm startFür interaktive Inspektion:
npm run inspectMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server that wraps OpenAI's image generation and editing APIs, enabling text-to-image and image-to-image operations via tools.24938ISC
- AlicenseNot gradedqualityCmaintenanceA local MCP server that enables Claude to generate images using the OpenAI API.9MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that wraps OpenAI's gpt-image-2 image generation API, enabling image generation from text prompts, listing saved images, and loading images inline.1
- AlicenseNot gradedqualityCmaintenanceA minimal MCP server for generating images via OpenAI's GPT image model, supporting inline display or file output.MIT
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for OpenAI Sora AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/boghyjunior-dot/openai-image-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server