External agents and MCP
Register outside MCP servers and rate their tools for your agents, and let developers connect tools such as Claude Code to project agents through Swarmix.
Who can do this:Org admin
Your agents can use tools from outside MCP servers, such as a vendor's service or your own. Developers can also connect AI tools that run outside Studio, such as Claude Code, Codex CLI or Cursor, so they work as one of a project's agents. In both cases, Swarmix applies your policies and records what happens.
Before you start
You need the organization admin role, the Swarmix Studio desktop app and access to the web dashboard.
Register an external MCP server
- In Studio, open Settings → External MCP → Servers and click New Server.
- Under Identity, enter a Name and a Slug of lowercase letters, numbers and hyphens.
- Under Connection, enter the Server URL and choose the Transport.
- Under Authentication, choose the Auth type: OAuth 2.0, API Key, Bearer (static) or Custom Headers. With OAuth 2.0, members sign in with their own accounts.
- Click Create Server.
Limits & Metadata sets the server's rate limits: a burst of 60 and a sustained rate of 30 unless you change them.
To make a server available to some groups only, open it in the web dashboard's MCP Gateway and choose Only people in these groups under Who can use it. Studio's form doesn't offer this setting yet.
Review the server's tools
Swarmix doesn't trust a server to rate its own tools. You set each tool's risk.
- Open the server and click Discover tools.
- For each tool, choose a risk: Low, Medium, High or Critical.
- Under Tool filtering, list tools in Allowed tools or Denied tools if agents should see only some of them.
A tool without a risk shows "Needs a risk set by an org admin", and no agent role can use it. Hive uses the risk to decide when a member confirms a call. See How Hive checks agent actions.
When a server changes a tool, the tool shows a warning icon and counts as critical. Members confirm each call until you review the tool and save its risk again. Change history lists what changed.
Turn the server on
- On the server's page, use Test to check your sign-in, read its tools and call one tool.
- Click Activate. Only active servers serve agents.
- In an agent role, turn on the server's tools. See Crew templates, agent roles, profiles and traits.
Disable stops agents from using the server and keeps its settings. Delete removes it for good.
Members connect their accounts to servers that need one under Settings → External MCP → My Tokens.
Let developers connect external agents
- In the web dashboard, open Organization.
- Under External Agents, turn on Enable External Agents.
Each developer then sets up their own computer in Studio:
- Under Settings → External Agents → Environment Routing, they click Override All and restart the tool. The tool then sends its AI traffic through Hive.
- Under Agents & Sessions, the tool shows in Pending Agents. They click Bind.
- They choose the project, the agent (or create one), and the workstream, then click Bind.
The tool then works as that project agent, with the project's Knowledge Center, tasks and workstreams. Its commands show under Recent Commands, where dangerous ones show Flagged.
Limit external agents with a policy
Under Agents → External Agents in a policy:
- Block External Agents refuses external agents for the group.
- Allowed Agent Types allows only the tools you list.
Both apply in each enforcement mode. The developer's session then shows "Blocked by your organization" or "Not allowed by your organization". See Tools and external services.
Project admins see the project's links under External links and can revoke them. See Manage external links.
Best practices
- Review tools before you activate a server. Agents can't use a tool without a risk.
- Give write tools a high risk, so members confirm each call.
- Use Allowed Agent Types to allow only the tools your company approved.
FAQ
Your organization hasn't turned on Enable External Agents on the web dashboard's Organization page.
An agent role has the tool turned on. Studio names the roles. Turn the tool off there first.