OpenAI GPT MCP Server
OpenAI GPT MCP Server
표준 입력/출력을 통해 OpenAI GPT 텍스트 생성을 제공하는 로컬 Model Context Protocol 서버입니다.
사전 요구 사항
Node.js 18 이상
OpenAI API 키
Related MCP server: gpt-mcp
설치 및 빌드
npm install
npm run build.env.example을 .env로 복사하고 API 키를 설정하세요:
OPENAI_API_KEY=your_api_keyOPENAI_MODEL은 선택 사항이며 기본값은 gpt-5입니다. OPENAI_IMAGE_MODEL은 선택 사항이며 기본값은 gpt-image-2입니다.
MCP 클라이언트 구성
먼저 빌드한 다음 이 서버를 MCP 클라이언트 구성에 추가하세요. <absolute-path-to-repository>를 클론의 절대 경로로 바꾸세요.
{
"mcpServers": {
"openai-gpt": {
"command": "node",
"args": ["<absolute-path-to-repository>\\dist\\index.js"]
}
}
}도구: generate_text
필수 입력:
prompt: 모델에 보낼 텍스트입니다.
선택 입력:
instructions: 응답에 대한 시스템 수준 동작입니다.model:OPENAI_MODEL을 재정의하는 GPT 모델 ID입니다.max_output_tokens: 최대 응답 크기로, 1부터 16,384까지입니다.
서버는 OpenAI Responses API를 사용하며 생성된 텍스트를 MCP 클라이언트에 반환합니다. API 키를 출력이나 로그에 기록하지 않습니다.
도구: generate_image
하나의 PNG 이미지를 생성하여 MCP 클라이언트에 직접 반환합니다.
prompt(필수): 상세한 이미지 설명입니다.model(선택):OPENAI_IMAGE_MODEL을 재정의하는 이미지 모델 ID입니다.size(선택):1024x1024,1536x1024, 또는1024x1536입니다.quality(선택):low,medium, 또는high입니다.
이미지 생성은 Claude 사용과 별개로 OpenAI API 크레딧을 소비합니다.
직접 실행
npm start대화형 검사를 위해:
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