MCP servers
The MCP servers screen in the Services group manages MCP server connections: remote Model Context Protocol servers whose tools your agents and flows can call. You create the server once, authorize it, discover and enable its tools, then carry it into a flow with the MCP Tools node (for an agent) or the MCP Call node (as an ordinary node in the flow).
The list shows every server with its endpoint, transport, and whether it is active, split into Enabled and Disabled views.


Create an MCP server
Section titled “Create an MCP server”Click New MCP server and fill in the form:
| Field | Required | Description |
|---|---|---|
| Name | Yes | A descriptive name for this connection. |
| Endpoint URL | Yes | The server’s MCP endpoint. Must be a public http(s) URL; private and loopback addresses are rejected. |
| Transport | Yes | Streamable HTTP (the default) or HTTP + Server-Sent Events. stdio is not offered: it would run local processes, which is unsafe in a shared platform. |
| Connection | No | The saved connection that authorizes calls to the server. Usually filled in for you by Connect with OAuth. Takes precedence over the auth token secret. |
| Auth token secret | No | Legacy: a secret holding a static bearer token. Ignored when a connection is selected. |
| Options | No | Key/value overrides such as cache_duration (minutes, 0 disables caching) or custom headers. |
| Active | No | When off, the server is ignored during agent runs. |
| Enabled tools | No | The tools exposed to agents. Populated after you run List tools. |


Authorize the server
Section titled “Authorize the server”How you authorize depends on what the server supports.
Connect with OAuth
Section titled “Connect with OAuth”For a server behind OAuth, open the saved server and click Connect with OAuth. Publicus contacts the server to discover how it wants to be authorized, registers a client with the server’s authorization server where supported, and sends you there to approve access. The result is an ordinary connection, named after the server, with the same consent step, automatic token refresh, and health tracking as every other connection. Once a connection exists, the same button reads Reconnect with OAuth and starts a fresh grant.


The legacy token path
Section titled “The legacy token path”The Auth token secret field is marked Legacy: it covers servers that hand you a long-lived bearer token instead of an OAuth sign-in. Store the token as a secret and select it here. Publicus reads it from the secret store only at the moment it calls the server; it never appears in the connection record, flow instructions, or run logs. When a connection is selected, this field is ignored.
If the server is open and needs no authorization, leave both fields empty.
Discover and enable tools
Section titled “Discover and enable tools”A new server has no tools until you discover them:
- Open the server and click List tools. Publicus calls the server and records each tool’s name, description, and input schema; a notification reports how many were discovered.
- Under Enabled tools, check the tools you want agents to call, then save.


Newly discovered tools start disabled: a tool reaches agents only after you enable it. You can run List tools again at any time. Your enabled selections are preserved, and a tool the server no longer offers stays in the list but stops reaching agents, rather than being deleted, so a temporary outage does not silently drop your configuration.
Give the tools to an agent
Section titled “Give the tools to an agent”Add an MCP Tools node to the flow, select the server in its mcpServer field, and connect its output to the Agent node’s tool handle. The agent then sees every tool that is enabled on the server and not switched off on the node, and calls them when it decides to.
The node adds flow-level control on top of the server’s enabled list:
- Purpose: one or two sentences on why this agent has these tools (for example “HubSpot CRM: look up the customer and their deals before answering”). It is shown to the model with every tool from this server, which is where the model decides what to call.
- Per-tool toggles and guidance: the node’s tool table is seeded from the server, so you switch tools off rather than add them. A tool with no row counts as enabled, which keeps tools the server adds later available without revisiting every flow. Switch off what the agent does not need: every offered tool costs prompt budget, and a long list measurably worsens tool choice.
If the server is unreachable during a run, its tools are omitted and the agent continues with whatever other tools it has; one server being down does not fail the run. An inactive server exposes no tools at all.
Approvals
Section titled “Approvals”Calls to MCP tools count as external writes, because the remote tool is not inspected. Under the agent’s approval mode: a Read-only agent is not offered them at all, Ask first and Auto-write agents pause each call for approval, and Autopilot runs them without asking. The node’s Approval setting can pin this one node to always ask, even on Autopilot, or never ask.
Call one tool from a node
Section titled “Call one tool from a node”The MCP Call node (on the API & integrations shelf) is the deterministic counterpart: it pins a single tool on a server, with arguments you supply, and runs it in line like any other integration call. No model is involved, which suits scheduled syncs and data pipelines. Its output is {"tool": name, "result": ...}, with a JSON-shaped result decoded so downstream expressions can reach into it.
Verify it works
Section titled “Verify it works”Run the flow with Run by hand and give the agent a prompt that needs one of the server’s tools. If the call pauses for approval, approve it in Needs you or on the run report. Open the agent’s conversation afterward to confirm the tool was called and returned a result.
Troubleshooting
Section titled “Troubleshooting”- The agent seems stuck. The run is most likely waiting on a pending approval. Open Needs you and decide the request; the agent continues immediately.
- List tools fails. Confirm the endpoint is reachable and the authorization is valid: reconnect with OAuth, or check that the selected secret holds a working token. The error notification shows the reason the server returned.
- The agent has no MCP tools. Make sure at least one tool is enabled on the server, the server is Active, the node’s output is wired to the agent’s tool handle, and the tool is not switched off on the node.
- Tools disappeared after re-listing. A tool the server no longer offers stays in the list but stops reaching agents. Re-list once the server provides it again.
Related
Section titled “Related”- MCP Tools carries a server’s tools to an agent.
- Connections & sign-in apps is where the OAuth grant lives and shows its health.
- Build an agent covers the full agent loop.
- MCP access is the reverse direction: your flows as tools for external clients.