Add an MCP server tool to an AI agent
Add an MCP tool to an AI agent in the AI Agent Studio so that your users can access the MCP server.
Before you begin
Role required: sn_aia.admin
Procedure
- 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.
Table 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. Note: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. Note: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
If you want the AI agent to work in Off Glide architecture with Premium Chat experience, you must turn-on the Display output toggle. When the toggle is turned-on, you can add widgets that can be used in assistants built with Premium Chat experiences. The widget configuration includes:- Widget: Defines the display output to render the content in a better user experience. You can select the widget from the drop-down.
- Require widget transformation: An additional LLM call is required to transform the raw tool. If you choose to skip this transformation step, the tool output will be
directly mapped to the widget.
- Yes
- No
- Display refined widget message: Refines the widget message when configured.
- Yes
- No
Note:The display output as a toggle is exclusively available for the Premium Chat experience when the Off Glide Conversation Server plugin (com.glide.cs.offglide) is installed. If the plugin is not installed, you will continue to access the standard display output options.Advanced settings Select an output transformation format Style for the LLM to present the results as it passes information between tools and to other agents. Out transformation formats: - None
- Concise
- Paragraph
- Summary
- Custom
Write processing messages for users Message to display to users during tool execution. - In-progress message: Write an in-progress message to be displayed to end-users while the tool is running.
- Completion message: Write a completion message to be displayed to end-users once the tool finishes running.
-
Select Add.
A Model Context Protocol tool is added in the Model Context Protocol Tools list on the Add tools and information page.