Amazon Lex Runtime Service MCP Config
Amazon Lex provides both build and runtime endpoints. Each endpoint provides a set of operations (API). Your conversational bot uses the runtime API to understand user utterances (user input text or voice). For example, suppose a user says "I want pizza", your bot sends this input to Amazon Lex usin
Config URL
Use this URL in any MCP-compatible client to fetch the config automatically.
https://mcp-bridge.pages.dev/config/amazonaws-com-runtime-lex.jsonConfiguration JSON
Use curl https://mcp-bridge.pages.dev/config/amazonaws-com-runtime-lex.json to fetch programmatically.
{
"mcpServers": {
"amazonaws-com-runtime-lex": {
"command": "npx",
"args": ["-y","@mcp/amazonaws-com-runtime-lex"],
"env": {
"AMAZON_LEX_RUNTIME_SERVICE_API_KEY": "your_amazon_lex_runtime_service_api_key"
}
}
}
}How to Use
Cursor
Go to Cursor Settings → MCP Servers → Add with the JSON above.
CLI / curl
Fetch the config programmatically:
curl https://mcp-bridge.pages.dev/config/amazonaws-com-runtime-lex.jsonEnvironment Variables
AMAZON_LEX_RUNTIME_SERVICE_API_KEYReplace your_amazon_lex_runtime_service_api_key with your actual amazon lex runtime service api key
Endpoints
POST
/bot/{botName}/alias/{botAlias}/user/{userId}/sessionPutSession
DELETE
/bot/{botName}/alias/{botAlias}/user/{userId}/sessionDeleteSession
GET
/bot/{botName}/alias/{botAlias}/user/{userId}/session/GetSession
POST
/bot/{botName}/alias/{botAlias}/user/{userId}/content#Content-TypePostContent
POST
/bot/{botName}/alias/{botAlias}/user/{userId}/textPostText