#1666: Connecting Swarmica to Yandex GPT
Отредактирована: сегодняSymptoms
Is it possible to connect Swarmica to Yandex GPT and use Swarmica functions through an AI agent?
Solution
Creating an MCP server in Yandex AI Studio
Yes, to connect Swarmica to Yandex GPT, you need to follow these steps:
- Set up the Swarmica MCP server.
- Create an API key in the Settings > Integrations > API and Integrations section.
- Go to the MCP servers section in Yandex AI Studio and click Create MCP server.
- Select the type External MCP server:

- Set a name, for example, swarmica-mcp, the rest of the settings are optional — use them only if necessary:

- On the next screen, enter the MCP connection address
https://ваш_адрес_swarmica/mcpand be sure to specify the type Streamable HTTP, and in the headerAuthorizationspecifyToken ВАШ_АПИ_ТОКЕН:
- Click Connect and select the available tools for use. One tool is one API method. For example, to work with request analysis, you need the methods api_tickets_list and api_ticket_comments_list. Yandex AI Studio allows you to connect up to 50 tools on one MCP server by default.
- Done! Now you can use the MCP server in AI agents.
Creating an AI agent with an MCP server
Let's create an AI agent that will help analyze requests.
- Go to the Agents section in AI Studio and create a new Agent.
- Give it a name, select a model, and also set a system prompt that will help the model understand what role this Agent is used for:

- In the Tools section, select swarmica-mcp, which was created earlier. After that, you can save this agent and work with it via the API or in the AI Studio interface.
Example of working with an AI agent: