Skip to content

Commit 65d36ec

Browse files
committed
chore: Make binary name match repo name
1 parent 26e6e61 commit 65d36ec

File tree

16 files changed

+38
-34
lines changed

16 files changed

+38
-34
lines changed

.github/workflows/cdk-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ jobs:
4747
- name: Install CDK CLI
4848
run: npm install -g aws-cdk
4949

50-
- name: Build and link mcp-server-with-aws-lambda package
50+
- name: Build and link run-mcp-servers-with-aws-lambda package
5151
run: npm ci && npm run build && npm link
5252
working-directory: ./src/typescript
5353

5454
- name: Install dependencies
55-
run: npm ci && npm link mcp-server-with-aws-lambda
55+
run: npm ci && npm link run-mcp-servers-with-aws-lambda
5656
working-directory: ./examples/servers/weather-alerts
5757

5858
- name: Build

.github/workflows/typescript-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ jobs:
4242
with:
4343
node-version: 20
4444

45-
- name: Build and link mcp-server-with-aws-lambda package
45+
- name: Build and link run-mcp-servers-with-aws-lambda package
4646
run: npm ci && npm run build && npm link
4747
working-directory: ./src/typescript
4848

4949
- name: Install dependencies
50-
run: npm ci && npm link mcp-server-with-aws-lambda
50+
run: npm ci && npm link run-mcp-servers-with-aws-lambda
5151
working-directory: ./examples/chatbots/typescript
5252

5353
- name: Build

DEVELOP.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ cdk bootstrap aws://<aws account id>/us-east-2
5050

5151
### Build the Python module
5252

53-
Install the mcp-server-with-aws-lambda Python module from source:
53+
Install the run-mcp-servers-with-aws-lambda Python module from source:
5454

5555
```bash
5656
cd src/python/
@@ -68,7 +68,7 @@ uv run pytest
6868

6969
### Build the Typescript package
7070

71-
Build the mcp-server-with-aws-lambda Typescript module:
71+
Build the run-mcp-servers-with-aws-lambda Typescript module:
7272

7373
```bash
7474
cd src/typescript/
@@ -101,7 +101,7 @@ cd examples/servers/weather-alerts/
101101

102102
npm install
103103

104-
npm link mcp-server-with-aws-lambda
104+
npm link run-mcp-servers-with-aws-lambda
105105

106106
npm run build
107107

@@ -129,7 +129,7 @@ cd examples/chatbots/typescript/
129129

130130
npm install
131131

132-
npm link mcp-server-with-aws-lambda
132+
npm link run-mcp-servers-with-aws-lambda
133133

134134
npm run build
135135

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ flowchart LR
3131
App["Your Application<br>with MCP Clients"]
3232
S3["MCP Server A<br>(Lambda function)"]
3333
S4["MCP Server B<br>(Lambda function)"]
34-
App <-->|"MCP Protocol<br>(invoke function)"| S3
35-
App <-->|"MCP Protocol<br>(invoke function)"| S4
34+
App <-->|"MCP Protocol<br>with custom transport<br>(invoke function)"| S3
35+
App <-->|"MCP Protocol<br>with custom transport<br>(invoke function)"| S4
3636
end
3737
```
3838

@@ -132,7 +132,9 @@ const serverParams = {
132132

133133
export const handler: Handler = async (event, context: Context) => {
134134
// Dynamically import ES module into CommonJS Lambda function
135-
const { stdioServerAdapter } = await import("mcp-server-with-aws-lambda");
135+
const { stdioServerAdapter } = await import(
136+
"run-mcp-servers-with-aws-lambda"
137+
);
136138

137139
return await stdioServerAdapter(serverParams, event, context);
138140
};
@@ -172,7 +174,7 @@ with the MCP protocol and returns the function's response to the caller.
172174
import {
173175
LambdaFunctionParameters,
174176
LambdaFunctionClientTransport,
175-
} from "mcp-server-with-aws-lambda";
177+
} from "run-mcp-servers-with-aws-lambda";
176178
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
177179

178180
const serverParams: LambdaFunctionParameters = {

e2e_tests/python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ uvicorn>=0.32.1
44

55
# For testing, this module is installed from local files.
66
# Uncomment this line to build using the module from PyPi
7-
# mcp-server-with-aws-lambda >= 0.0.1
7+
# run-mcp-servers-with-aws-lambda >= 0.0.1

e2e_tests/run_integ_test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ npm link
2525

2626
cd ../../examples/servers/weather-alerts/
2727
npm ci
28-
npm link mcp-server-with-aws-lambda
28+
npm link run-mcp-servers-with-aws-lambda
2929
npm run build
3030
cdk deploy --app 'node lib/weather-alerts-mcp-server.js'
3131

@@ -42,6 +42,6 @@ python main.py
4242
# Run the Typescript integ test
4343
cd ../typescript/
4444
npm ci
45-
npm link mcp-server-with-aws-lambda
45+
npm link run-mcp-servers-with-aws-lambda
4646
npm run build
4747
npm test

e2e_tests/typescript/src/server_clients/lambda_function.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
LambdaFunctionParameters,
33
LambdaFunctionClientTransport,
4-
} from "mcp-server-with-aws-lambda";
4+
} from "run-mcp-servers-with-aws-lambda";
55
import { Server } from "./server.js";
66
import logger from "../logger.js";
77

examples/chatbots/python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ uvicorn>=0.32.1
44

55
# For testing, this module is installed from local files.
66
# Uncomment this line to build using the module from PyPi
7-
# mcp-server-with-aws-lambda >= 0.0.1
7+
# run-mcp-servers-with-aws-lambda >= 0.0.1

examples/chatbots/typescript/src/server_clients/lambda_function.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
LambdaFunctionParameters,
33
LambdaFunctionClientTransport,
4-
} from "mcp-server-with-aws-lambda";
4+
} from "run-mcp-servers-with-aws-lambda";
55
import { Server } from "./server.js";
66
import logger from "../logger.js";
77

examples/servers/time/cdk_stack.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
import os
1515

1616

17-
# For testing, the mcp-server-with-aws-lambda module is built and bundled
17+
# For testing, the run-mcp-servers-with-aws-lambda module is built and bundled
1818
# from local files. Remove these command hooks if using the
19-
# mcp-server-with-aws-lambda from PyPi.
19+
# run-mcp-servers-with-aws-lambda from PyPi.
2020
@jsii.implements(lambda_python.ICommandHooks)
2121
class CommandHooks:
2222
@jsii.member(jsii_name="afterBundling")
@@ -65,9 +65,9 @@ def __init__(
6565
environment={
6666
"LOG_LEVEL": "DEBUG",
6767
},
68-
# For testing, the mcp-server-with-aws-lambda module is built and bundled
68+
# For testing, the run-mcp-servers-with-aws-lambda module is built and bundled
6969
# from local files. Remove the bundling configuration if using the
70-
# mcp-server-with-aws-lambda from PyPi.
70+
# run-mcp-servers-with-aws-lambda from PyPi.
7171
bundling=lambda_python.BundlingOptions(
7272
# asset_excludes=[".venv", ".mypy_cache", "__pycache__"],
7373
volumes=[

0 commit comments

Comments
 (0)