You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AgentCore Gateway can then advertise the schema to HTTP clients and validate request inputs and outputs.
234
+
235
+
To retrieve your stdio-based MCP server's tool schema:
236
+
237
+
1. Start the MCP inspector: `npx @modelcontextprotocol/inspector`
238
+
2. Open the inspector tool in your web browser using the localhost link shown.
239
+
3. In the left-hand column, select STDIO transport type, and fill in your server's command and arguments. For example, command `uvx` and arguments `mcp-server-time`.
240
+
4. Click Connect.
241
+
5. In the main panel, select Tools and click "List Tools".
242
+
6. In the bottom "History" panel, select the `tools/list` request.
243
+
7. In the Response box, click the Copy clipboard icon in the upper-right corner of the box.
244
+
8. Paste the JSON into a new file. It should begin with `{ tools:[...`
245
+
9. Add a new key "arn" to your JSON file with the value of your Lambda function's ARN.
246
+
247
+
Your Lambda function schema should now look something like this:
0 commit comments