← Back
AWS ML Blog

Add secure Web Search to Claude Desktop with Amazon Bedrock AgentCore

•10 min read•
#agents#bedrock#amazon
Level:Advanced
For:AI Engineers
✦TL;DR

This guide shows how to extend Claude Desktop on Amazon Bedrock with real‑time web search by wiring an AgentCore Gateway to the managed MCP‑compatible Web Search service. The integration uses AWS IAM Identity Center for SSO, Amazon Cognito to issue JWTs, and JWT validation in the Gateway, keeping all traffic inside AWS. Engineers can now augment Claude’s responses with up‑to‑date information without exposing external API keys.

⚡ Key Takeaways

  • Web Search is MCP‑compatible and backed by an Amazon index of tens of billions of documents.
  • The authentication chain is IAM Identity Center → Amazon Cognito → JWT, validated by the AgentCore Gateway.
  • The service is currently available only in us‑east‑1, eu‑west‑1, and ap‑northeast‑1 regions.
  • Integration requires the AWS CLI v2, Python 3.10+, and the latest Boto3 SDK.
  • No external credentials or third‑party identity providers are needed; all tokens are issued and verified within AWS.
💡 Why It Matters

By securing web search behind an internal JWT flow, production teams can safely enrich Claude Desktop’s outputs with live data while preserving enterprise identity governance and avoiding external key management.

✅ Practical Steps

  1. Create an Amazon Cognito user pool to act as the OIDC token issuer for the AgentCore Gateway.
  2. Configure AWS IAM Identity Center as the SSO source, enable the OAuth 2.0 authorization code grant flow, and link it to the Cognito user pool to issue JWTs.
  3. Deploy an AgentCore Gateway with the Web Search target enabled in one of the supported regions and point Claude Desktop’s Bedrock inference provider to this gateway.

Want the full story? Read the original article.

Read on AWS ML Blog ↗

More like this

New in AWS Quick: More capable flows, an updated web experience, and agents that work together

AWS ML Blog•#agents

How Google Duplex evolved to also call businesses for you in Gemini

Google Research•#agents

Genie ZeroOps, now in public beta: An autonomous agent that fixes data pipelines, with lessons from 80,000 customer issues

Databricks Blog•#agents

Towards a Science of Capable Autonomous Agents & Provable Safety — Part II

CMU ML Blog•#agents

EXPLORE AI NEWS

Daily hand-picked stories on LLMs, RAG, agents and production AI — curated for engineers who ship.

BROWSE NEWS

GET THE WEEKLY DIGEST

Join engineers getting the Monday signal-over-noise AI breakdown. No spam, unsubscribe anytime.

LEARN AI ENGINEERING

Curated courses, research papers, repos and tutorials built for engineers leveling up in AI.

START LEARNING