MCP servers

Register MCP servers, pin and pause their tools, and put data policies on what flows through them.

After reading this page you will be able to:
  • Add a remote or managed MCP server from the catalogue
  • Re-pin a tool whose definition changed
  • Pause a single tool without removing the server

Managed and remote servers

  • Managed servers are implemented inside Liyagent against the vendor's own API, so there is no separate MCP server to host. The catalogue has dozens, among them Jira, ServiceNow, Zendesk, Salesforce, SAP S/4HANA, Microsoft Teams, Gmail, SharePoint, AWS S3, Grafana, MongoDB, Neo4j and Dynamics 365. You supply the address and credentials, and Liyagent runs the server.
  • Remote servers are any MCP server you can reach over the network. The catalogue has cards for some (for example GitHub, Notion, Linear, Sentry, PagerDuty, the SAP MCP Gateway and Salesforce's hosted MCP servers), and you can add any other by URL.
  • The catalogue is a starting set, not the limit. Any MCP server can be added, including one you write around your organisation's own code or OpenAPI operations, and once added it is granted to agents like any catalogue card. That is how an agent is built for a system the catalogue does not name.

Add a server

  1. Open MCP servers and choose Add MCP server. Pick a catalogue card, or add one by URL.
  2. Choose how the server authenticates. A managed card offers the credential types its vendor accepts, such as API key, Basic Auth, AWS access key, App (client credentials) or User OAuth. Some vendors (Salesforce, Gmail, SharePoint and others) accept only User OAuth. A remote server offers:
    Auth optionUse for
    No credentialA server that needs none
    Bearer tokenA static token sent as Authorization: Bearer
    API key headerA static key in a named header
    OAuth client credentialsAn app's own OAuth client credentials
    Caller's tokenForwarding the caller's own identity-provider token, audience-checked
    Per-user OAuthEach user's own connection, from Connections

    Reference credentials from the secrets store with secret://<label>.

  3. Choose Save server. The server's tools are listed on its page (GET /api/mcp/servers/{name}/tools).
  4. Try a tool with Run tool (POST /api/mcp/servers/{name}/call).
  5. Grant the server to an agent under Tools on the agent's Settings tab.
Note

A server registered now holds its agents' write calls for a person's approval by default (agent_writes is require_approval). Some managed tools, such as ServiceNow's order_catalog_item and run_flow or Salesforce's run_flow and invoke_action, always ask for approval unless an operator overrides that one tool. See Permissions.

Liyagent's own service-desk tools

The Liyagent service desk card (managed-ticketiq-service-desk) gives an agent search_tickets, search_files, get_ticket, case_copilot, answer_question and create_ticket. They are the same tools the separate stdio bridge (python -m ticketiq.mcp_server) serves, by the same names, but they run inside Liyagent, as the agent calling them, with no shared API key. Because the card is a managed connector, those calls get Cedar, data policies, guardrails and audit like any other server's, and the posture report counts them covered. The five reads are reads. create_ticket is held for a person's approval unless an operator sets that tool's posture to allow.

To move an agent off the stdio bridge:

  1. Add the card under any name (it needs no address or credential).
  2. Grant it to the agent beside the bridge, and check the agent in each place it answers (Teams, the workspace, the playground).
  3. Remove the bridge from the agent's tools (PUT /api/agents/{key}/runtime with the full mcp_servers list minus the bridge, and the If-Match from your GET). Keep the bridge's record paused rather than deleting it.

The bridge keeps working for an MCP client that can only start a local process.

Keep tools stable

  • Pins: a remote server's tool definitions are pinned when first seen. If the server later changes a tool's description or schema, that tool is quarantined instead of silently reaching the model, until an administrator re-pins it (POST /api/mcp/servers/{name}/tools/pin). Managed servers' tool definitions ship with Liyagent and are not pinned.
  • Pause one tool (POST .../tools/{tool}/pause) or the whole server (POST /api/mcp/servers/{name}/pause) during an incident, and POST .../resume to bring it back.

Pins and the write posture

A remote server describes its own tools, including whether each one only reads. Liyagent does not take that on the server's word. With a server's agent write posture at require_approval or deny, an agent's call goes out without approval only when the pinned definition reads as read-only and an administrator has reviewed that pin. Until then the tool counts as a write everywhere a write is treated differently:

  • it is held for approval, or refused on a deny server;
  • on a read-only server it is hidden from the agent and refused if called;
  • it is withheld from an agent that runs as its invoker when the invoker may not write, and refused under support access;
  • an agent on the autonomy ladder treats it as a write: not sent at shadow, held at draft, and sampled for review;
  • it gets a trust-ledger receipt, as a write does;
  • the security posture report counts it among unguarded writes.

Review the pins on the server's page under Review reads, which lists the tools that say they only read, or in one call with POST /api/mcp/servers/{name}/tools/review-reads. Each reviewed tool gets its own audit row. The tools list shows why a tool is held: not_reviewed or writes.

A person's own AI client connected to /mcp takes the same posture for writes. A tool at deny is refused for a client. On a server at require_approval, a client's write waits for approval, filed under the person who made it, unless the server's hold_client_writes is set to false; switching it off there needs governance.weaken and a reason. A client's reads go straight out, once the tool's pin is reviewed; until then the call counts as a write here too.

After an upgrade from a release before 5 December 2026, review each remote server's pins once. The start-up log counts the tools this affects. To keep the earlier behaviour, where a tool that declares itself read-only is believed, set mcp_trust_unreviewed_read_only (TICKETIQ_MCP_TRUST_UNREVIEWED_READ_ONLY).

Data policies

Data policies filter what goes into and comes out of a server's tools. Edit them on the server's page and choose Save policies (Saved — enforced on the next call). Preview a policy against sample data with POST .../data-policies/preview, run it in shadow first and check its hits (GET .../data-policies/{policy_name}/shadow-hits) before promoting it (POST .../data-policies/{policy_name}/promote).

Next steps