Skip to content

Commit 2eab70f

Browse files
authored
Merge branch 'main' into add-video-jungle-editor
2 parents 6f49921 + d3136ce commit 2eab70f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1327
-189
lines changed

.github/workflows/typescript.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- uses: actions/setup-node@v4
3636
with:
37-
node-version: 18
37+
node-version: 22
3838
cache: npm
3939

4040
- name: Install dependencies
@@ -64,7 +64,7 @@ jobs:
6464
- uses: actions/checkout@v4
6565
- uses: actions/setup-node@v4
6666
with:
67-
node-version: 18
67+
node-version: 22
6868
cache: npm
6969
registry-url: "https://registry.npmjs.org"
7070

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ The repository contains reference implementations, as well as a list of communit
1010
We generally don't accept new servers into the repository. We do accept pull requests to the [README.md](./README.md)
1111
adding a reference to your servers.
1212

13+
Please keep lists in alphabetical order to minimize merge conflicts when adding new items.
14+
1315
- Check the [modelcontextprotocol.io](https://modelcontextprotocol.io) documentation
1416
- Ensure your server doesn't duplicate existing functionality
1517
- Consider whether your server would be generally useful to others

README.md

Lines changed: 86 additions & 45 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 19 additions & 99 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM node:22.12-alpine as builder
2+
3+
COPY src/aws-kb-retrieval-server /app
4+
COPY tsconfig.json /tsconfig.json
5+
6+
WORKDIR /app
7+
8+
RUN --mount=type=cache,target=/root/.npm npm install
9+
10+
FROM node:22-alpine AS release
11+
12+
WORKDIR /app
13+
14+
COPY --from=builder /app/dist /app/dist
15+
COPY --from=builder /app/package.json /app/package.json
16+
COPY --from=builder /app/package-lock.json /app/package-lock.json
17+
18+
ENV NODE_ENV=production
19+
20+
RUN npm ci --ignore-scripts --omit-dev
21+
22+
ENTRYPOINT ["node", "dist/index.js"]

src/aws-kb-retrieval-server/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,24 @@ An MCP server implementation for retrieving information from the AWS Knowledge B
2727

2828
Add this to your `claude_desktop_config.json`:
2929

30+
#### Docker
31+
32+
```json
33+
{
34+
"mcpServers": {
35+
"aws-kb-retrieval": {
36+
"command": "docker",
37+
"args": [ "run", "-i", "--rm", "-e", "AWS_ACCESS_KEY_ID", "-e", "AWS_SECRET_ACCESS_KEY", "-e", "AWS_REGION", "mcp/aws-kb-retrieval-server" ],
38+
"env": {
39+
"AWS_ACCESS_KEY_ID": "YOUR_ACCESS_KEY_HERE",
40+
"AWS_SECRET_ACCESS_KEY": "YOUR_SECRET_ACCESS_KEY_HERE",
41+
"AWS_REGION": "YOUR_AWS_REGION_HERE"
42+
}
43+
}
44+
}
45+
}
46+
```
47+
3048
```json
3149
{
3250
"mcpServers": {
@@ -46,6 +64,14 @@ Add this to your `claude_desktop_config.json`:
4664
}
4765
```
4866

67+
## Building
68+
69+
Docker:
70+
71+
```sh
72+
docker build -t mcp/aws-kb-retrieval -f src/aws-kb-retrieval-server/Dockerfile .
73+
```
74+
4975
## License
5076

5177
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

src/aws-kb-retrieval-server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"@aws-sdk/client-bedrock-agent-runtime": "^3.0.0"
2424
},
2525
"devDependencies": {
26-
"@types/node": "^20.10.0",
26+
"@types/node": "^22",
2727
"shx": "^0.3.4",
2828
"typescript": "^5.6.2"
2929
}
30-
}
30+
}

src/brave-search/Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM node:22.12-alpine as builder
2+
3+
# Must be entire project because `prepare` script is run during `npm install` and requires all files.
4+
COPY src/brave-search /app
5+
COPY tsconfig.json /tsconfig.json
6+
7+
WORKDIR /app
8+
9+
RUN --mount=type=cache,target=/root/.npm npm install
10+
11+
FROM node:22-alpine AS release
12+
13+
WORKDIR /app
14+
15+
COPY --from=builder /app/dist /app/dist
16+
COPY --from=builder /app/package.json /app/package.json
17+
COPY --from=builder /app/package-lock.json /app/package-lock.json
18+
19+
ENV NODE_ENV=production
20+
21+
RUN npm ci --ignore-scripts --omit-dev
22+
23+
ENTRYPOINT ["node", "dist/index.js"]

0 commit comments

Comments
 (0)