Skip to content

MCP tools

The FlowCatalyst MCP server gives an AI agent read-only access to the platform’s metadata: event types, subscriptions, applications, roles and OpenAPI documents. It speaks the Model Context Protocol over stdio, or over streamable HTTP, and is started with fcdev mcp (see fcdev CLI). Every tool issues GET requests to the platform API as the credentials it was started with, so it can read only what those credentials may read. Results are the platform’s JSON, pretty-printed as text.

12 tools:

Tool Description
list_event_types List event types. Optionally filter by status, application, subdomain, aggregate, or clientId.
get_event_type Get a single event type by id, including all schema spec versions.
get_schema Extract the JSON Schema for an event type’s spec version (defaults to CURRENT, falls back to FINALISING).
list_subscriptions List webhook subscriptions, scoped to the caller unless an admin clientId is given.
get_subscription Get a single subscription by id.
list_applications List registered applications. Defaults to active only; pass active=false to include inactive.
list_roles List platform roles. Optionally filter by source (e.g. CODE, BOOTSTRAP, API, UI).
get_role Get a single role by id, including its assigned permissions.
get_openapi Fetch the CURRENT OpenAPI spec for an application (defaults to the ‘platform’ application).
whoami Identify the caller: id, type (USER/SERVICE), scope, roles, and accessible clients/apps. Start here.
list_my_applications List the applications the caller has access to.
get_application_capabilities Bundle an application’s metadata, CURRENT OpenAPI spec, assignable roles, and CURRENT event types.

The server advertises these instructions to the agent when it connects:

FlowCatalyst MCP server — read-only access to the platform's metadata.
Start with "whoami" to learn your identity, scope, and accessible clients/apps,
then "list_my_applications" for what you can act on. Use the list_* tools to
browse event types, subscriptions, applications, and roles; the get_* tools to
fetch one by id; "get_schema" for an event type's JSON Schema; "get_openapi"
and "get_application_capabilities" for an application's API surface. All
responses are JSON.

List event types. Optionally filter by status, application, subdomain, aggregate, or clientId.

Arguments

Name Type Required Description
status string no filter by lifecycle status, e.g. CURRENT or FINALISING
application string no filter by application code
subdomain string no filter by subdomain
aggregate string no filter by aggregate
clientId string no filter by client id (admin-scoped)

Platform requests

  • GET /api/event-types?{query}

Get a single event type by id, including all schema spec versions.

Arguments

Name Type Required Description
id string yes the resource id

Platform requests

  • GET /api/event-types/{id}

Extract the JSON Schema for an event type’s spec version (defaults to CURRENT, falls back to FINALISING).

Arguments

Name Type Required Description
id string yes the event type id
version string no spec version status to extract; defaults to CURRENT (falls back to FINALISING)

Platform requests

  • GET /api/event-types/{id}

List webhook subscriptions, scoped to the caller unless an admin clientId is given.

Arguments

Name Type Required Description
clientId string no admin-scoped: list a specific client’s subscriptions

Platform requests

  • GET /api/subscriptions?{query}

Get a single subscription by id.

Arguments

Name Type Required Description
id string yes the resource id

Platform requests

  • GET /api/subscriptions/{id}

List registered applications. Defaults to active only; pass active=false to include inactive.

Arguments

Name Type Required Description
active boolean no filter by active flag; defaults to true (active only)

Platform requests

  • GET /api/applications?{query}

List platform roles. Optionally filter by source (e.g. CODE, BOOTSTRAP, API, UI).

Arguments

Name Type Required Description
source string no filter by role source, e.g. CODE, BOOTSTRAP, API, UI

Platform requests

  • GET /api/roles?{query}

Get a single role by id, including its assigned permissions.

Arguments

Name Type Required Description
id string yes the resource id

Platform requests

  • GET /api/roles/{id}

Fetch the CURRENT OpenAPI spec for an application (defaults to the ‘platform’ application).

Arguments

Name Type Required Description
applicationCode string no the application code; defaults to ‘platform’

Platform requests

  • GET /api/applications/by-code/{code}
  • GET /bff/developer/applications/{appID}/openapi/current

Identify the caller: id, type (USER/SERVICE), scope, roles, and accessible clients/apps. Start here.

No arguments.

Platform requests

  • GET /api/me

List the applications the caller has access to.

No arguments.

Platform requests

  • GET /api/me/applications

Bundle an application’s metadata, CURRENT OpenAPI spec, assignable roles, and CURRENT event types.

Arguments

Name Type Required Description
applicationCode string yes the application code

Platform requests

  • GET /api/applications/by-code/{applicationCode}
  • GET /api/roles/by-application/{id}
  • GET /api/event-types?{query}
  • GET /bff/developer/applications/{appID}/openapi/current

The server also exposes the same data as MCP resources. Fixed resources list a collection; templates read one entity.

URI Name Kind Description
flowcatalyst://openapi/platform Platform OpenAPI fixed CURRENT OpenAPI spec for the platform application.
flowcatalyst://applications Applications fixed Registered applications (active only).
flowcatalyst://roles Roles fixed Platform roles.
flowcatalyst://event-types Event Types fixed Event types.
flowcatalyst://subscriptions Subscriptions fixed Webhook subscriptions.
flowcatalyst://event-types/{id} Event Type template A single event type by id.
flowcatalyst://subscriptions/{id} Subscription template A single subscription by id.
flowcatalyst://roles/{id} Role template A single role by id.
flowcatalyst://applications/{code} Application template A single application by code.
flowcatalyst://openapi/{applicationCode} Application OpenAPI template CURRENT OpenAPI spec for an application by code.