

# 使用 AgentCore 閘道
<a name="gateway-using"></a>

[使用目標 設定閘道](gateway-building.md)之後，您可以透過[模型內容通訊協定 (MCP)](https://modelcontextprotocol.io/docs/getting-started/intro) 設定應用程式或代理程式以使用閘道。MCP 為客服人員提供探索和叫用工具的標準化方式。

**注意**  
AgentCore Gateway 支援下列 MCP 版本：\* 2025-06-18 \* 2025-03-26 \* 2025-11-25

您可以搭配 AgentCore 閘道使用下列 MCP 操作：


| 作業 | 說明 | 
| --- | --- | 
| 工具/呼叫 | 使用提供的引數調用特定工具 | 
| 工具/清單 | 列出閘道提供的所有可用工具 | 
| prompts/list | 列出閘道提供的所有可用提示 | 
| prompts/get | 擷取使用提供的引數轉譯的特定提示範本 | 
| 資源/清單 | 列出閘道提供的所有可用資源 | 
| 資源/讀取 | 依 URI 讀取特定資源的內容 | 
| resources/templates/list | 列出閘道提供的所有可用資源範本 | 
| 引出/建立 | 在工具呼叫期間向用戶端請求其他輸入 （伺服器啟動） | 
| 取樣/createMessage | 在工具呼叫期間向用戶端請求 LLM 完成 （伺服器啟動） | 
| 通知/進度 | 報告長時間執行的工具呼叫進度 （伺服器啟動） | 
| 通知/訊息 | 在工具執行期間從伺服器傳送日誌訊息 （伺服器啟動） | 

下列主題說明如何叫用 AgentCore 閘道：

**Topics**
+ [授權和驗證 AgentCore 閘道和閘道目標](gateway-using-auth.md)
+ [列出 AgentCore 閘道中的可用工具](gateway-using-mcp-list.md)
+ [在 AgentCore 閘道中呼叫工具](gateway-using-mcp-call.md)
+ [列出 AgentCore 閘道中的可用提示](gateway-using-mcp-prompts-list.md)
+ [從 AgentCore 閘道取得提示](gateway-using-mcp-prompts-get.md)
+ [列出 AgentCore 閘道中的可用資源](gateway-using-mcp-resources-list.md)
+ [從 AgentCore 閘道讀取資源](gateway-using-mcp-resources-read.md)
+ [列出 AgentCore 閘道中的資源範本](gateway-using-mcp-resources-templates-list.md)
+ [搭配 AgentCore 閘道使用引出](gateway-mcp-elicitation.md)
+ [從 AgentCore 閘道接收進度通知](gateway-mcp-progress.md)
+ [從 AgentCore 閘道接收記錄訊息](gateway-mcp-logging.md)
+ [搭配 AgentCore 閘道使用抽樣](gateway-mcp-sampling.md)
+ [使用自然語言查詢在 AgentCore 閘道中搜尋工具](gateway-using-mcp-semantic-search.md)
+ [建立使用 AgentCore 閘道的代理程式](gateway-agent-integration.md)