<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SST on The road</title><link>https://kane.mx/tags/sst/</link><description>Recent content in SST on The road</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 19 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://kane.mx/tags/sst/index.xml" rel="self" type="application/rss+xml"/><item><title>MCP OAuth on AgentCore Gateway + Cognito via APIGW Façade</title><link>https://kane.mx/posts/2026/agentcore-gateway-cognito-mcp-oauth/</link><pubDate>Tue, 19 May 2026 00:00:00 +0000</pubDate><guid>https://kane.mx/posts/2026/agentcore-gateway-cognito-mcp-oauth/</guid><description>
&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>&lt;a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway.html">Amazon Bedrock AgentCore Gateway&lt;/a> is the most pragmatic way to host a Model Context Protocol server on AWS today. Declare your tools as OpenAPI or as Lambda targets, get a managed multi-target MCP endpoint, and inherit AWS-native authentication via a &lt;code>customJwtAuthorizer&lt;/code>. For machine-to-machine traffic that pattern is excellent.&lt;/p>
&lt;p>The moment you ask an interactive MCP client — &lt;a href="https://docs.claude.com/en/docs/claude-code/overview">Claude Code&lt;/a>, Cursor, the &lt;a href="https://github.com/modelcontextprotocol/inspector">MCP Inspector&lt;/a> — to talk to that same gateway with a per-user OAuth flow, the seams show. AgentCore Gateway expects a JWT and trusts whatever issuer you wired into its authorizer. Pair it with &lt;a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html">Amazon Cognito&lt;/a> and the wiring works for the &lt;em>server&lt;/em> side. It does not work for the &lt;em>client&lt;/em> side, because Cognito is an OIDC identity provider, not an MCP-compliant authorization server. The two are not the same thing.&lt;/p>
&lt;p>&lt;a href="https://kane.mx/posts/2026/agentcore-gateway-cognito-mcp-oauth/">Read More&lt;/a>&lt;/p></description></item></channel></rss>