See MCP (Model Context Protocol) in action โ your AI agent fetches web content, searches documentation, and connects to data sources in plain English.
โฑ 27 minutesIn this lab, you'll see how AI connects to external data sources directly โ instead of relying on data you paste into the chat. That's what MCP (Model Context Protocol) does.
You paste data into the chat, or the AI reads files from your workspace. Manual, one-at-a-time.
AI connects to websites, databases, APIs, and legislation directly. Ask in plain English โ it fetches the answer.
Today you'll see two MCP servers in action: one that fetches web pages, and one that searches AWS documentation.
| Part | Duration | What you'll see |
|---|---|---|
| Part A | 10 min | Activate Fetch MCP โ AI reads AnyCompany's policy page and answers questions about coverage |
| Part B | 12 min | Configure AWS Docs MCP โ AI searches AWS documentation and answers architecture questions |
| Part C | 5 min | Vision โ what MCP servers would AnyCompany need in production? |
Kiro comes with a Fetch MCP server pre-configured โ it lets your AI agent read any public web page and return its content. But first, we need to make sure it's enabled.
The Fetch MCP server is pre-installed but may be disabled in your environment. Let's ask Kiro to enable it โ no manual editing needed:
Kiro will ask permission to edit the config file. Click "Allow" when you see the prompt โ then it makes the change and saves automatically.
mcp.json) that lists which MCP servers to connect to. This is the same pattern for any MCP server โ add it to the config, and the AI gains new capabilities. No coding required.
Imagine a customer service agent needs to quickly check what's covered under AnyCompany's Critical Illness plan. Instead of searching through internal documents, the AI reads the product page directly:
mcp_fetch_fetch tool (the MCP server you just enabled). If you see web_fetch instead, the MCP server may not have connected yet โ go back and check the MCP SERVERS panel shows "Fetch" as Running.
Now let's connect a more powerful MCP server โ one that searches across the entire AWS documentation library and returns specific, up-to-date answers about cloud services.
uvx (same as Fetch)Just like Part A, we'll ask Kiro to add a new MCP server. Paste this into the chat:
Kiro will ask permission to edit the config file. Click "Allow" โ then wait 15โ20 seconds for the server to download and start (first time only).
uvx command, a package name, and that's it. The AI now has two MCP tools: one reads web pages, the other searches AWS documentation. Same protocol, different capabilities.
Now ask questions about AWS services that AnyCompany might use โ in plain English:
| Current approach | With MCP | |
|---|---|---|
| Research | Google โ open 10 tabs โ read each page โ take notes | "What AWS services handle document processing?" |
| Compare | Open multiple doc pages, manually compare features | "Compare Textract vs Comprehend for medical reports" |
| Architecture | Read whitepapers, watch re:Invent talks, ask a solutions architect | "What services would I need for an AI claims system?" |
| Time | Hours of research per question | 30 seconds |
Same MCP protocol, same setup pattern โ just pointed at different data sources. That's the power of a standard protocol.
So far, your AI has been reading โ fetching web pages and searching documentation. But MCP can also let AI interact with live systems. Let's add one more MCP server that can actually run AWS commands:
Click "Allow" when prompted. Wait 15โ20 seconds for the first-time download.
Now let's use it โ ask the AI to query your actual AWS account:
| Part | What the AI did | MCP capability |
|---|---|---|
| A | Read a web page | Fetch (read external content) |
| B | Searched a knowledge base | AWS Docs (search + retrieve) |
| Bonus | Queried live infrastructure | AWS API (read + act) |
This is the spectrum of MCP: from passive reading โ active searching โ live system interaction. Each step gives the AI more capability โ and each requires appropriate guardrails.
You've seen two MCP servers in action. In production, AnyCompany would connect AI agents to many more data sources โ all through the same MCP protocol.
| MCP Server | What it connects to | Example queries |
|---|---|---|
| Policy Admin | Core policy system (Oracle/SAP) | "Show all policies lapsing this month" ยท "What's the status of POL-2024-8847?" |
| Claims System | Claims management platform | "List all pending claims over $50K" ยท "Average processing time for critical illness claims?" |
| Customer 360 | CRM + interaction history | "Full profile for customer CUST-88421" ยท "Customers with 3+ policies not contacted in 6 months" |
| Singapore Law | Legislation database (SSO) | "Insurance Act requirements for policy illustrations" ยท "PDPA consent for health data" |
| AWS Documentation | Cloud services knowledge base | "What AWS service handles document extraction?" ยท "Bedrock data privacy guarantees" |
| MAS Circulars | Regulatory notices & guidelines | "Latest MAS notice on technology risk management" ยท "Fair Dealing outcome requirements" |
| Actuarial Models | Pricing & reserving systems | "Current mortality rates for age 45 male non-smoker" ยท "IFRS 17 reserve for product X" |
| Document Store | Policy documents, medical reports | "Retrieve the medical report for claim CLM-2024-0847" ยท "Find the policy contract for POL-123" |
| Web / Fetch | Public websites, competitor info | "Read the latest MAS media release" ยท "Compare our CI coverage with competitor X" |
Each MCP server is built and maintained by the team that owns that data source. The AI agent decides which server to query based on the question โ just like a human would know which system to check.
Your tech team doesn't need to build everything from scratch โ many MCP servers already exist. For custom internal systems, building an MCP server is typically a few hundred lines of code.
| Layer | What it does | You saw this in |
|---|---|---|
| Steering | Global rules (currency, PII, ratings) | Lab 2, Step 1 |
| Skills | On-demand expertise (risk assessment, compliance) | Lab 2, Steps 2-5 |
| Hooks | Auto-triggers (new file โ run skill) | Lab 2, Step 3 |
| MCP | Data connections (web, legislation, databases) | This lab |