Skip to content

Commit 992b7ec

Browse files
committed
Fix the errors
1 parent f931291 commit 992b7ec

4 files changed

Lines changed: 19 additions & 16 deletions

File tree

example/lambda/index.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ const createMcpServer = () => {
1212
version: '1.0.0',
1313
});
1414

15-
server.tool(
15+
server.registerTool(
1616
'say_hello',
17-
{ who: z.string() },
17+
{
18+
description: 'Greets the user with a friendly message.',
19+
inputSchema: { who: z.string() },
20+
},
1821
async ({ who }) => ({
1922
content: [{
2023
type: 'text',

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@
4646
"aws-lambda-mcp-server": "workspace:*",
4747
"constructs": "^10.4.3",
4848
"hono": "^4.10.6",
49-
"zod": "^4.1.12"
49+
"zod": "^3.25.76"
5050
}
5151
}

package/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@
5656
"tsx": "^4.20.6",
5757
"typescript": "^5.9.3",
5858
"typescript-eslint": "^8.46.4",
59-
"vitest": "^4.0.8"
59+
"vitest": "^4.0.9"
6060
},
6161
"dependencies": {
6262
"@aws-lambda-powertools/logger": "^2.28.1",
6363
"@hono/mcp": "^0.1.5",
64-
"@modelcontextprotocol/sdk": "^1.21.1",
65-
"hono": "^4.10.5",
64+
"@modelcontextprotocol/sdk": "^1.22.0",
65+
"hono": "^4.10.6",
6666
"zod": "^4.1.12"
6767
}
6868
}

pnpm-lock.yaml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)