Model Context Protocol (MCP)
Naia for Business Agent Studio supports connecting tools to agents via the Model Context Protocol (MCP).
This enables your AI agents to discover and use capabilities across various services through a standardized interface. You can connect locally (npm package) or to a remote server.
| Technically, when requesting the server or local file, the resource responds with a list of tools which are later equipped to the agent. |
Local MCP connection
-
Open the Node Package Manager.
-
Add a package that has MCP support.
-
Provide an MCP Executable Path. This is the relative path within the project that points to the main file that serves as the entry point for the MCP connection.
-
Save.
-
Press the connection button to test the connection.
Remote MCP connection
-
Open the Remote Systems tool.
-
Add a new system and select type Model Context Protocol.
-
Select the protocol. This depends on the server.
-
Enter a URL.
-
Optional: Configure authentication for the remote system.
-
Import the tools.
| By importing the tools, the metadata of the remote server’s tools are saved in the database to avoid connecting every time to the remote server and requesting all tools. You should re-import every time you need to get the latest changes to the tool functionalities. |
| If the server requires a header value or an authorization key, you can provide authentication to the remote system simply by creating a proxy authentication. |
Add an MCP connection to your agent
-
Select your agent.
-
In the Advanced tab, add your local or remote MCP connections.
-
In each remote connection, you have the ability to choose which of the imported tools the agent should use.
-
-
Save.
Result: Your agent can access the MCP tools and use them to perform tasks based on the capabilities provided by the connected servers.