#1665: Connecting Swarmica to Claude Code / Claude Desktop

Отредактирована: сегодня

Symptoms

Is it possible to connect Swarmica to Claude Code / Claude Desktop and use Swarmica functions through an AI agent?

Solution

Yes, Swarmica allows you to connect more than 600 functions via MCP to Claude. Choose below the connection method that suits you.

Connecting to Claude Desktop

Yes, to connect Swarmica to Claude Code / Claude Desktop, you need to follow these steps:

  1. Set up the Swarmica MCP server.
  2. Create an API key in the Settings > Integrations > API and integrations section.
  3. On the workstation where Claude Code / Claude Desktop is installed, create/supplement the file ~/.claude/.mcp.json with the following content:
{
  "mcpServers": {
    "swarmica": {
     "type": "http",
     "url": "https://your_swarmica_address/mcp",
     "headers": {
       "Authorization": "Token YOUR_API_TOKEN_FROM_THE_PREVIOUS_STEP"
     }
   }
 }
}
  1. After some time, Claude will load the newly appeared MCP server and Swarmica functions will become available for use.

Connecting to the web version of Claude

  1. Set up the Swarmica MCP server.
  2. Create an API key in the Settings > Integrations > API and integrations section.
  3. Go to the Claude connector connections section.
  4. Click Add connector > Add custom connector.
  5. Set the name (for example, Swarmica).
  6. In Remote MCP server URL, specify https://your_swarmica_address/mcp?token=YOUR_API_TOKEN.
  7. Now this MCP can be used in your work!

Example of working with MCP via Claude Desktop: