Skip to content

Commit 6d93f7b

Browse files
committed
add S3 upload for install script and update installation instructions
1 parent f19e731 commit 6d93f7b

File tree

3 files changed

+21
-31
lines changed

3 files changed

+21
-31
lines changed

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,14 @@ jobs:
7777
name: Upload servers.json to S3
7878
command: |
7979
aws s3 cp ./output/api/servers.json s3://aitools.eilat.melioservices.com/mcpm/servers.json --content-type "application/json"
80+
- run:
81+
name: Upload install script to S3
82+
command: |
83+
aws s3 cp ./pages/install s3://aitools.eilat.melioservices.com/mcpm/install --content-type "text/plain"
8084
- run:
8185
name: Invalidate CloudFront cache
8286
command: |
83-
aws cloudfront create-invalidation --distribution-id E3VSH7IG39WRB6 --paths "/mcpm/servers.json"
87+
aws cloudfront create-invalidation --distribution-id E3VSH7IG39WRB6 --paths "/mcpm/servers.json" "/mcpm/install"
8488
8589
workflows:
8690
test-and-deploy:

README.md

Lines changed: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ MCPM is an open source service and a CLI package management tool for MCP servers
2727
2828
## 🚀 Quick Installation
2929

30-
### Recommended:
30+
### Recommended (Melio Internal):
3131

3232
```bash
33-
curl -sSL https://mcpm.sh/install | bash
33+
curl -sSL https://aitools.eilat.melioservices.com/mcpm/install | bash
3434
```
3535

36-
Or choose [other installation methods](#-other-installation-methods) like `brew`, `pipx`, `uv` etc.
36+
This installs the latest version directly from the internal Melio repository, ensuring you always get the most up-to-date features and configurations.
3737

3838
## 🔎 Overview
3939

@@ -200,40 +200,26 @@ This project includes an internal MCP Registry with 9 curated and tested MCP ser
200200
- [ ] Additional client support
201201

202202

203-
## 📦 Other Installation Methods
203+
## 📦 Alternative Installation Methods
204204

205-
### 🍺 Homebrew
205+
For development or external use, you can also install from the GitHub repository:
206206

207-
```bash
208-
brew install mcpm
209-
```
210-
211-
### 📦 pipx (Recommended for Python tools)
207+
### 📦 pipx (Direct from GitHub)
212208

213209
```bash
214-
pipx install mcpm
210+
pipx install git+https://github.com/melio/mcpmelio.git@melio
215211
```
216212

217-
### 🪄 uv tool
213+
### 🪄 uv tool (Direct from GitHub)
218214

219215
```bash
220-
uv tool install mcpm
216+
uv tool install git+https://github.com/melio/mcpmelio.git@melio
221217
```
222218

223-
## More Installation Methods
224-
225-
### 🐍 pip
219+
### 🐍 pip (Direct from GitHub)
226220

227221
```bash
228-
pip install mcpm
229-
```
230-
231-
### 🧰 X-CMD
232-
233-
If you are a user of [x-cmd](https://x-cmd.com), you can run:
234-
235-
```sh
236-
x install mcpm.sh
222+
pip install git+https://github.com/melio/mcpmelio.git@melio
237223
```
238224

239225

pages/install

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ install_mcp() {
8484
# macOS installation path
8585
if command_exists pipx; then
8686
info "Using pipx to install MCPM (recommended)..."
87-
pipx install "git+https://github.com/melio/mcpmelio.git@melio"
87+
pipx install --force "git+https://github.com/melio/mcpmelio.git@melio"
8888
elif command_exists brew; then
8989
info "pipx not found, installing it via Homebrew..."
9090
brew install pipx
9191
info "Now installing MCPM with pipx..."
92-
pipx install git+https://github.com/melio/mcpmelio.git@melio
92+
pipx install --force git+https://github.com/melio/mcpmelio.git@melio
9393
else
9494
info "Creating a dedicated virtual environment for MCPM..."
9595
MCPM_VENV="$HOME/.mcpm-venv"
9696
python3 -m venv "$MCPM_VENV"
97-
"$MCPM_VENV/bin/pip" install mcpm
97+
"$MCPM_VENV/bin/pip" install --upgrade --force-reinstall git+https://github.com/melio/mcpmelio.git@melio
9898

9999
# Create symlinks to the user's bin directory
100100
USER_BIN="$HOME/.local/bin"
@@ -115,11 +115,11 @@ install_mcp() {
115115
# Non-macOS installation path - try standard methods
116116
if command_exists pipx; then
117117
info "Using pipx to install MCPM (recommended)..."
118-
pipx install git+https://github.com/melio/mcpmelio.git@melio
118+
pipx install --force git+https://github.com/melio/mcpmelio.git@melio
119119
else
120120
# Try to use pip in user mode with appropriate flags
121121
info "Installing with pip in user mode..."
122-
python3 -m pip install --user mcpm || {
122+
python3 -m pip install --user --upgrade --force-reinstall git+https://github.com/melio/mcpmelio.git@melio || {
123123
error "Failed to install MCPM. Please check your permissions and try again."
124124
echo "You may want to try one of these alternatives:"
125125
echo " 1. Install pipx (https://pypa.github.io/pipx/) and run: pipx install git+https://github.com/melio/mcpmelio.git@melio"

0 commit comments

Comments
 (0)