Add a Model Context Protocol to an AI agent
Add a Model Context Protocol tool to an AI agent in the AI Agent Studio so that your users can access the MCP Server.
始める前に
Role required: sn_aia.admin
手順
- Navigate to All > AI Agent Studio > Create and manage > AI agents.
- Open the AI agent that you want to add a Model Context Protocol tool to and navigate to the Add tools and information section.
- In the Add tool drop-down list, select MCP server tool.
-
On the form, fill in the fields.
表 : 1. Add a Model Context Protocol Tool Field Description Select Model Context Protocol Server The Model Context Protocol Server that you want to add to the tool. 注:Verify that the MCP Server is authenticated before adding the MCP tool to an AI agent. If the MCP Server isn’t authenticated, then you receive an error message - "Authentication is needed to display tools. Open the MCP server record to authenticate."Select Tool The tool that you want to add from the Model Context Protocol Server. Name Name of the Model Context Protocol tool. Tool and Description Description of the Model Context Protocol and what it’s going to do to assist your AI agent. 注:This description is sent to the LLM (LLM).Execution Mode Mode of execution for your selected Model Context Protocol tool: - Supervised: Inputs from your live agent are required during the execution of this Model Context Protocol tool while the AI agent runs.
- Autonomous: Doesn't require any input from your live agent during the execution of this Model Context Protocol tool while the AI agent runs.
Display output Permission to display the output of the execution in the Now Assist panel or in Virtual Agent: - Yes
- No
Processing message Message to display to users when the tool is running. Output transformation strategy Style for the LLM to present the results. - None
- Concise
- Paragraph
- Verbose
- Custom
-
Select Add.
A Model Context Protocol tool is added in the Model Context Protocol Tools list on the Add tools and information page.