Skip to content

Commit 743ab0f

Browse files
committed
feat: Pipeline stack
1 parent c84fc48 commit 743ab0f

File tree

7 files changed

+986
-0
lines changed

7 files changed

+986
-0
lines changed

pipeline/.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
*.js
2+
*.d.ts
3+
*.swp
4+
node_modules
5+
cdk.json
6+
cdk.context.json
7+
cdk.out

pipeline/.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.ts
2+
!*.d.ts

pipeline/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# MCP Servers Deployment Pipeline
2+
3+
This directory contains a CDK pipeline that automates the deployment of all MCP (Model Context Protocol) servers in the `examples/servers/` directory.
4+
5+
### Setup
6+
7+
**Customize repo and org name:**
8+
9+
Edit `src/pipeline-stack.ts` and update the CodeStar Connections source action:
10+
11+
```typescript
12+
owner: 'your-github-username',
13+
repo: 'your-repo-name',
14+
```
15+
16+
**Customize domain name:**
17+
18+
Edit `examples/servers/auth/lib/mcp-auth.ts` and replace `liguori.people.aws.dev` with your domain name.
19+
20+
**Bootstrap the CDK:**
21+
22+
```bash
23+
cdk bootstrap aws://ACCOUNT-ID/us-east-2
24+
```
25+
26+
### Deploy the pipeline
27+
28+
```bash
29+
npm run build
30+
npm run deploy
31+
```
32+
33+
### Activate the GitHub connection and pipeline
34+
35+
After deployment, you'll see `CodeConnectionsConsoleUrl` and `PipelineConsoleUrl` outputs.
36+
37+
Complete the connection setup:
38+
39+
1. Click on the Code Connections console URL. Click "Update pending connection" and authorize with GitHub. When finished, the connection should have the "Available" status.
40+
2. Click on the Pipeline console URL. Click "Release change".

0 commit comments

Comments
 (0)