Skip to content

Commit b0f0ad0

Browse files
build: Add pre-built dist folder for easier usage
- Include compiled JavaScript files in repository - Update installation docs with pre-built option - Users can now clone and use without building - Especially helpful for Claude Desktop integration This makes the MCP server immediately usable after cloning, without requiring TypeScript compilation knowledge.
1 parent 270e466 commit b0f0ad0

22 files changed

+514
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
node_modules/
33

44
# Build output
5-
dist/
5+
# dist/ # We're committing dist for easier usage
66

77
# Environment files
88
.env

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,25 @@ A Model Context Protocol (MCP) server that provides access to OpenAI's GPT Image
2626

2727
### Installation
2828

29+
#### Option 1: Use Pre-built Version (Recommended)
30+
31+
```bash
32+
# Clone the repository
33+
git clone https://github.com/pavelsukhachev/mcp-server-gpt-image.git
34+
cd mcp-server-gpt-image
35+
36+
# Install dependencies (required for runtime)
37+
npm install --production
38+
```
39+
40+
#### Option 2: Build from Source
41+
2942
```bash
3043
# Clone the repository
31-
git clone https://github.com/brisklad/mcp-server-gpt-image.git
44+
git clone https://github.com/pavelsukhachev/mcp-server-gpt-image.git
3245
cd mcp-server-gpt-image
3346

34-
# Install dependencies
47+
# Install all dependencies
3548
npm install
3649

3750
# Build the project
@@ -236,4 +249,4 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
236249

237250
---
238251

239-
**Note**: This is an unofficial implementation. GPT Image-1 is a product of OpenAI.test: CI trigger
252+
**Note**: This is an unofficial implementation. GPT Image-1 is a product of OpenAI.

dist/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import 'dotenv/config';
2+
//# sourceMappingURL=index.d.ts.map

dist/index.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/server.d.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
2+
export declare function createMCPServer(): Server<{
3+
method: string;
4+
params?: {
5+
[x: string]: unknown;
6+
_meta?: {
7+
[x: string]: unknown;
8+
progressToken?: string | number | undefined;
9+
} | undefined;
10+
} | undefined;
11+
}, {
12+
method: string;
13+
params?: {
14+
[x: string]: unknown;
15+
_meta?: {
16+
[x: string]: unknown;
17+
} | undefined;
18+
} | undefined;
19+
}, {
20+
[x: string]: unknown;
21+
_meta?: {
22+
[x: string]: unknown;
23+
} | undefined;
24+
}>;
25+
export declare function runStdioServer(): Promise<void>;
26+
//# sourceMappingURL=server.d.ts.map

dist/server.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/server.js

Lines changed: 102 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/server.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)