I'm really curious about if and when AWS might release a version of API Gateway specifically for MCP servers. It seems like a given that such a service would be useful, particularly one that allows developers to utilize Lambda functions while managing the complexities of longer-lived connections and MCP protocol specifics through API Gateway. I'm imagining it could function somewhat like the WebSocket version of API Gateway. Has anyone heard any updates or developments in this area? Is there really a demand for this?
2 Answers
Check this link out: [AgentCore Documentation](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-mcp.html). It might not be exactly what you're looking for, but it’s a step in that direction!
I’ve actually been running my MCP servers using ECS, and honestly, it's way less of a hassle. Maybe that's a better route to consider?
The beauty of API Gateway is that it lets users customize everything themselves. There are plenty of tools available that can transform an API spec into a gateway definition. Plus, since MCP utilizes JSON-RPC as its base protocol, you could likely create something to deploy it without too much trouble.
I feel like the AgentCore Gateway is probably closer to what you want than the Runtime version, but overall, AgentCore looks promising.