Skip to content

Commit 2312829

Browse files
committed
fix for welcome installer text
1 parent f7cdb5b commit 2312829

File tree

3 files changed

+186
-109
lines changed

3 files changed

+186
-109
lines changed

scripts/create-pkg.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ cat > "$TEMP_DIR/Distribution.xml" << EOF
260260
<options customize="never" require-scripts="true" rootVolumeOnly="true" />
261261
262262
<!-- Define documents displayed at various steps -->
263-
<welcome language="en" mime-type="text/rtf">welcome_en.rtf</welcome>
264-
<conclusion language="en" mime-type="text/rtf">conclusion_en.rtf</conclusion>
263+
<welcome file="welcome_en.rtf" mime-type="text/rtf"/>
264+
<conclusion file="conclusion_en.rtf" mime-type="text/rtf"/>
265265
266266
<!-- List all component packages -->
267267
<pkg-ref id="$BUNDLE_ID.pkg"/>
@@ -290,6 +290,7 @@ EOF
290290
if [ -f "scripts/installer-resources/welcome_en.rtf" ]; then
291291
echo "Using external welcome_en.rtf from installer-resources/"
292292
cp "scripts/installer-resources/welcome_en.rtf" "$TEMP_DIR/welcome_en.rtf"
293+
ls -la "$TEMP_DIR/welcome_en.rtf"
293294
else
294295
echo "Warning: scripts/installer-resources/welcome_en.rtf not found, using inline fallback"
295296
cat > "$TEMP_DIR/welcome_en.rtf" << 'EOF'
@@ -312,6 +313,7 @@ fi
312313
if [ -f "scripts/installer-resources/conclusion_en.rtf" ]; then
313314
echo "Using external conclusion_en.rtf from installer-resources/"
314315
cp "scripts/installer-resources/conclusion_en.rtf" "$TEMP_DIR/conclusion_en.rtf"
316+
ls -la "$TEMP_DIR/conclusion_en.rtf"
315317
else
316318
echo "Warning: scripts/installer-resources/conclusion_en.rtf not found, using inline fallback"
317319
cat > "$TEMP_DIR/conclusion_en.rtf" << 'EOF'
@@ -333,6 +335,12 @@ Thank you for installing MCP Proxy—enjoy faster, safer MCP tooling.
333335
EOF
334336
fi
335337

