Skip to content

Commit 662db8b

Browse files
committed
chore: Document setting up the two new MCP servers
1 parent 8212c2c commit 662db8b

File tree

1 file changed

+33
-13
lines changed

1 file changed

+33
-13
lines changed

DEVELOP.md

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,13 @@ This guide will walk you through building the source code in this repository,
66
deploying example MCP servers in Lambda functions,
77
and using an example chatbot client to communicate with those Lambda-based MCP servers.
88

9-
The example chatbot client will communicate with three servers:
9+
The example chatbot client will communicate with five servers:
1010

11-
1. a Lambda function-based 'time' MCP server (Python)
12-
2. a Lambda function-based 'weather-alerts' MCP server (Typescript)
13-
3. a [local 'fetch' MCP server](https://github.com/modelcontextprotocol/servers/tree/main/src/fetch)
14-
15-
To use the remote 'time' server, you can ask the chatbot questions like "What is the current time?".
16-
17-
To use the remote 'weather-alerts' server, you can ask the chatbot questions like "Are there any weather alerts right now?".
18-
19-
To use the local 'fetch' server, you can ask questions like "Who is Tom Cruise?".
11+
1. a Lambda function-based **time** MCP server (Python). Ask questions like "What is the current time?".
12+
2. a Lambda function-based **mcpdoc** MCP server (Python). Ask questions like "What documentation sources do you have access to?".
13+
3. a Lambda function-based **weather-alerts** MCP server (Typescript). Ask questions like "Are there any weather alerts right now?".
14+
4. a Lambda function-based **cat-facts** MCP server (Typescript). Ask questions like "Tell me something about cats".
15+
5. a [local **fetch** MCP server](https://github.com/modelcontextprotocol/servers/tree/main/src/fetch). Ask questions like "Who is Tom Cruise?".
2016

2117
### Setup
2218

@@ -71,7 +67,7 @@ npm run build
7167
npm link
7268
```
7369

74-
### Deploy the example Python server
70+
### Deploy the example Python servers
7571

7672
Deploy the Lambda 'time' function - the deployed function will be named "mcp-server-time".
7773

@@ -83,7 +79,17 @@ uv pip install -r requirements.txt
8379
cdk deploy --app 'python3 cdk_stack.py'
8480
```
8581

86-
### Deploy the example Typescript server
82+
Deploy the Lambda 'mcpdoc' function - the deployed function will be named "mcp-server-mcpdoc".
83+
84+
```bash
85+
cd examples/servers/mcpdoc/
86+
87+
uv pip install -r requirements.txt
88+
89+
cdk deploy --app 'python3 cdk_stack.py'
90+
```
91+
92+
### Deploy the example Typescript servers
8793

8894
Deploy the Lambda 'weather-alerts' function - the deployed function will be named "mcp-server-weather-alerts".
8995

@@ -99,6 +105,20 @@ npm run build
99105
cdk deploy --app 'node lib/weather-alerts-mcp-server.js'
100106
```
101107

108+
Deploy the Lambda 'cat-facts' function - the deployed function will be named "mcp-server-cat-facts".
109+
110+
```bash
111+
cd examples/servers/cat-facts/
112+
113+
npm install
114+
115+
npm link @aws/run-mcp-servers-with-aws-lambda
116+
117+
npm run build
118+
119+
cdk deploy --app 'node lib/cat-facts-mcp-server.js'
120+
```
121+
102122
### Run the example Python client
103123

104124
Run the Python-based chatbot client:
@@ -131,7 +151,7 @@ npm run start
131151

132152
Install pre-commit hooks to ensure that your commits follow conventional commit guidelines:
133153

134-
```
154+
```bash
135155
cd src/python
136156
uv run pre-commit install
137157
```

0 commit comments

Comments
 (0)