AWS สาธิตวิธีสร้างแอป MCP แบบอินเทอร์แอกทีฟบน Bedrock AgentCore
AWS published a technical guide detailing how Amazon Bedrock AgentCore's runtime and gateway support MCP Apps, interactive widgets for AI hosts like ChatGPT and Claude.
คำตอบโดยย่อ
นักพัฒนาจะสร้างแอป MCP แบบโต้ตอบได้อย่างไรด้วย Amazon Bedrock AgentCore?
AWS says its Amazon Bedrock AgentCore platform supports MCP Apps, a Model Context Protocol extension that renders interactive HTML widgets inside AI hosts like ChatGPT and Claude. AWS demonstrated the capability with a sample app called Unicorn Rentals, showing browsing, booking, viewing, and returning rentals through AgentCore's runtime and gateway.
ประเด็นสำคัญ
- AWS says Amazon Bedrock AgentCore now supports MCP Apps, letting developers add interactive HTML widgets to agent responses inside AI hosts like ChatGPT and Claude instead of plain text.
- AWS ระบุว่าการสนับสนุนดังกล่าวมาจากความสามารถสองส่วนของ AgentCore ได้แก่ AgentCore Runtime ซึ่งเป็นโฮสต์แบบเซิร์ฟเวอร์เลสที่ปลอดภัยและแยกเซสชันโดยรองรับ MCP ในตัว และ AgentCore Gateway ซึ่งเปิดให้เข้าถึงผ่านเอนด์พอยต์ที่ปลอดภัยเพียงจุดเดียว
- AWS demonstrated the setup with a sample app, Unicorn Rentals, that lets users browse, book, view, and return unicorn rentals through natural-language requests.
- AWS ระบุว่าเซิร์ฟเวอร์ Unicorn Rentals ตัวเดียวกันนี้สามารถทำงานได้โดยไม่ต้องแก้ไขใดๆ ทั้งบน ChatGPT, Claude หรือโฮสต์อื่นใดก็ตามที่รองรับส่วนขยาย MCP Apps
- In the demo, the booking-view step returned as plain text rather than a card, which AWS says reflects that not every request needs a rich interface.
AWS เผยแพร่คู่มือการสร้างแอป MCP แบบโต้ตอบบน Bedrock AgentCore
Amazon Web Services เผยแพร่บทความทางเทคนิคเมื่อวันที่ 11 กันยายน 2026 อธิบายวิธีที่นักพัฒนาสามารถสร้างและติดตั้งแอป MCP ซึ่งเป็นแอปพลิเคชันแบบโต้ตอบที่แสดงผลภายในโฮสต์แชท AI โดยใช้ Amazon Bedrock AgentCore บทความนี้เขียนโดย Dantis Stephen และ Babs Khalidson แห่ง AWS ซึ่งพาผู้อ่านไล่เรียงตัวอย่างแอปพลิเคชันให้เช่ายูนิคอร์นเพื่อแสดงให้เห็นความสามารถดังกล่าวในการใช้งานจริง
สิ่งที่ MCP Apps เพิ่มเข้ามา
AWS ระบุว่า MCP Apps เป็นการต่อยอดจาก Model Context Protocol (MCP) ด้วยการเพิ่มวิดเจ็ต HTML แบบโต้ตอบที่แสดงผลโดยตรงภายในโฮสต์ AI อย่าง ChatGPT และ Claude แทนที่จะจำกัดการตอบกลับไว้เพียงข้อความธรรมดา AWS ระบุว่าองค์กรต่าง ๆ สามารถใช้มาตรฐานนี้เพื่อทำให้บริการของตนเข้าถึงได้บนโฮสต์ AI หลายรายโดยไม่ต้องผูกการเชื่อมต่อไว้กับโฮสต์ใดโฮสต์หนึ่งเพียงรายเดียว
บทบาทของ AgentCore
AWS อธิบายว่า Amazon Bedrock AgentCore เป็นแพลตฟอร์มสำหรับสร้าง เชื่อมต่อ และปรับแต่งเอเจนต์ในระดับขนาดใหญ่ ซึ่งรองรับการทำงานร่วมกับเฟรมเวิร์กหรือโมเดลใดก็ได้ สำหรับ MCP Apps โดยเฉพาะ AWS ชี้ให้เห็นถึงความสามารถสองประการของ AgentCore ได้แก่
- AgentCore Runtime ซึ่งบริษัทอธิบายว่าเป็นโฮสต์ที่ปลอดภัย ไร้เซิร์ฟเวอร์ แยกเซสชันออกจากกัน และรองรับ MCP โดยตรงในตัว
- AgentCore Gateway ซึ่งเปิดให้เข้าถึงรันไทม์ดังกล่าวผ่านจุดเชื่อมต่อที่ปลอดภัยเพียงจุดเดียว ซึ่งโฮสต์ที่รองรับ MCP Apps สามารถเข้าถึงได้
AWS ระบุว่า AgentCore จะจัดการงานด้านโครงสร้างพื้นฐานเหล่านี้ให้ เพื่อให้นักพัฒนาสามารถทุ่มเทให้กับตรรกะทางธุรกิจและการออกแบบวิดเจ็ตได้อย่างเต็มที่
ตัวอย่างแอป: Unicorn Rentals
เพื่อสาธิตการตั้งค่าดังกล่าว AWS ได้สร้างแอปพลิเคชันตัวอย่างชื่อ Unicorn Rentals และติดตั้งเป็นแอป MCP ที่เชื่อมต่อกับโฮสต์ AI AWS ระบุว่าแอปนี้ให้ลูกค้าเรียกดูยูนิคอร์นที่พร้อมให้เช่า จองการเช่า ดูรายการจองที่ใช้งานอยู่ และคืนยูนิคอร์น โดยหน้าตาและการทำงานจะเหมือนกันไม่ว่าจะรันบนโฮสต์ AI ที่รองรับรายใด บทความนี้สาธิตการทำงานของแอปบน ChatGPT และ AWS ระบุว่าเซิร์ฟเวอร์เดียวกันนี้ใช้งานได้บน Claude หรือโฮสต์อื่น ๆ ที่รองรับส่วนขยาย MCP Apps เช่นกัน
AWS ไล่เรียงการโต้ตอบทั้งสี่ขั้นตอน ดังนี้
AWS ระบุว่าขั้นตอนการดูรายการจองจะแสดงผลเป็นข้อความธรรมดาแทนการ์ด โดยชี้ว่าไม่ใช่ทุกคำขอที่จำเป็นต้องใช้อินเทอร์เฟซที่หรูหราซับซ้อน
ที่มา: AWS Machine Learning Blog, "Build interactive MCP Apps using Amazon Bedrock AgentCore," เผยแพร่เมื่อวันที่ 11 กันยายน 2026
คำถามที่พบบ่อย
- MCP Apps คืออะไร
- According to AWS, MCP Apps is an extension of the Model Context Protocol that adds interactive HTML widgets rendered inside AI hosts such as ChatGPT and Claude, instead of plain-text responses.
- Amazon Bedrock AgentCore มีบทบาทอย่างไร
- AWS says AgentCore provides AgentCore Runtime, a secure serverless session-isolated host with native MCP support, and AgentCore Gateway, which exposes that host through a single secure endpoint for MCP Apps-compatible hosts.
- Unicorn Rentals คืออะไร
- Unicorn Rentals is a sample application AWS built to demonstrate MCP Apps on Bedrock AgentCore, letting users browse available unicorns, book rentals, view active bookings, and return unicorns via natural-language requests.
- แอปนี้ทำงานเหมือนกันหรือไม่บนโฮสต์ AI ที่แตกต่างกัน
- AWS says yes: because MCP Apps is a host-agnostic standard, the Unicorn Rentals server delivers the same experience whether accessed through ChatGPT, Claude, or another host that supports the MCP Apps extension.
แหล่งข้อมูล
- Build interactive MCP Apps using Amazon Bedrock AgentCore | Artificial Intelligence — Amazon Web Services (AWS)