Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

MCP Servers

MCP (Model Context Protocol) servers extend the AI agent with external tool capabilities. Once an MCP server is registered in DuploCloud AI Suite, agents can call its tools from any ticket that includes the server's scope.

Setting one up takes two stages:

  1. Register the MCP server under AI Admin → MCP Servers — its endpoint and transport, or a raw JSON config.

  2. Create a Provider, credential, and Scope that bind the server to a set of credentials. The Scope is what you attach to a ticket.


Stage 1 — Register the MCP server

Navigate to AI Admin → MCP Servers. The page lists every registered server as a card showing its transport and endpoint, with search, a provider-type filter, and sorting.

MCP Servers list

Click + Add MCP Server. The form opens in two sections — Basic and Metadata — tracked in the rail on the right.

Add MCP Server, empty

Fill in the Basic section:

  • Name — a display name for the server

  • Description (optional)

  • Provider Type (optional) — links the server to a provider category for organizational purposes

  • Config Type — HTTP/SSE for a standard remote endpoint, or Raw to supply a full JSON config

  • API Endpoint — the MCP server's HTTP endpoint URL

  • Transport — the transport value, typically http for standard HTTP or sse for Server-Sent Events

Add MCP Server, filled in

Click Next for the optional Metadata section, where you can attach arbitrary key/value pairs to the server.

Metadata section

Click Create. The new server appears in the list and is available to be linked to a Scope.

Server created

Using a raw JSON config instead

Selecting Config Type → Raw replaces the endpoint and transport fields with a Raw Config editor, for servers that need a full configuration block rather than a single URL — for example a command-launched server.

Config Type set to Raw

Raw configs support credential placeholders, so secrets and per-environment values are resolved at runtime rather than stored inline. Use ${credential.<key>} for any value that should come from the Scope's bound credentials:

See Credential Placeholders for the full reference.

Placeholder keys are case-sensitive and must match the credential field names exactly — ${credential.token} resolves a credential field named token, not Token or TOKEN.


Stage 2 — Create the Provider, credential, and Scope

A Provider holds the credentials, and a Scope binds those credentials to the MCP server. Both are created in a single flow.

Navigate to AI Admin → Providers, select the tab matching your server's category (for example Other for a generic tool, or Observability for Grafana), and click + Add Provider.

The page walks through three sections in order — Provider Details, Credentials, and Scope — shown in the rail on the right.

Add Provider, Provider Details empty

Provider Details

  • Name — a name for this provider

  • Description (optional)

  • Type — the provider category

  • Account ID — an identifier for the provider account; any string works if it isn't needed for routing

  • Metadata (optional) — key/value pairs

Provider Details filled in

Click Next.

Credentials

Give the credential set a Name. The fields below it depend on the provider Type you chose — an AWS provider asks for a credential type and access keys, a Kubernetes provider asks for a token or role, and a generic provider takes key/value pairs.

Credentials section

For a raw-config MCP server, add one credential field per ${credential.*} placeholder used in the config, matching the placeholder keys exactly.

Credentials filled in

Click Next. You can also Skip this section and add credentials later from the provider's detail page.

Scope

The Scope is what ties everything together and what you select when creating a ticket.

  • Name — the scope name shown in the ticket form

  • Description (optional)

  • MCP Server — select the server registered in Stage 1

  • Resource Map (optional) — Key plus one or more Values

Scope section

The credential created in the previous section is carried forward automatically and shown read-only.

How the server authenticates depends on its Config Type.

  • HTTP/SSE — the agent authenticates with the Resource Map. An Authorization key is sent as the request's Authorization header, with Bearer added if the value doesn't already start with it. Other keys are added to the server's connection settings as-is, except type, which is ignored because the server's Transport decides it. The scope's credential is not used, so you can Skip the Credentials section. Resource Map values are not stored as secrets.

  • Raw — the credential is used, through the ${credential.<key>} placeholders in the raw config.

The MCP server's Provider Type must match the provider's Type exactly, or the scope fails to save. For a provider on the Other tab, register the server with provider type other.

Scope filled in

Click Create. A confirmation appears, followed by an Attach Scope to Workspaces prompt — select the workspaces that should have access to this scope, or Skip to attach them later.

Provider created, attach scope to workspaces

Using the MCP server from a ticket

With the Scope configured, create a ticket and select that scope. The agent then has access to the server's tools for the life of that ticket, authenticated as described under Scope — tools are named mcp__<server>__<tool>.

Before each request it handles, the agent rebuilds its MCP configuration from the ticket's scopes. For a raw-config server, every ${credential.*} placeholder is resolved from the bound credentials at that point; a server whose config references a credential key that doesn't exist is left out. The stored MCP server record keeps only the placeholders, never the resolved secrets.

Controlling which tools the agent may call

By default the agent asks before running any MCP tool. Each ticket's Details panel has an MCP Tool Permissions entry for changing that.

MCP Tool Permissions in the ticket Details panel

It opens the MCP Tool Approval Settings dialog:

MCP Tool Approval Settings
  • Approve All / Reject All — blanket rules for every tool on every server

  • Auto-approve these MCP servers — every tool on a selected server runs without asking

  • Auto-reject these MCP servers — every tool on a selected server is refused without asking

The server pickers list only the servers reachable from that ticket's scopes.

Selecting a server to auto-approve

For anything narrower than a whole server, expand Advanced — edit raw patterns. Patterns are regular expressions matched end to end against the full tool name, which always looks like mcp__<server>__<tool>; the mcp__ prefix is required.

Advanced raw patterns

These settings apply to the one ticket, overriding the workspace defaults for that conversation only.

Last updated

Was this helpful?