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_configandcreate_integrationstore a disabled row.update_configandupdate_integrationstore the new version, and an enabled agent or integration keeps running its previous version. - Enabling builds.
set_config_enabledandset_integration_enabledcheck 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_gatewaytrigger, 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 itsconfig_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.
Provider, integration, secret, and memory tools
Providers
A provider is addressed by itsproviderId. 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 itsintegration_id.
Secrets
A secret is addressed by itsname. 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 itssupport_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
Atools/call request for list_secrets, sent without an MCP client. The server is stateless, so the call needs no initialize first.
Related
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.