Skip to main content
The Servflow MCP server lets an MCP client, such as Claude Code, manage your team’s agents, support agents, providers, integrations, secrets, memory, support files, and live chat over the Model Context Protocol. This page lists its address, how a client authenticates, every tool with its inputs and what it returns, and its errors. To connect a client, see Manage Servflow from an AI agent. The MCP server runs on Servflow Cloud only. A self-hosted instance has no MCP server; the servflowai resource CLI offers the same operations.

Address and authentication

The API key is under Settings > MCP connection > Your API key in the dashboard. The URL is the same for every team: the key decides which team the tools reach. A tool’s result is JSON text. A tool that fails returns a tool error; see Errors.

Behaviour that applies to all tools

  • Saving only stores. create_config and create_integration store a disabled row. update_config and update_integration store the new version, and an enabled agent or integration keeps running its previous version.
  • Enabling builds. set_config_enabled and set_integration_enabled check what the row names, build it, and run it. When it cannot be built, the tool returns why and the row stays as it was. Enabling an enabled row runs its saved version.
  • Enabling an integration does not restart agents. An agent holding the integration, such as one with a discord_gateway trigger, keeps the previous instance until the agent is enabled again.
  • Credentials are write-only. No tool returns a secret’s value or a provider’s config.
  • The catalogs are Servflow Cloud’s. The catalog tools include the Servflow Cloud entry handlers, actions, and integration types.

Agent tools

An agent is addressed by its config_id. The config input takes the body described in The body for create and update, or the bare agent document described in The shape of an agent. An enabled key in it is ignored.
list_configs also lists support agents, as kind support, and get_config, update_config, delete_config, and set_config_enabled accept them. These tools do not keep a support agent’s channels, guardrails, and handoffs in step with its stored agent. The support agent tools do.

Provider, integration, secret, and memory tools

Providers

A provider is addressed by its providerId. The built-in provider, native, is not stored and is not listed. A provider change needs no enable: the next run uses it.

Integrations

An integration is addressed by its integration_id.

Secrets

A secret is addressed by its name. Read it in a template as {{ secret "name" }}.

Memory

A memory is a folder that sub agents read and write with their built-in file tools. The tools use the code’s word, workspace, and address a memory by its uid. A sub agent uses one through its workspaceID.

Catalog tools

What an agent can be built from. These tools write nothing.

Support agent tools

A support agent is addressed by its support_agent_id. The provider_id and each integration_id a support agent names come from list_providers and list_integrations; native names the built-in provider. The support_agent object has these keys. id, created_at, and updated_at are ignored.

Support file tools

A message loads the files whose policy labels it matches. A file with no label loads for every answer.

Live chat tools

The team’s live chat: the support agent it talks to, its title, and its look. The livechat object has these keys.

Errors

Example

A tools/call request for list_secrets, sent without an MCP client. The server is stateless, so the call needs no initialize first.
For a team with no secrets, the server answers:

Manage Servflow from an AI agent

Connect an MCP client and create an agent with it.

CLI reference

The same operations from the command line, and the shape of an agent.

Available entry handlers

The triggers the catalog tools describe.