Building an MCP server from a template in MCP Hub
Note
This feature is at the Preview stage.
Yandex AI Studio offers some MCP server templates from external Yandex Cloud partners. You can use these in your AI agents to access these partners’ services.
To add a ready-made template-based MCP server to MCP Hub:
-
In the management console
, select a folder for which your account has theserverless.mcpGateways.editorandserverless.mcpGateways.anonymousInvokerroles or higher. -
In the list of services, select AI Studio.
-
In the left-hand panel, select MCP servers and click Create MCP server. In the window that opens, do the following:
-
Under How to add, select one of the templates: Kontur.Focus
, Yandex Tracker , Yandex Search API, or amoCRM . -
Under Tools, click Add tools. In the window that opens, do the following:
-
The Transport, URL, and Authorization type fields will show the preset values. These are default values for the selected template and cannot be changed.
-
Under Authorization header and (for some templates) Headers, specify values for the authorization header and (if required) other headers.
Tip
To get an access token, visit the website of the service you are connecting.
-
Click Connect.
-
In the Add tools window that opens, select the tools from the template to add to the new MCP server and click Add.
Note
One MCP server can contain up to 50 tools.
-
-
Under Server parameters:
-
In the Name field, enter a name for the new MCP server. Follow these naming requirements:
- It must be from 2 to 63 characters long.
- It can only contain lowercase Latin letters, numbers, and hyphens.
- It must start with a letter and cannot end with a hyphen.
-
Optionally, add a description and labels for the server you are creating by using the corresponding buttons.
-
In the Access field, select the server type:
- Private: To build a private MCP server with the authentication-based access.
- Public: To build a public MCP server that requires no authentication.
-
In the Service account field, select the service account your MCP server will use to access Yandex Cloud services and resources. The service account should get the roles sufficient to access these resources and services.
-
Optionally, enable Specify network to specify a cloud network to host your MCP server instances.
-
Optionally, turn on the Enable logging option and configure the logging settings to keep a log of the MCP server you are creating.
-
-
Click Save.
-
This will create an MCP server in MCP Hub, containing the added tools and accessible to AI agents.