{"_id":"@cloudwerxlab/gpt-image-1-mcp","_rev":"9-5861920e8ed250b1f964544588cf4ab4","name":"@cloudwerxlab/gpt-image-1-mcp","dist-tags":{"latest":"3.2.0"},"versions":{"1.1.0":{"name":"@cloudwerxlab/gpt-image-1-mcp","version":"1.1.0","keywords":["mcp","openai","gpt-image-1","image-generation","model-context-protocol"],"author":"","license":"MIT","_id":"@cloudwerxlab/gpt-image-1-mcp@1.1.0","maintainers":[{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"}],"bin":{"gpt-image-1-mcp":"build/index.js"},"dist":{"shasum":"ad0c07fb5b94e39939849fb003896da64c438347","tarball":"https://registry.npmjs.org/@cloudwerxlab/gpt-image-1-mcp/-/gpt-image-1-mcp-1.1.0.tgz","fileCount":4,"integrity":"sha512-v0gQ7FpQTh1d2cH5ytMS6DATiOMqPD5u78lvRpo0nDZ0eK+7MwrB9AhRjJDjF/K8VyKZXT3z7Ay2JiS0Sq8/Sg==","signatures":[{"sig":"MEQCIAVZ4VAGzi4FEkwFyMjF+7CTbwONlEbnOthTzYcKIwSWAiBW9gcPkmaUyWdvoKZQ7AQfS7ih1eucGp6GcJZ9HY20MQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34683},"type":"module","engines":{"node":">=14.0.0"},"gitHead":"15c4c86bf5e1a2a9d980b0d9737b28df6f830a3a","scripts":{"test":"node test-mcp-server.js","build":"cd src && tsc && node -e \"require('fs').chmodSync('../build/index.js', '755')\"","watch":"cd src && tsc --watch","prepare":"npm run build","test:npx":"node test-npx.js","inspector":"npx @modelcontextprotocol/inspector ./build/index.js"},"_npmUser":{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"},"_npmVersion":"10.9.2","description":"A Model Context Protocol server for OpenAI's gpt-image-1 model","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"^3.24.4","openai":"^4.97.0","form-data":"^4.0.0","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.11.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/gpt-image-1-mcp_1.1.0_1746437340479_0.9808403669352783","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@cloudwerxlab/gpt-image-1-mcp","version":"1.1.1","keywords":["mcp","openai","gpt-image-1","image-generation","model-context-protocol"],"author":"","license":"MIT","_id":"@cloudwerxlab/gpt-image-1-mcp@1.1.1","maintainers":[{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"}],"bin":{"gpt-image-1-mcp":"build/index.js"},"dist":{"shasum":"d82d7ac7fd021f7c16c0e8d84f089ee887eec3aa","tarball":"https://registry.npmjs.org/@cloudwerxlab/gpt-image-1-mcp/-/gpt-image-1-mcp-1.1.1.tgz","fileCount":4,"integrity":"sha512-5VQgVlhkkrRkeaGjbblpxYmZjh73QoIaNUTwX97uvvGXmRB5+jo9SWm9b3Xp4lEjASA+b8x4s0Efr4rpJnTMQQ==","signatures":[{"sig":"MEQCIAwo/w8EORIB7W6J7qbnDwDaO2mnVt1zwMISr9SM4+6xAiAdRv4CO6/dzRzmhA30oPtmBkGH/5YnKqkzLuNfAL+pdA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34681},"type":"module","engines":{"node":">=14.0.0"},"gitHead":"15c4c86bf5e1a2a9d980b0d9737b28df6f830a3a","scripts":{"test":"node test-mcp-server.js","build":"cd src && tsc && node -e \"require('fs').chmodSync('../build/index.js', '755')\"","watch":"cd src && tsc --watch","prepare":"npm run build","test:npx":"node test-npx.js","inspector":"npx @modelcontextprotocol/inspector ./build/index.js"},"_npmUser":{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"},"_npmVersion":"10.9.2","description":"A Model Context Protocol server for OpenAI's gpt-image-1 model","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"^3.24.4","openai":"^4.97.0","form-data":"^4.0.0","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.11.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/gpt-image-1-mcp_1.1.1_1746437623675_0.8279704951697575","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@cloudwerxlab/gpt-image-1-mcp","version":"1.1.2","keywords":["mcp","openai","gpt-image-1","image-generation","model-context-protocol"],"author":"","license":"MIT","_id":"@cloudwerxlab/gpt-image-1-mcp@1.1.2","maintainers":[{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"}],"bin":{"gpt-image-1-mcp":"build/index.js"},"dist":{"shasum":"be53ab1cdedd6e6f7eeb6543f0d967242f1ff01d","tarball":"https://registry.npmjs.org/@cloudwerxlab/gpt-image-1-mcp/-/gpt-image-1-mcp-1.1.2.tgz","fileCount":4,"integrity":"sha512-5Ka8sPpJ+Q/xVeu2vJFWvc+Qm1ru/tbyKi+Qd+o4qlim6apGqcGhw1G5ftgfBV+c0heyklbWzaqKLi9qpj1oJw==","signatures":[{"sig":"MEUCIDiHKAHYmuc94vbc0Esl4mYTXO/EeeibqBleVLuM2xTNAiEAg5P/pb9edHVZJz5f+JsLnY3KuIvfg7MWIEBaYWGriaU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34582},"type":"module","engines":{"node":">=14.0.0"},"gitHead":"15c4c86bf5e1a2a9d980b0d9737b28df6f830a3a","scripts":{"test":"node test-mcp-server.js","build":"cd src && tsc && node -e \"require('fs').chmodSync('../build/index.js', '755')\"","watch":"cd src && tsc --watch","prepare":"npm run build","test:npx":"node test-npx.js","inspector":"npx @modelcontextprotocol/inspector ./build/index.js"},"_npmUser":{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"},"_npmVersion":"10.9.2","description":"A Model Context Protocol server for OpenAI's gpt-image-1 model","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"^3.24.4","openai":"^4.97.0","form-data":"^4.0.0","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.11.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/gpt-image-1-mcp_1.1.2_1746441196047_0.33281351719601493","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@cloudwerxlab/gpt-image-1-mcp","version":"1.1.4","keywords":["mcp","openai","gpt-image-1","image-generation","model-context-protocol"],"author":"","license":"MIT","_id":"@cloudwerxlab/gpt-image-1-mcp@1.1.4","maintainers":[{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"}],"bin":{"gpt-image-1-mcp":"build/index.js"},"dist":{"shasum":"a0f1b1e23949a58c011cfc720cbcc12de43ff20a","tarball":"https://registry.npmjs.org/@cloudwerxlab/gpt-image-1-mcp/-/gpt-image-1-mcp-1.1.4.tgz","fileCount":5,"integrity":"sha512-G8DkEmdAg4NKC2acv7eZowTicxKih/SObrixEdNpyTGrUXaJZdyK2Agw0j2gxKG8yJe77eNsOiedkfVw/UJwRQ==","signatures":[{"sig":"MEUCIHHlnR+e8NCQ4Az3SFa1uB9KIUTOsYRpvzl6ZSKUfGl8AiEAon/Jiywp3CxE6BQo0DdH7bS1K0tiJDURQF0o0kILraA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57630},"type":"module","engines":{"node":">=14.0.0"},"gitHead":"6c74b58feb3e4a32771840a4d54919b870100ad1","scripts":{"test":"node test-mcp-server.js","build":"cd src && tsc && node -e \"require('fs').chmodSync('../build/index.js', '755')\"","watch":"cd src && tsc --watch","prepare":"npm run build","test:npx":"node test-npx.js","inspector":"npx @modelcontextprotocol/inspector ./build/index.js"},"_npmUser":{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"},"_npmVersion":"10.9.2","description":"A Model Context Protocol server for OpenAI's gpt-image-1 model","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"^3.24.4","openai":"^4.97.0","form-data":"^4.0.0","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.11.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/gpt-image-1-mcp_1.1.4_1746596059543_0.7778141004275454","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@cloudwerxlab/gpt-image-1-mcp","version":"1.1.5","keywords":["mcp","openai","gpt-image-1","image-generation","model-context-protocol"],"author":"","license":"MIT","_id":"@cloudwerxlab/gpt-image-1-mcp@1.1.5","maintainers":[{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"}],"bin":{"gpt-image-1-mcp":"build/index.js"},"dist":{"shasum":"07c62eeca0fa978cc53776a3cb1e53c168b800b3","tarball":"https://registry.npmjs.org/@cloudwerxlab/gpt-image-1-mcp/-/gpt-image-1-mcp-1.1.5.tgz","fileCount":6,"integrity":"sha512-LLoLDfLlB/MeRL4U47q9xlrinuCUhs5RNY+LqgjuNEI2tWY6BTDS0d6spm828rgR8KOwd38u5BuTC0pGo1RRlg==","signatures":[{"sig":"MEYCIQC1l6selWT+D1n1m+Ut2M8huovW9nEzWiSrucdkyORTggIhAMvgCnP1gIdFVMrJAAxd7QhEp3II4DufvUiJ10qomcsy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3069293},"type":"module","engines":{"node":">=14.0.0"},"gitHead":"6c74b58feb3e4a32771840a4d54919b870100ad1","scripts":{"test":"node test-mcp-server.js","build":"cd src && tsc && node -e \"require('fs').chmodSync('../build/index.js', '755')\"","watch":"cd src && tsc --watch","prepare":"npm run build","test:npx":"node test-npx.js","inspector":"npx @modelcontextprotocol/inspector ./build/index.js"},"_npmUser":{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"},"_npmVersion":"10.9.2","description":"A Model Context Protocol server for OpenAI's gpt-image-1 model","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"^3.24.4","openai":"^4.97.0","form-data":"^4.0.0","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.11.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/gpt-image-1-mcp_1.1.5_1746596211093_0.9212248024389023","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"@cloudwerxlab/gpt-image-1-mcp","version":"1.1.6","keywords":["mcp","openai","gpt-image-1","image-generation","model-context-protocol"],"author":"","license":"MIT","_id":"@cloudwerxlab/gpt-image-1-mcp@1.1.6","maintainers":[{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"}],"bin":{"gpt-image-1-mcp":"build/index.js"},"dist":{"shasum":"4428bfdae3cd15f1df223db3a00e99bc267b5161","tarball":"https://registry.npmjs.org/@cloudwerxlab/gpt-image-1-mcp/-/gpt-image-1-mcp-1.1.6.tgz","fileCount":6,"integrity":"sha512-6NqUj5dYR1qZDHxU9CPAllV/QeCY/eQ3LiXwEObr7NfzpJ40epcOiRcIc+b1bVUPtEzzX2qwvvND59eO2h5BxQ==","signatures":[{"sig":"MEUCIQD59HfU8TNZ/t3g+YYNZadX+xzUDgiwX1h2ajzbfVs75QIgZVYUr10nrsPLFNX0Yehh8LaNRcXP0hs3XRZQSicdLSw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3059122},"type":"module","engines":{"node":">=14.0.0"},"gitHead":"d73e9c1512217f8d91a947011d8fbf7a8222b30f","scripts":{"test":"node test-mcp-server.js","build":"cd src && tsc && node -e \"require('fs').chmodSync('../build/index.js', '755')\"","watch":"cd src && tsc --watch","prepare":"npm run build","test:npx":"node test-npx.js","inspector":"npx @modelcontextprotocol/inspector ./build/index.js"},"_npmUser":{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"},"_npmVersion":"10.9.2","description":"A Model Context Protocol server for OpenAI's gpt-image-1 model","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"^3.24.4","openai":"^4.97.0","form-data":"^4.0.0","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.11.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/gpt-image-1-mcp_1.1.6_1746599539390_0.7620033764910565","host":"s3://npm-registry-packages-npm-production"}},"1.1.7":{"name":"@cloudwerxlab/gpt-image-1-mcp","version":"1.1.7","keywords":["mcp","openai","gpt-image-1","image-generation","model-context-protocol"],"author":"","license":"MIT","_id":"@cloudwerxlab/gpt-image-1-mcp@1.1.7","maintainers":[{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"}],"bin":{"gpt-image-1-mcp":"build/index.js"},"dist":{"shasum":"314ab33d1e4ccd0a27b3d49c8cb6e6eb071c6bb6","tarball":"https://registry.npmjs.org/@cloudwerxlab/gpt-image-1-mcp/-/gpt-image-1-mcp-1.1.7.tgz","fileCount":6,"integrity":"sha512-qQiqDgKv/o0iDukOYLSBXRxRJavv/TVpMs2PtMTnY4yl5jYrdYFqFIfxXEMLwb8h1Koh+ZaGsGy38NFTXedINA==","signatures":[{"sig":"MEYCIQDNp8F3w2E+jl4GNQDjbnvlNuzkuZXYwgLi0u9BqZIDGAIhAPcm3btbkDTDhYsIj5o7LDq9ERCDs+/6atB6Hy+b5h02","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3069237},"type":"module","engines":{"node":">=14.0.0"},"gitHead":"18036b3ab051c771f6dbe3b50347a2a8b37f859f","scripts":{"test":"node test-mcp-server.js","build":"cd src && tsc && node -e \"require('fs').chmodSync('../build/index.js', '755')\"","watch":"cd src && tsc --watch","prepare":"npm run build","test:npx":"node test-npx.js","inspector":"npx @modelcontextprotocol/inspector ./build/index.js"},"_npmUser":{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"},"_npmVersion":"10.9.2","description":"A Model Context Protocol server for OpenAI's gpt-image-1 model","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"^3.24.4","openai":"^4.97.0","form-data":"^4.0.0","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.11.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/gpt-image-1-mcp_1.1.7_1746600148778_0.3329378391220421","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@cloudwerxlab/gpt-image-1-mcp","version":"3.1.0","keywords":["mcp","openai","gpt-image-1","image-generation","model-context-protocol"],"author":"","license":"MIT","_id":"@cloudwerxlab/gpt-image-1-mcp@3.1.0","maintainers":[{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"}],"bin":{"gpt-image-1-mcp":"build/index.js"},"dist":{"shasum":"9c622470dd942c9c2eeb18e8686edd81bc689d72","tarball":"https://registry.npmjs.org/@cloudwerxlab/gpt-image-1-mcp/-/gpt-image-1-mcp-3.1.0.tgz","fileCount":6,"integrity":"sha512-ljhOnZBQgk8AEIDPnEP8+jCOIWNS9CNTudWG/qCAHlbQvdNlWHL9Bzhq2rzga34ke16bMhMetRmmOMxR6gZjEA==","signatures":[{"sig":"MEUCIG1QwLs13YCNTpGLLisR2iSduwGOkA7QzJRPhUSnP4+xAiEA8gSJbYS6UT5ao0efiK2qrLuYhQu/UWxbhA6MKJW4NL4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3069806},"type":"module","engines":{"node":">=14.0.0"},"gitHead":"1a9ba92c14c39f8b01f36b8bb8ca64cf65f94786","scripts":{"test":"node test-mcp-server.js","build":"cd src && tsc && node -e \"require('fs').chmodSync('../build/index.js', '755')\"","watch":"cd src && tsc --watch","prepare":"npm run build","test:npx":"node test-npx.js","inspector":"npx @modelcontextprotocol/inspector ./build/index.js"},"_npmUser":{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"},"_npmVersion":"10.9.2","description":"A Model Context Protocol server for OpenAI's gpt-image-1 model, supports Image Generation and Editing/Masks.","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"^3.24.4","openai":"^4.97.0","form-data":"^4.0.0","node-fetch":"^3.3.2","@smithery/sdk":"^1.3.2","@modelcontextprotocol/sdk":"^1.11.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/gpt-image-1-mcp_3.1.0_1746824029312_0.707299141262874","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"@cloudwerxlab/gpt-image-1-mcp","version":"3.2.0","description":"A Model Context Protocol server for OpenAI's gpt-image-1 model, supports Image Generation and Editing/Masks.","type":"module","bin":{"gpt-image-1-mcp":"build/index.js"},"scripts":{"build":"cd src && tsc && node -e \"require('fs').chmodSync('../build/index.js', '755')\"","watch":"cd src && tsc --watch","test":"node test-mcp-server.js","test:npx":"node test-npx.js","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector ./build/index.js"},"dependencies":{"@cloudwerxlab/gpt-image-1-mcp":"^3.1.0","@modelcontextprotocol/sdk":"^1.11.1","@smithery/sdk":"^1.3.2","form-data":"^4.0.0","node-fetch":"^3.3.2","openai":"^4.97.0","zod":"^3.24.4"},"devDependencies":{"@types/node":"^20.11.24","typescript":"^5.3.3"},"keywords":["mcp","openai","gpt-image-1","image-generation","model-context-protocol"],"author":"","license":"MIT","engines":{"node":">=14.0.0"},"_id":"@cloudwerxlab/gpt-image-1-mcp@3.2.0","gitHead":"1a9ba92c14c39f8b01f36b8bb8ca64cf65f94786","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-rF9FIDNXkWNwvEAd/udXwNHSABr73T4XRgwhvPtDCijLXJNtLrUFZh28qLZiL6bi/MrjbMu6Q/GQ2c0nPsn9YQ==","shasum":"79d11a4a29924fabdb4909b73402225b762b8d70","tarball":"https://registry.npmjs.org/@cloudwerxlab/gpt-image-1-mcp/-/gpt-image-1-mcp-3.2.0.tgz","fileCount":6,"unpackedSize":3070660,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGDR64hBHHKjmI0fqRKmd0Xdb9OHngDpKVtNOUoJKWrTAiEA4fdyQ/uAZsAJD5VXpwi9ewNXa4UgZwiFsw7CA0raGB4="}]},"_npmUser":{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"},"directories":{},"maintainers":[{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gpt-image-1-mcp_3.2.0_1746824879698_0.35417564753381203"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-05T09:29:00.380Z","modified":"2025-05-09T21:08:00.224Z","1.1.0":"2025-05-05T09:29:00.652Z","1.1.1":"2025-05-05T09:33:43.846Z","1.1.2":"2025-05-05T10:33:16.246Z","1.1.4":"2025-05-07T05:34:19.792Z","1.1.5":"2025-05-07T05:36:51.365Z","1.1.6":"2025-05-07T06:32:19.806Z","1.1.7":"2025-05-07T06:42:29.046Z","3.1.0":"2025-05-09T20:53:49.590Z","3.2.0":"2025-05-09T21:08:00.049Z"},"license":"MIT","keywords":["mcp","openai","gpt-image-1","image-generation","model-context-protocol"],"description":"A Model Context Protocol server for OpenAI's gpt-image-1 model, supports Image Generation and Editing/Masks.","maintainers":[{"name":"cloudwerxlab","email":"cloudwerxlaboratories@gmail.com"}],"readme":"<p align=\"center\">\n  <img src=\"logo.png\" alt=\"GPT Image 1 MCP Logo\" width=\"200\"/>\n</p>\n\n<h1 align=\"center\">@cloudwerxlab/gpt-image-1-mcp</h1>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@cloudwerxlab/gpt-image-1-mcp\"><img src=\"https://img.shields.io/npm/v/@cloudwerxlab/gpt-image-1-mcp.svg\" alt=\"npm version\"></a>\n  <a href=\"https://www.npmjs.com/package/@cloudwerxlab/gpt-image-1-mcp\"><img src=\"https://img.shields.io/npm/dm/@cloudwerxlab/gpt-image-1-mcp.svg\" alt=\"npm downloads\"></a>\n  <a href=\"https://github.com/CLOUDWERX-DEV/gpt-image-1-mcp/blob/main/LICENSE\"><img src=\"https://img.shields.io/github/license/CLOUDWERX-DEV/gpt-image-1-mcp.svg\" alt=\"license\"></a>\n  <a href=\"https://nodejs.org/\"><img src=\"https://img.shields.io/node/v/@cloudwerxlab/gpt-image-1-mcp.svg\" alt=\"node version\"></a>\n  <a href=\"https://cloudwerx.dev\"><img src=\"https://img.shields.io/badge/website-cloudwerx.dev-blue\" alt=\"Website\"></a>\n</p>\n\n<p align=\"center\">\n  A Model Context Protocol (MCP) server for generating and editing images using the OpenAI <code>gpt-image-1</code> model.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/badge/OpenAI-GPT--Image--1-6E46AE\" alt=\"OpenAI GPT-Image-1\">\n  <img src=\"https://img.shields.io/badge/MCP-Compatible-00A3E0\" alt=\"MCP Compatible\">\n</p>\n\n## 🚀 Quick Start\n\n<div align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@cloudwerxlab/gpt-image-1-mcp\"><img src=\"https://img.shields.io/badge/NPX-Ready-red.svg\" alt=\"NPX Ready\"></a>\n</div>\n\n<p align=\"center\">Run this MCP server directly using NPX without installing it. <a href=\"https://www.npmjs.com/package/@cloudwerxlab/gpt-image-1-mcp\">View on npm</a>.</p>\n\n```bash\nnpx -y @cloudwerxlab/gpt-image-1-mcp\n```\n\n<p align=\"center\">The <code>-y</code> flag automatically answers \"yes\" to any prompts that might appear during the installation process.</p>\n\n### 📋 Prerequisites\n\n<table>\n  <tr>\n    <td width=\"50%\" align=\"center\">\n      <img src=\"https://img.shields.io/badge/Node.js-v14+-339933?logo=node.js&logoColor=white\" alt=\"Node.js v14+\">\n      <p>Node.js (v14 or higher)</p>\n    </td>\n    <td width=\"50%\" align=\"center\">\n      <img src=\"https://img.shields.io/badge/OpenAI-API_Key-412991?logo=openai&logoColor=white\" alt=\"OpenAI API Key\">\n      <p>OpenAI API key with access to gpt-image-1</p>\n    </td>\n  </tr>\n</table>\n\n### 🔑 Environment Variables\n\n<table>\n  <tr>\n    <th>Variable</th>\n    <th>Required</th>\n    <th>Description</th>\n  </tr>\n  <tr>\n    <td><code>OPENAI_API_KEY</code></td>\n    <td>✅ Yes</td>\n    <td>Your OpenAI API key with access to the gpt-image-1 model</td>\n  </tr>\n  <tr>\n    <td><code>GPT_IMAGE_OUTPUT_DIR</code></td>\n    <td>❌ No</td>\n    <td>Custom directory for saving generated images (defaults to user's Pictures folder under <code>gpt-image-1</code> subfolder)</td>\n  </tr>\n</table>\n\n### 💻 Example Usage with NPX\n\n<table>\n  <tr>\n    <th>Operating System</th>\n    <th>Command Line Example</th>\n  </tr>\n  <tr>\n    <td><strong>Linux/macOS</strong></td>\n    <td>\n\n```bash\n# Set your OpenAI API key\nexport OPENAI_API_KEY=sk-your-openai-api-key\n\n# Optional: Set custom output directory\nexport GPT_IMAGE_OUTPUT_DIR=/home/username/Pictures/ai-generated-images\n\n# Run the server with NPX\nnpx -y @cloudwerxlab/gpt-image-1-mcp\n```\n  </tr>\n  <tr>\n    <td><strong>Windows (PowerShell)</strong></td>\n    <td>\n\n```powershell\n# Set your OpenAI API key\n$env:OPENAI_API_KEY = \"sk-your-openai-api-key\"\n\n# Optional: Set custom output directory\n$env:GPT_IMAGE_OUTPUT_DIR = \"C:\\Users\\username\\Pictures\\ai-generated-images\"\n\n# Run the server with NPX\nnpx -y @cloudwerxlab/gpt-image-1-mcp\n```\n  </tr>\n  <tr>\n    <td><strong>Windows (Command Prompt)</strong></td>\n    <td>\n\n```cmd\n:: Set your OpenAI API key\nset OPENAI_API_KEY=sk-your-openai-api-key\n\n:: Optional: Set custom output directory\nset GPT_IMAGE_OUTPUT_DIR=C:\\Users\\username\\Pictures\\ai-generated-images\n\n:: Run the server with NPX\nnpx -y @cloudwerxlab/gpt-image-1-mcp\n```\n  </tr>\n</table>\n\n## 🔌 Integration with MCP Clients\n\n<div align=\"center\">\n  <img src=\"https://img.shields.io/badge/VS_Code-MCP_Extension-007ACC?logo=visual-studio-code&logoColor=white\" alt=\"VS Code MCP Extension\">\n  <img src=\"https://img.shields.io/badge/Roo-Compatible-FF6B6B\" alt=\"Roo Compatible\">\n  <img src=\"https://img.shields.io/badge/Cursor-Compatible-4C2889\" alt=\"Cursor Compatible\">\n  <img src=\"https://img.shields.io/badge/Augment-Compatible-6464FF\" alt=\"Augment Compatible\">\n  <img src=\"https://img.shields.io/badge/Windsurf-Compatible-00B4D8\" alt=\"Windsurf Compatible\">\n</div>\n\n### 🛠️ Setting Up in an MCP Client\n\n<table>\n  <tr>\n    <td>\n      <h4>Step 1: Locate Settings File</h4>\n      <ul>\n        <li>For <strong>Roo</strong>: <code>c:\\Users\\&lt;username&gt;\\AppData\\Roaming\\Code\\User\\globalStorage\\rooveterinaryinc.roo-cline\\settings\\mcp_settings.json</code></li>\n        <li>For <strong>VS Code MCP Extension</strong>: Check your extension documentation for the settings file location</li>\n        <li>For <strong>Cursor</strong>: <code>~/.config/cursor/mcp_settings.json</code> (Linux/macOS) or <code>%APPDATA%\\Cursor\\mcp_settings.json</code> (Windows)</li>\n        <li>For <strong>Augment</strong>: <code>~/.config/augment/mcp_settings.json</code> (Linux/macOS) or <code>%APPDATA%\\Augment\\mcp_settings.json</code> (Windows)</li>\n        <li>For <strong>Windsurf</strong>: <code>~/.config/windsurf/mcp_settings.json</code> (Linux/macOS) or <code>%APPDATA%\\Windsurf\\mcp_settings.json</code> (Windows)</li>\n      </ul>\n    </td>\n  </tr>\n  <tr>\n    <td>\n      <h4>Step 2: Add Configuration</h4>\n      <p>Add the following configuration to the <code>mcpServers</code> object:</p>\n    </td>\n  </tr>\n</table>\n\n```json\n{\n  \"mcpServers\": {\n    \"gpt-image-1\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@cloudwerxlab/gpt-image-1-mcp\"\n      ],\n      \"env\": {\n        \"OPENAI_API_KEY\": \"PASTE YOUR OPEN-AI KEY HERE\",\n        \"GPT_IMAGE_OUTPUT_DIR\": \"OPTIONAL: PATH TO SAVE GENERATED IMAGES\"\n      }\n    }\n  }\n}\n```\n\n#### Example Configurations for Different Operating Systems\n\n<table>\n  <tr>\n    <th>Operating System</th>\n    <th>Example Configuration</th>\n  </tr>\n  <tr>\n    <td><strong>Windows</strong></td>\n    <td>\n\n```json\n{\n  \"mcpServers\": {\n    \"gpt-image-1\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@cloudwerxlab/gpt-image-1-mcp\"],\n      \"env\": {\n        \"OPENAI_API_KEY\": \"sk-your-openai-api-key\",\n        \"GPT_IMAGE_OUTPUT_DIR\": \"C:\\\\Users\\\\username\\\\Pictures\\\\ai-generated-images\"\n      }\n    }\n  }\n}\n```\n  </tr>\n  <tr>\n    <td><strong>Linux/macOS</strong></td>\n    <td>\n\n```json\n{\n  \"mcpServers\": {\n    \"gpt-image-1\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@cloudwerxlab/gpt-image-1-mcp\"],\n      \"env\": {\n        \"OPENAI_API_KEY\": \"sk-your-openai-api-key\",\n        \"GPT_IMAGE_OUTPUT_DIR\": \"/home/username/Pictures/ai-generated-images\"\n      }\n    }\n  }\n}\n```\n  </tr>\n</table>\n\n> **Note**: For Windows paths, use double backslashes (`\\\\`) to escape the backslash character in JSON. For Linux/macOS, use forward slashes (`/`).\n\n## ✨ Features\n\n<div align=\"center\">\n  <table>\n    <tr>\n      <td align=\"center\">\n        <h3>🎨 Core Tools</h3>\n        <ul>\n          <li><code>create_image</code>: Generate new images from text prompts</li>\n          <li><code>create_image_edit</code>: Edit existing images with text prompts and masks</li>\n        </ul>\n      </td>\n      <td align=\"center\">\n        <h3>🚀 Key Benefits</h3>\n        <ul>\n          <li>Simple integration with MCP clients</li>\n          <li>Full access to OpenAI's gpt-image-1 capabilities</li>\n          <li>Streamlined workflow for AI image generation</li>\n        </ul>\n      </td>\n    </tr>\n  </table>\n</div>\n\n### 💡 Enhanced Capabilities\n\n<table>\n  <tr>\n    <td>\n      <h4>📊 Output & Formatting</h4>\n      <ul>\n        <li>✅ <strong>Beautifully Formatted Output</strong>: Responses include emojis and detailed information</li>\n        <li>✅ <strong>Automatic Image Saving</strong>: All generated images saved to disk for easy access</li>\n        <li>✅ <strong>Detailed Token Usage</strong>: View token consumption for each request</li>\n      </ul>\n    </td>\n    <td>\n      <h4>⚙️ Configuration & Handling</h4>\n      <ul>\n        <li>✅ <strong>Configurable Output Directory</strong>: Customize where images are saved</li>\n        <li>✅ <strong>File Path Support</strong>: Edit images using file paths instead of base64 encoding</li>\n        <li>✅ <strong>Comprehensive Error Handling</strong>: Detailed error reporting with specific error codes, descriptions, and troubleshooting suggestions</li>\n      </ul>\n    </td>\n  </tr>\n</table>\n\n## 🔄 How It Works\n\n<div align=\"center\">\n  <table>\n    <tr>\n      <th align=\"center\">🖼️ Image Generation</th>\n      <th align=\"center\">✏️ Image Editing</th>\n    </tr>\n    <tr>\n      <td>\n        <ol>\n          <li>Server receives prompt and parameters</li>\n          <li>Calls OpenAI API using gpt-image-1 model</li>\n          <li>API returns base64-encoded images</li>\n          <li>Server saves images to configured directory</li>\n          <li>Returns formatted response with paths and metadata</li>\n        </ol>\n      </td>\n      <td>\n        <ol>\n          <li>Server receives image, prompt, and optional mask</li>\n          <li>For file paths, reads and prepares files for API</li>\n          <li>Uses direct curl command for proper MIME handling</li>\n          <li>API returns base64-encoded edited images</li>\n          <li>Server saves images to configured directory</li>\n          <li>Returns formatted response with paths and metadata</li>\n        </ol>\n      </td>\n    </tr>\n  </table>\n</div>\n\n### 📁 Output Directory Behavior\n\n<table>\n  <tr>\n    <td width=\"50%\">\n      <h4>📂 Storage Location</h4>\n      <ul>\n        <li>🔹 <strong>Default Location</strong>: User's Pictures folder under <code>gpt-image-1</code> subfolder (e.g., <code>C:\\Users\\username\\Pictures\\gpt-image-1</code> on Windows)</li>\n        <li>🔹 <strong>Custom Location</strong>: Set via <code>GPT_IMAGE_OUTPUT_DIR</code> environment variable</li>\n        <li>🔹 <strong>Fallback Location</strong>: <code>./generated-images</code> (if Pictures folder can't be determined)</li>\n      </ul>\n    </td>\n    <td width=\"50%\">\n      <h4>🗂️ File Management</h4>\n      <ul>\n        <li>🔹 <strong>Directory Creation</strong>: Automatically creates output directory if it doesn't exist</li>\n        <li>🔹 <strong>File Naming</strong>: Images saved with timestamped filenames (e.g., <code>image-2023-05-05T12-34-56-789Z.png</code>)</li>\n        <li>🔹 <strong>Cross-Platform</strong>: Works on Windows, macOS, and Linux with appropriate Pictures folder detection</li>\n      </ul>\n    </td>\n  </tr>\n</table>\n\n## Installation & Usage\n\n### NPM Package\n\nThis package is available on npm: [@cloudwerxlab/gpt-image-1-mcp](https://www.npmjs.com/package/@cloudwerxlab/gpt-image-1-mcp)\n\nYou can install it globally:\n\n```bash\nnpm install -g @cloudwerxlab/gpt-image-1-mcp\n```\n\nOr run it directly with npx as shown in the Quick Start section.\n\n### Tool: `create_image`\n\nGenerates a new image based on a text prompt.\n\n#### Parameters\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `prompt` | string | Yes | The text description of the image to generate (max 32,000 chars) |\n| `size` | string | No | Image size: \"1024x1024\" (default), \"1536x1024\", or \"1024x1536\" |\n| `quality` | string | No | Image quality: \"high\" (default), \"medium\", or \"low\" |\n| `n` | integer | No | Number of images to generate (1-10, default: 1) |\n| `background` | string | No | Background style: \"transparent\", \"opaque\", or \"auto\" (default) |\n| `output_format` | string | No | Output format: \"png\" (default), \"jpeg\", or \"webp\" |\n| `output_compression` | integer | No | Compression level (0-100, default: 0) |\n| `user` | string | No | User identifier for OpenAI usage tracking |\n| `moderation` | string | No | Moderation level: \"low\" or \"auto\" (default) |\n\n#### Example\n\n```xml\n<use_mcp_tool>\n<server_name>gpt-image-1</server_name>\n<tool_name>create_image</tool_name>\n<arguments>\n{\n  \"prompt\": \"A futuristic city skyline at sunset, digital art\",\n  \"size\": \"1024x1024\",\n  \"quality\": \"high\",\n  \"n\": 1,\n  \"background\": \"auto\"\n}\n</arguments>\n</use_mcp_tool>\n```\n\n#### Response\n\nThe tool returns:\n- A formatted text message with details about the generated image(s)\n- The image(s) as base64-encoded data\n- Metadata including token usage and file paths\n\n### Tool: `create_image_edit`\n\nEdits an existing image based on a text prompt and optional mask.\n\n#### Parameters\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `image` | string, object, or array | Yes | The image(s) to edit (base64 string or file path object) |\n| `prompt` | string | Yes | The text description of the desired edit (max 32,000 chars) |\n| `mask` | string or object | No | The mask that defines areas to edit (base64 string or file path object) |\n| `size` | string | No | Image size: \"1024x1024\" (default), \"1536x1024\", or \"1024x1536\" |\n| `quality` | string | No | Image quality: \"high\" (default), \"medium\", or \"low\" |\n| `n` | integer | No | Number of images to generate (1-10, default: 1) |\n| `background` | string | No | Background style: \"transparent\", \"opaque\", or \"auto\" (default) |\n| `user` | string | No | User identifier for OpenAI usage tracking |\n\n#### Example with Base64 Encoded Image\n\n```xml\n<use_mcp_tool>\n<server_name>gpt-image-1</server_name>\n<tool_name>create_image_edit</tool_name>\n<arguments>\n{\n  \"image\": \"BASE64_ENCODED_IMAGE_STRING\",\n  \"prompt\": \"Add a small robot in the corner\",\n  \"mask\": \"BASE64_ENCODED_MASK_STRING\",\n  \"quality\": \"high\"\n}\n</arguments>\n</use_mcp_tool>\n```\n\n#### Example with File Path\n\n```xml\n<use_mcp_tool>\n<server_name>gpt-image-1</server_name>\n<tool_name>create_image_edit</tool_name>\n<arguments>\n{\n  \"image\": {\n    \"filePath\": \"C:/path/to/your/image.png\"\n  },\n  \"prompt\": \"Add a small robot in the corner\",\n  \"mask\": {\n    \"filePath\": \"C:/path/to/your/mask.png\"\n  },\n  \"quality\": \"high\"\n}\n</arguments>\n</use_mcp_tool>\n```\n\n#### Response\n\nThe tool returns:\n- A formatted text message with details about the edited image(s)\n- The edited image(s) as base64-encoded data\n- Metadata including token usage and file paths\n\n## 🔧 Troubleshooting\n\n<div align=\"center\">\n  <img src=\"https://img.shields.io/badge/Support-Available-brightgreen\" alt=\"Support Available\">\n</div>\n\n### 🚨 Common Issues\n\n<table>\n  <tr>\n    <th align=\"center\">Issue</th>\n    <th align=\"center\">Solution</th>\n  </tr>\n  <tr>\n    <td>\n      <h4>🖼️ MIME Type Errors</h4>\n      <p>Errors related to image format or MIME type handling</p>\n    </td>\n    <td>\n      <p>Ensure image files have the correct extension (.png, .jpg, etc.) that matches their actual format. The server uses file extensions to determine MIME types.</p>\n    </td>\n  </tr>\n  <tr>\n    <td>\n      <h4>🔑 API Key Issues</h4>\n      <p>Authentication errors with OpenAI API</p>\n    </td>\n    <td>\n      <p>Verify your OpenAI API key is correct and has access to the gpt-image-1 model. Check for any spaces or special characters that might have been accidentally included.</p>\n    </td>\n  </tr>\n  <tr>\n    <td>\n      <h4>🛠️ Build Errors</h4>\n      <p>Issues when building from source</p>\n    </td>\n    <td>\n      <p>Ensure you have the correct TypeScript version installed (v5.3.3 or compatible) and that your <code>tsconfig.json</code> is properly configured. Run <code>npm install</code> to ensure all dependencies are installed.</p>\n    </td>\n  </tr>\n  <tr>\n    <td>\n      <h4>📁 Output Directory Issues</h4>\n      <p>Problems with saving generated images</p>\n    </td>\n    <td>\n      <p>Check if the process has write permissions to the configured output directory. Try using an absolute path for <code>GPT_IMAGE_OUTPUT_DIR</code> if relative paths aren't working.</p>\n    </td>\n  </tr>\n</table>\n\n### 🔍 Error Handling and Reporting\n\nThe MCP server includes comprehensive error handling that provides detailed information when something goes wrong. When an error occurs:\n\n1. **Error Format**: All errors are returned with:\n   - A clear error message describing what went wrong\n   - The specific error code or type\n   - Additional context about the error when available\n\n2. **AI Assistant Behavior**: When using this MCP server with AI assistants:\n   - The AI will always report the full error message to help with troubleshooting\n   - The AI will explain the likely cause of the error in plain language\n   - The AI will suggest specific steps to resolve the issue\n\n## 📄 License\n\n<div align=\"center\">\n  <a href=\"LICENSE\"><img src=\"https://img.shields.io/badge/License-MIT-blue.svg\" alt=\"MIT License\"></a>\n</div>\n\n<p align=\"center\">\n  This project is licensed under the MIT License - see the <a href=\"LICENSE\">LICENSE</a> file for details.\n</p>\n\n<details>\n  <summary>License Summary</summary>\n\n  <p>The MIT License is a permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.</p>\n\n  <p><strong>You are free to:</strong></p>\n  <ul>\n    <li>Use the software commercially</li>\n    <li>Modify the software</li>\n    <li>Distribute the software</li>\n    <li>Use and modify the software privately</li>\n  </ul>\n\n  <p><strong>Under the following terms:</strong></p>\n  <ul>\n    <li>Include the original copyright notice and the license notice in all copies or substantial uses of the work</li>\n  </ul>\n\n  <p><strong>Limitations:</strong></p>\n  <ul>\n    <li>The authors provide no warranty with the software and are not liable for any damages</li>\n  </ul>\n</details>\n\n## 🙏 Acknowledgments\n\n<div align=\"center\">\n  <table>\n    <tr>\n      <td align=\"center\">\n        <a href=\"https://openai.com/\">\n          <img src=\"https://img.shields.io/badge/OpenAI-412991?logo=openai&logoColor=white\" alt=\"OpenAI\">\n          <p>For providing the gpt-image-1 model</p>\n        </a>\n      </td>\n      <td align=\"center\">\n        <a href=\"https://github.com/model-context-protocol/mcp\">\n          <img src=\"https://img.shields.io/badge/MCP-Protocol-00A3E0\" alt=\"MCP Protocol\">\n          <p>For the protocol specification</p>\n        </a>\n      </td>\n    </tr>\n  </table>\n</div>\n\n<div align=\"center\">\n  <p>\n    <a href=\"https://github.com/CLOUDWERX-DEV/gpt-image-1-mcp/issues\">Report Bug</a> •\n    <a href=\"https://github.com/CLOUDWERX-DEV/gpt-image-1-mcp/issues\">Request Feature</a> •\n    <a href=\"https://cloudwerx.dev\">Visit Our Website</a>\n  </p>\n</div>\n\n<div align=\"center\">\n  <p>\n    Developed with ❤️ by <a href=\"https://cloudwerx.dev\">CLOUDWERX</a>\n  </p>\n</div>\n","readmeFilename":"README.md"}