MCP Servers

Xagent supports the Model Context Protocol (MCP), an open standard for exposing tools and data to AI agents. Connecting an MCP server gives your agents a whole set of new actions without writing custom integration code.

What is MCP?

An MCP server advertises a set of tools (and optionally resources) over a standard protocol. Xagent acts as an MCP client: once a server is registered, its tools become available to agents just like built-in tools.

Registering a Server

Register and manage MCP servers through the MCP management API:

GET /api/mcp    # manage MCP server connections

Xagent also maintains a registry of built-in MCP integrations that can be enabled per workspace. Administrators can curate which servers are available.

Per-team availability

Like other tools, MCP-provided tools respect team configuration, so you can control which workspaces may use a given server.

Using MCP Tools in Agents

Once a server is connected, grant the relevant tool category to an agent. The planner will select MCP tools when they fit the task, the same way it selects native tools.

Next Steps