Skip to content

Commit 4e77f18

Browse files
committed
Add directory creation step to EC2 installation instructions
- Added step 2 to create local directories for MCP server logs and runtime data - Updated subsequent step numbers to maintain correct sequence - Includes creation of /opt/mcp-gateway/servers, /opt/mcp-gateway/auth_server, and /var/log/mcp-gateway directories - Copies necessary configuration files to appropriate locations
1 parent f46db82 commit 4e77f18

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,16 @@ The deployment includes these containers:
260260
cd mcp-gateway-registry
261261
```
262262

263-
2. **Configure environment variables:**
263+
2. **Create local directories for saving MCP server logs and run-time data:**
264+
```bash
265+
sudo mkdir -p /opt/mcp-gateway/servers
266+
sudo cp -r registry/servers /opt/mcp-gateway/
267+
sudo mkdir -p /opt/mcp-gateway/auth_server
268+
sudo cp auth_server/scopes.yml /opt/mcp-gateway/auth_server/scopes.yml
269+
sudo mkdir /var/log/mcp-gateway
270+
```
271+
272+
3. **Configure environment variables:**
264273
```bash
265274
# Copy the template and edit with your values
266275
cp .env.template .env
@@ -278,7 +287,7 @@ The deployment includes these containers:
278287
- `POLYGON_API_KEY`: For financial data tools (get from [Polygon.io](https://polygon.io/dashboard/signup))
279288
- `SECRET_KEY`: Auto-generated by build script if not provided
280289

281-
3. **Deploy with the build and run script:**
290+
4. **Deploy with the build and run script:**
282291
```bash
283292
./build_and_run.sh
284293
```
@@ -290,7 +299,7 @@ The deployment includes these containers:
290299
- Start all services in the correct order
291300
- Verify service health and display status
292301

293-
4. **Access the Registry:**
302+
5. **Access the Registry:**
294303
Navigate to `http://localhost:7860` and you will have two authentication options:
295304

296305
**Option 1 - Amazon Cognito (Recommended for Production):**

0 commit comments

Comments
 (0)