338+
# Verify RTF files are in place
339+
echo "=== Verifying resources for product PKG ==="
340+
ls -la "$TEMP_DIR"/*.rtf 2>/dev/null || echo "Warning: No RTF files found in $TEMP_DIR"
341+
echo "=== Distribution.xml contents ==="
342+
grep -A2 -E "(welcome|conclusion)" "$TEMP_DIR/Distribution.xml"
343+
336344
# Create product PKG (installer)
337345
echo "Creating product PKG..."
338346
productbuild --distribution "$TEMP_DIR/Distribution.xml" \
Lines changed: 98 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,99 @@
1-
{\rtf1\ansi\deff0 {\fonttbl {\f0 Helvetica;}{\f1 Helvetica-Bold;}{\f2 Courier;}}
2-
{\colortbl;\red0\green0\blue0;\red51\green51\blue51;\red0\green102\blue204;}
3-
\f1\fs36\cf1 Installation Complete!\line
4-
\f0\fs24\cf2\line
5-
MCP Proxy has been successfully installed on your Mac.\line
6-
\line
7-
\b\fs28 Getting Started\b0\fs24\line
8-
\line
9-
{\b Option 1: System Tray Application (Recommended)}\line
10-
\f1\bullet\f0 Open {\b Applications} folder and double-click {\b mcpproxy.app}\line
11-
\f1\bullet\f0 The MCP Proxy icon will appear in your menu bar\line
12-
\f1\bullet\f0 Click the menu bar icon to manage servers and view status\line
13-
\f1\bullet\f0 The core server will start automatically when you launch the tray app\line
14-
\line
15-
{\b Option 2: Command-Line Interface}\line
16-
\f1\bullet\f0 Open {\b Terminal}\line
17-
\f1\bullet\f0 Run: \f2 mcpproxy serve\f0\line
18-
\f1\bullet\f0 The server will start on {\b http://127.0.0.1:8080} by default\line
19-
\line
20-
\b\fs28 Default Configuration\b0\fs24\line
21-
MCP Proxy runs in {\b HTTP mode} by default - no certificate trust required!\line
22-
\line
23-
\f1\bullet\f0 {\b Default endpoint:} http://127.0.0.1:8080\line
24-
\f1\bullet\f0 {\b Config file:} ~/.mcpproxy/mcp_config.json\line
25-
\f1\bullet\f0 {\b Data directory:} ~/.mcpproxy/\line
26-
\f1\bullet\f0 {\b Logs:} ~/Library/Logs/mcpproxy/\line
27-
\line
28-
\b\fs28 Optional: Enable HTTPS (Advanced)\b0\fs24\line
29-
If you need HTTPS for your workflow:\line
30-
\line
31-
{\b Step 1: Trust the bundled CA certificate}\line
32-
\f2 mcpproxy trust-cert\f0\line
33-
\line
34-
{\b Step 2: Enable TLS in environment}\line
35-
\f2 export MCPPROXY_TLS_ENABLED=true\f0\line
36-
\line
37-
{\b Step 3: Start server}\line
38-
\f2 mcpproxy serve\f0\line
39-
\line
40-
{\i For Claude Desktop with HTTPS, add to your config:}\line
41-
\f2 "env": \{\line
42-
"NODE_EXTRA_CA_CERTS": "~/.mcpproxy/certs/ca.pem"\line
43-
\}\f0\line
44-
\line
45-
\b\fs28 Useful Commands\b0\fs24\line
46-
\f2 mcpproxy --help\f0 # Show all available commands\line
47-
\f2 mcpproxy upstream list\f0 # List configured MCP servers\line
48-
\f2 mcpproxy tools search "git"\f0 # Search for tools across servers\line
49-
\f2 mcpproxy auth status\f0 # Check OAuth authentication status\line
50-
\line
51-
\b\fs28 Documentation & Support\b0\fs24\line
52-
\line
53-
\f1\bullet\f0 {\b Documentation:} \cf3 https://mcpproxy.app/docs\cf2\line
54-
\f1\bullet\f0 {\b GitHub Repository:} \cf3 https://github.com/smart-mcp-proxy/mcpproxy-go\cf2\line
55-
\f1\bullet\f0 {\b Report Issues:} \cf3 https://github.com/smart-mcp-proxy/mcpproxy-go/issues\cf2\line
56-
\f1\bullet\f0 {\b Release Notes:} \cf3 https://github.com/smart-mcp-proxy/mcpproxy-go/releases\cf2\line
57-
\line
58-
\b\fs28 Security & Privacy\b0\fs24\line
59-
MCP Proxy includes built-in security features:\line
60-
\line
61-
\f1\bullet\f0 {\b Automatic Quarantine:} New servers are quarantined until you approve them\line
62-
\f1\bullet\f0 {\b Localhost Binding:} Server binds to 127.0.0.1 by default (no network exposure)\line
63-
\f1\bullet\f0 {\b API Key Protection:} Optional authentication for REST API endpoints\line
64-
\f1\bullet\f0 {\b Docker Isolation:} Run stdio MCP servers in isolated containers\line
65-
\line
66-
\line
67-
{\b Thank you for installing MCP Proxy!}\line
68-
\line
69-
We hope MCP Proxy accelerates your AI workflow with faster tool discovery and enhanced security.\line
70-
\line
71-
{\i Happy proxying! \'f0\'9f\'9a\'80}\line
1+
{\rtf1\ansi\ansicpg1252
2+
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 Courier;}
3+
\f0\fs24
4+
Installation completed successfully!
5+
\
6+
\
7+
8+
\b Quick Start\b0
9+
\
10+
\
11+
12+
\b Option 1: System Tray (Recommended)\b0
13+
\
14+
15+
1. Open Applications folder
16+
\
17+
18+
2. Double-click mcpproxy.app
19+
\
20+
21+
3. Look for the icon in your menu bar
22+
\
23+
\
24+
25+
\b Option 2: Command Line\b0
26+
\
27+
28+
1. Open Terminal
29+
\
30+
31+
2. Run: \f1 mcpproxy serve\f0
32+
\
33+
34+
3. Server starts on http://127.0.0.1:8080
35+
\
36+
\
37+
38+
\b Default Configuration\b0
39+
\
40+
\
41+
42+
- Endpoint: http://127.0.0.1:8080
43+
\
44+
45+
- Config: ~/.mcpproxy/mcp_config.json
46+
\
47+
48+
- Logs: ~/Library/Logs/mcpproxy/
49+
\
50+
51+
- Mode: HTTP (no certificate needed)
52+
\
53+
\
54+
55+
\b Optional HTTPS Setup\b0
56+
\
57+
\
58+
59+
If you need HTTPS:
60+
\
61+
\
62+
63+
1. Trust certificate: \f1 mcpproxy trust-cert\f0
64+
\
65+
66+
2. Enable TLS: \f1 export MCPPROXY_TLS_ENABLED=true\f0
67+
\
68+
69+
3. Start server: \f1 mcpproxy serve\f0
70+
\
71+
\
72+
73+
\b Useful Commands\b0
74+
\
75+
\
76+
77+
\f1 mcpproxy --help\f0 Show all commands
78+
\
79+
80+
\f1 mcpproxy upstream list\f0 List configured servers
81+
\
82+
83+
\f1 mcpproxy tools search\f0 Search for tools
84+
\
85+
\
86+
87+
\b Documentation\b0
88+
\
89+
\
90+
91+
- GitHub: github.com/smart-mcp-proxy/mcpproxy-go
92+
\
93+
94+
- Issues: github.com/smart-mcp-proxy/mcpproxy-go/issues
95+
\
96+
\
97+
98+
Thank you for installing MCP Proxy!
7299
}
Lines changed: 78 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,79 @@
1-
{\rtf1\ansi\deff0 {\fonttbl {\f0 Helvetica;}{\f1 Helvetica-Bold;}}
2-
{\colortbl;\red0\green0\blue0;\red51\green51\blue51;}
3-
\f1\fs36\cf1 Welcome to MCP Proxy\line
4-
\f0\fs24\cf2\line
5-
Thank you for choosing MCP Proxy, the intelligent federated hub for Model Context Protocol (MCP) servers.\line
6-
\line
7-
\b What is MCP Proxy?\b0\line
8-
MCP Proxy acts as a smart proxy between AI agents and multiple MCP servers, providing:\line
9-
\line
10-
\f1\bullet\f0 {\b Federated Tool Discovery} - Search and discover tools across dozens of MCP servers without hitting provider token limits\line
11-
\f1\bullet\f0 {\b Security Quarantine} - Automatic isolation of untrusted servers until you manually approve them\line
12-
\f1\bullet\f0 {\b Unified API} - Single endpoint for all your MCP tools with intelligent routing\line
13-
\f1\bullet\f0 {\b System Tray Integration} - Easy management via native macOS menu bar interface\line
14-
\f1\bullet\f0 {\b Optional HTTPS} - Built-in certificate authority for secure connections (optional, HTTP by default)\line
15-
\line
16-
\b\fs28 System Requirements\b0\fs24\line
17-
\f1\bullet\f0 macOS 10.15 (Catalina) or later\line
18-
\f1\bullet\f0 64-bit Intel or Apple Silicon Mac\line
19-
\f1\bullet\f0 Administrator privileges for installation\line
20-
\f1\bullet\f0 ~50 MB of disk space\line
21-
\line
22-
\b\fs28 Before You Install\b0\fs24\line
23-
\f1\bullet\f0 {\b Close any running instances} of MCP Proxy (tray app or CLI)\line
24-
\f1\bullet\f0 {\b Ensure no other applications} are using port 8080 (default)\line
25-
\f1\bullet\f0 {\b Review security settings} if you plan to add custom MCP servers\line
26-
\line
27-
\b\fs28 What Will Be Installed\b0\fs24\line
28-
This installer will place the following in your Applications folder:\line
29-
\line
30-
\f1\bullet\f0 {\b mcpproxy.app} - System tray application with GUI controls\line
31-
\f1\bullet\f0 {\b mcpproxy CLI} - Command-line interface for advanced usage\line
32-
\f1\bullet\f0 {\b CA Certificate} - Self-signed certificate for optional HTTPS mode\line
33-
\line
34-
{\i Note: The CLI tool is accessible via Terminal after installation.}\line
35-
\line
36-
Click {\b Continue} to proceed with the installation.\line
1+
{\rtf1\ansi\ansicpg1252
2+
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
3+
\f0\fs24
4+
Welcome to MCP Proxy
5+
\
6+
\
7+
8+
Thank you for choosing MCP Proxy, the intelligent hub for Model Context Protocol (MCP) servers.
9+
\
10+
\
11+
12+
\b What is MCP Proxy?\b0
13+
\
14+
\
15+
16+
MCP Proxy connects AI agents to multiple MCP servers:
17+
\
18+
\
19+
20+
- Federated Tool Discovery - Search tools across all servers
21+
\
22+
23+
- Security Quarantine - Automatic isolation of new servers
24+
\
25+
26+
- Unified API - Single endpoint for all MCP tools
27+
\
28+
29+
- System Tray - Easy management via menu bar
30+
\
31+
32+
- HTTP by Default - Works immediately, HTTPS optional
33+
\
34+
\
35+
36+
\b System Requirements\b0
37+
\
38+
\
39+
40+
- macOS 10.15 (Catalina) or later
41+
\
42+
43+
- Intel or Apple Silicon Mac
44+
\
45+
46+
- Administrator privileges
47+
\
48+
49+
- ~50 MB disk space
50+
\
51+
\
52+
53+
\b Before Installing\b0
54+
\
55+
\
56+
57+
- Close any running MCP Proxy instances
58+
\
59+
60+
- Ensure port 8080 is available (default)
61+
\
62+
\
63+
64+
\b What Will Be Installed\b0
65+
\
66+
\
67+
68+
- mcpproxy.app - System tray application
69+
\
70+
71+
- mcpproxy CLI - Command-line interface
72+
\
73+
74+
- CA Certificate - For optional HTTPS mode
75+
\
76+
\
77+
78+
Click Continue to proceed with installation.
3779
}

0 commit comments

Comments
 (0)