Skip to main content
Glama

Appmixer MCP

A Model Context Protocol (MCP) server for the Appmixer workflow-automation platform. It lets LLM clients (Claude, Cursor, VS Code, Windsurf, …) control and observe the flows of an Appmixer tenant user, and dynamically exposes tools published by "MCP Gateway" components running inside Appmixer flows.

Requirements

  • Node.js 20 or newer

  • An Appmixer tenant and user account

Related MCP server: MCP Tool-Calling Agent

Getting started

Add the server to your MCP client. A typical configuration:

{
  "mcpServers": {
    "appmixer": {
      "command": "npx",
      "args": ["appmixer-mcp"],
      "env": {
        "APPMIXER_BASE_URL": "https://api.YOUR_TENANT.appmixer.cloud",
        "APPMIXER_ACCESS_TOKEN": "<your-appmixer-access-token>"
      }
    }
  }
}

With Claude Code:

claude mcp add appmixer npx appmixer-mcp \
  -e APPMIXER_BASE_URL="https://api.YOUR_TENANT.appmixer.cloud" \
  -e APPMIXER_ACCESS_TOKEN="..."

Desktop bundle (MCPB)

For Claude Desktop users without Node.js, the server also ships as an .mcpb bundle: download it, double-click, and fill in the tenant URL and token in the install dialog (the token is stored in the OS keychain).

npm run build:mcpb     # -> dist/appmixer-mcp-<version>.mcpb

The bundle is the recommended install for Claude Desktop today, because Desktop's remote-connector flow requires OAuth, which the server does not implement yet (see docs/phase-3b-platform.md). For every other client, prefer npx appmixer-mcp or the remote server below.

Remote server (streamable HTTP)

Besides stdio, the same server runs as a remote MCP endpoint:

npx appmixer-mcp-http     # or: docker compose -f docker-compose.example.yml up -d

Two auth modes (MCP_AUTH_MODE, auto-detected by default):

  • env — the server uses APPMIXER_* credentials from its environment and serves that single user to every caller. For personal/team self-hosting only; never expose publicly.

  • bearer — every MCP client sends its own Appmixer access token: Authorization: Bearer <token>. Multi-user; sessions are bound to the token. Example: claude mcp add --transport http appmixer https://your-host/mcp --header "Authorization: Bearer <token>".

HTTP-specific environment: MCP_HTTP_PORT (default 3000; falls back to PORT when unset, for platforms that inject it), MCP_HTTP_HOST (default 127.0.0.1; the Docker image listens on 0.0.0.0 — terminate TLS in a reverse proxy in front), MCP_ALLOWED_ORIGINS (comma-separated Origin allowlist for browser clients; empty = reject all browser origins), MCP_SESSION_IDLE_TIMEOUT (seconds, default 14400), MCP_MAX_SESSIONS (default 200; further sessions get 429) and MCP_RATE_LIMIT_PER_MINUTE (session attempts per client address, default 30, 0 disables). Health check: GET /healthz.

Note: claude.ai custom connectors require OAuth and cannot send bearer headers — that flow is tracked in docs/phase-3b-platform.md.

Configuration

Variable

Description

APPMIXER_BASE_URL

Required. Your Appmixer tenant API URL, e.g. https://api.YOUR_TENANT.appmixer.cloud.

APPMIXER_ACCESS_TOKEN

Appmixer access token (JWT). Recommended over username/password.

APPMIXER_USERNAME

Appmixer username — only needed when no token is provided, or to let the server renew expired tokens automatically.

APPMIXER_PASSWORD

Appmixer password (see above).

TOOLS

Enabled tool groups, comma-separated. Default api,mcpgateway.

Authentication notes

  • Prefer APPMIXER_ACCESS_TOKEN. Tokens expire (GRIDD_JWT_TOKEN_EXP system setting, 30d by default) — when username/password are also provided, the server re-authenticates automatically on expiry.

  • Consider a dedicated non-admin Appmixer user for MCP access so the token's capabilities are limited by ACL.

Tools

API tools (TOOLS=api)

Tool

Kind

Description

list_flows

read

List flows (pattern filter, pagination).

get_flow

read

Flow metadata + component list; optionally the full descriptor.

get_flow_status

read

Runtime status of a flow.

get_flow_logs

read

Execution logs, filterable with Lucene query syntax.

list_unprocessed_messages

read

Messages parked by the default error handling (dead-letter queue).

get_unprocessed_message

read

One parked message in full: the error and the input that failed.

retry_unprocessed_message

write

Replay a parked message once the flow is fixed.

delete_unprocessed_message

destructive

Discard a parked message.

start_flow

write

Start a flow.

stop_flow

write

Stop a flow.

delete_flow

destructive

Permanently delete a flow.

trigger_component

write

Send a POST/PUT/PATCH/DELETE webhook request to a trigger component of a running flow.

read_component_trigger

read

Send a GET request to a trigger component that listens on GET.

send_app_event

write

Send a named App Event to the user's flows.

Flow authoring tools (TOOLS=api)

Tool

Kind

Description

get_flow_authoring_guide

read

The complete guide to writing flow descriptor JSON (also exposed as the MCP resource appmixer://guides/flow-authoring).

list_apps

read

Apps/connectors available on the tenant.

get_components

read

Component summaries per app, or the full manifest of one component (ports, input fields, output variables).

list_accounts

read

Third-party accounts connected by the user.

create_flow

write

Create a flow from a descriptor; validates automatically.

update_flow

write

Replace a flow's descriptor/name; re-validates.

validate_flow

read

Server-side validation with per-component errors.

get_flow_variables

read

Exact $.<componentId>.<port>.<field> variable paths (with leaf fields) available to each component.

test_flow

write

Dry-run one component + its downstream graph with sample input, without starting the flow.

get_component_options

read

Resolve dynamic inspector/output-port options (channel pickers, sheet lists, generated variables) at runtime.

get_trigger_url

read

Public webhook URL of a trigger component — the building block for chaining flows.

get_flow_accounts

read

Which components need a connected account and what is assigned.

assign_account

write

Bind a connected account to a component.

Data, versions and modifiers (TOOLS=api)

Tool

Kind

Description

list_stores / create_store

read / write

Data stores the flows read and write.

get_store_records

read

Records of a store, with the total count.

set_store_record

write

Create or overwrite one record (the value is stored verbatim).

delete_store_record

destructive

Delete one record.

list_flow_versions

read

Saved snapshots of a flow.

create_flow_version

write

Snapshot the current state before a risky edit.

restore_flow_version

destructive

Roll the flow back to a snapshot.

clone_flow

write

Copy a flow, optionally carrying its accounts over.

list_modifiers

read

The g_* modifier catalogue of this tenant, filterable.

The intended authoring loop: read the guide → discover components → create_flow → fix validate_flow errors via update_flow → check paths with get_flow_variables → dry-run with test_flow → start_flow.

All tools ship proper MCP annotations (readOnlyHint, destructiveHint), so well-behaved clients auto-allow reads and always confirm destructive calls. Errors are returned as actionable isError results with the API status and a hint on how to fix the problem.

MCP Gateway tools (TOOLS=mcpgateway)

Every running flow that contains an "MCP Gateway" component (from the "MCP Tools" category) contributes its connected tools to this server. The tool list updates live — starting or stopping such flows adds or removes tools (standard tools/list_changed notifications).

Requires the appmixer.ai.mcptools module installed on the tenant. When the module is missing, gateway tools are disabled gracefully and API tools keep working. See docs/mcptools-endpoints.md for the module's endpoint documentation.

Development

npm install
npm run build       # compile TypeScript to dist/
npm test            # unit tests (vitest)
npm run dev         # run from sources (tsx)

# Live tests against a real tenant:
APPMIXER_BASE_URL=... APPMIXER_USERNAME=... APPMIXER_PASSWORD=... node test/smoke.mjs
APPMIXER_BASE_URL=... APPMIXER_USERNAME=... APPMIXER_PASSWORD=... node test/e2e-authoring.mjs
# Gateway lifecycle — needs the appmixer.ai.mcptools module; skips without it:
APPMIXER_BASE_URL=... APPMIXER_USERNAME=... APPMIXER_PASSWORD=... node test/e2e-gateway.mjs

# After editing docs/flow-authoring-guide.md, regenerate the embedded copy:
npm run gen:guide

LLM evals

evals/ contains an agent-level benchmark: each task in evals/tasks.json asks an LLM (via the claude CLI with this server mounted over --mcp-config) to build a flow from a natural-language brief. The runner scores the result objectively through the Appmixer API — flow created, passes validation, expected components present, valid on the first try, tool-call count and cost — and writes a JSON report to evals/results/.

node evals/run.mjs                 # all tasks (costs real LLM tokens!)
node evals/run.mjs --model haiku   # different model
node evals/run.mjs --only condition-branching --keep

Run it before releases or after changing the authoring guide, tool descriptions or output formats — it is the regression test for the parts of this server that unit tests cannot cover.

Releasing

Releases are cut locally with npm run release (commit-and-tag-version) and published by GitHub Actions:

git checkout main && git pull && npm install
npm run release                    # bump, CHANGELOG, release commit + tag
git push --follow-tags origin main # the v* tag runs .github/workflows/release.yml
  • The bump comes from the conventional commits since the last tag (fix: → patch, feat: → minor, ! → major). Force one with npm run release -- --release-as minor (or an exact version).

  • .versionrc.json keeps package.json, package-lock.json, mcpb/manifest.json and src/version.ts on the same version.

  • The workflow builds, tests, publishes to npm through trusted publishing (OIDC, no npm token) and attaches the .mcpb bundle to a GitHub release. Never run npm publish locally.

Project documentation

License

MIT

Available Tools

37 tools
assign_accountAssign AccountA
Idempotent

Assign a connected third-party account (see list_accounts) to a component of a flow, so the component can authenticate against its service. The account must belong to the authenticated user and match the component's service.

Inputs: account_id (required), component_id (required).

clone_flowClone FlowA

Copy a flow, including its components and wiring. The copy is created stopped and its components have no accounts assigned unless connect_accounts is set. Cloning then editing the copy is the safe way to change a flow that is in use.

Inputs: id (required), prefix, connect_accounts.

create_flowCreate FlowA

Create a new Appmixer flow from a flow descriptor JSON and validate it. Read get_flow_authoring_guide first and discover exact component types, ports and fields with get_components. Component keys may be readable placeholders ("trigger", "send_email") — real UUIDs are minted for them and every reference is rewritten, so you never need to generate IDs yourself; the mapping comes back as componentIds. The flow is created stopped; fix any validation errors with update_flow, then use start_flow.

Inputs: flow (required), name (required), stage, description, +1 more.

create_flow_versionCreate Flow VersionA

Snapshot the current state of a flow so it can be restored later. Take one before rewriting a flow you did not build — update_flow replaces the descriptor and there is no undo otherwise.

Inputs: id (required), label.

create_storeCreate Data StoreC

Create a data store the flows of this user can read and write.

Inputs: name (required).

delete_flowDelete FlowA
Destructive

Permanently delete an Appmixer flow by ID. This cannot be undone.

Inputs: id (required).

delete_store_recordDelete Data Store RecordB
Destructive

Delete one record from a data store. This cannot be undone.

Inputs: key (required), store_id (required).

delete_unprocessed_messageDelete Unprocessed MessageA
Destructive

Discard a parked message without replaying it. This cannot be undone.

Inputs: message_id (required).

get_component_optionsGet Component OptionsA
Read-only

Resolve a field's dynamic options at runtime — the values behind inspector fields and output ports whose manifest declares a source URL (Slack channel pickers, spreadsheet lists, generated output variables). Take component_type and out_port from that source URL (it often points at a different, auxiliary component), and pass the component that owns the field as component_id — it must already exist in a flow and, for connected services, have an account assigned, because the lookup runs with that component's credentials. Results are the auxiliary component's raw output: sources that declare a transform are not converted here, so pick the identifier the target field expects (Slack channels: id). Pointer strings in source.data such as "properties/event" mean "send that property's value".

Inputs: component_id (required), component_type (required), limit, messages, +2 more.

get_componentsGet ComponentsA
Read-only

Inspect components of an Appmixer app. Without component, returns a compact summary of all the app's components (type, description, port names). With component (the full type, e.g. "appmixer.utils.email.SendEmail"), returns the full manifest including input fields, required fields and output variables — needed to build config.transform correctly. Never guess component types, port names or fields.

Inputs: app (required), component.

get_flowGet FlowA
Read-only

Get a single Appmixer flow by ID: metadata and, optionally, the full flow descriptor (the JSON definition of components and their wiring). Set include_descriptor=true when you need component IDs, e.g. for trigger_component.

Inputs: id (required), include_descriptor.

get_flow_accountsGet Flow AccountsA
Read-only

List which components of a flow require a connected third-party account and which account (if any) is assigned to them.

Inputs: id (required).

get_flow_authoring_guideGet Flow Authoring GuideA
Read-only

Get the complete guide to writing Appmixer flow descriptor JSON: structure, wiring (source), input mapping (config.transform, modifiers, variables), error handling and common validation failures. Read this before calling create_flow or update_flow.

Inputs: no named parameters.

get_flow_logsGet Flow LogsA
Read-only

Get execution logs of an Appmixer flow. Optionally filter with an Apache Lucene query over fields such as "msg", "@timestamp", "portType", "port", "correlationId", "senderType", "senderId" and "inputMessages".

Inputs: id (required), size, query.

get_flow_statusGet Flow StatusA
Read-only

Get the current stage of an Appmixer flow: "running" or "stopped".

Inputs: id (required).

get_flow_variablesGet Flow VariablesA
Read-only

Get the output variables available to each component of a flow — the exact "$..." paths (with schemas) usable in config.transform modifiers. Call this after create_flow/update_flow to fix or build variable references instead of guessing paths.

Inputs: id (required), component_id.

get_store_recordsGet Data Store RecordsA
Read-only

Read records of a data store: their keys, values and timestamps. Use it to see what a flow has stored, or to check the data a flow is about to read.

Inputs: store_id (required), limit, offset.

get_trigger_urlGet Trigger URLA
Read-only

Get the public webhook URL of a trigger component (e.g. WebhookTrigger) in one of your flows. Use it to chain flows: another flow POSTs to this URL via appmixer.utils.http.Post — no credentials needed, the endpoint is public. The flow must be running for the webhook to actually accept requests.

Inputs: flow_id (required), component_id (required).

get_unprocessed_messageGet Unprocessed MessageA
Read-only

Read one parked message in full: err (message, code, name, stack) and messages, the input the component received keyed by inPort — together they usually explain why it failed.

Inputs: message_id (required).

list_accountsList AccountsA
Read-only

List third-party accounts (Slack, Google, …) connected by the authenticated Appmixer user. Components of connected apps need an account; accounts are connected by the user in the Appmixer UI, not through this server.

Inputs: no named parameters.

list_appsList AppsA
Read-only

List apps (connectors) available on this Appmixer tenant, e.g. "appmixer.utils", "appmixer.slack". Use get_components to inspect an app's components.

Inputs: category.

list_flowsList FlowsA
Read-only

List Appmixer flows of the authenticated user, sorted by last modification. Returns flow IDs, names, stages and modification times. Use pattern to filter by name.

Inputs: limit, offset, pattern.

list_flow_versionsList Flow VersionsB
Read-only

List saved versions of a flow, newest first. Versions are snapshots the flow can be rolled back to.

Inputs: id (required), limit, offset.

list_modifiersList ModifiersA
Read-only

List the modifier functions available on this tenant — the g_* functions usable in a transform's functions array (g_length, g_jsonPath, g_formatDate …). Check here instead of assuming a function exists.

Inputs: search, category.

list_storesList Data StoresA
Read-only

List the user's Appmixer data stores. Flows read and write these through the appmixer.utils.storage components, which need the store's ID — look it up here rather than guessing it.

Inputs: no named parameters.

list_unprocessed_messagesList Unprocessed MessagesA
Read-only

List messages that failed processing and were parked instead of being dropped. This is where a component sends its failures under the default error handling ("Stop execution" / onError: storeUnprocessed) — the flow keeps running and the failed message waits here. Use it to find out what broke and, after the flow is fixed, replay it with retry_unprocessed_message.

Inputs: limit, offset, flow_id, correlation_id.

read_component_triggerRead From Component TriggerA
Read-only

Send a GET request to a trigger component of a running flow, for webhook triggers that listen on GET, and return the component's response.

Inputs: flow_id (required), component_id (required), query.

restore_flow_versionRestore Flow VersionA
Destructive

Roll a flow back to a saved version. The flow's current descriptor is replaced by the snapshot, so take a version of the current state first if you may want it back.

Inputs: id (required), version_id (required).

retry_unprocessed_messageRetry Unprocessed MessageA

Replay a parked message through its component. Fix the flow first — a replay repeats the original input, so an unfixed cause fails again.

Inputs: message_id (required).

send_app_eventSend App EventA

Send a named App Event to Appmixer. All running flows of this user that contain an OnAppEvent trigger for this event name will receive it.

Inputs: event (required), data.

set_store_recordSet Data Store RecordA
Idempotent

Create or overwrite one record of a data store. value is stored as it is, so wrap a scalar in an object, e.g. {"value": "text"}. Useful for seeding data a flow will read, or correcting a record a flow wrote.

Inputs: key (required), value (required), store_id (required).

start_flowStart FlowA
Idempotent

Start an Appmixer flow by ID. The flow must be valid and complete to start.

Inputs: id (required).

stop_flowStop FlowB
Idempotent

Stop a running Appmixer flow by ID.

Inputs: id (required).

test_flowTest FlowA

Test-run a single component (and its downstream graph) of a flow without starting the flow. Provide the input data the component should receive; returns the outputs each component produced. The flow does not need to be running. Use this to verify a flow works before start_flow.

Inputs: id (required), component_id (required), payload, input_data, +1 more.

trigger_componentTrigger ComponentA

Send a webhook request that submits data to a trigger component of a running flow, using POST (default), PUT, PATCH or DELETE — match the method the flow's webhook trigger expects. Find the component ID with get_flow (include_descriptor=false lists components with their IDs). For triggers that expect GET, use read_component_trigger.

Inputs: flow_id (required), component_id (required), body, method.

update_flowUpdate FlowA
Idempotent

Update an existing Appmixer flow (descriptor and/or name) and re-validate it. Send the COMPLETE flow descriptor — it replaces the stored one, so start from the current descriptor (get_flow with include_descriptor=true), keep the existing component IDs and the configuration of everything you were not asked to change. A running flow is rejected unless force is set.

Inputs: id (required), flow, name, force, +2 more.

validate_flowValidate FlowA
Read-only

Validate an Appmixer flow server-side. Returns per-component errors (wrong port names, missing required fields, invalid variables). A flow must be valid to start.

Inputs: id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 37 tools

    Disambiguation4/5

    Most tools target a clearly distinct resource+action (flow lifecycle, versions, stores, unprocessed messages, components, accounts), and descriptions explicitly disambiguate close pairs like create_flow/update_flow/clone_flow and validate_flow/test_flow/start_flow. A few boundaries remain thin, notably trigger_component vs read_component_trigger (split only by HTTP method) and get_flow_accounts vs list_accounts, but guidance is sufficient to pick correctly.

    Naming Consistency5/5

    All 37 tools follow a consistent snake_case verb_noun pattern (get_flow, list_flows, create_store, delete_store_record, retry_unprocessed_message, restore_flow_version). No mixed casing or vague bare verbs, and the noun portion reliably names the resource.

    Tool Count3/5

    37 tools is heavy, but Appmixer is a genuinely broad platform (flow authoring, execution, triggers, logs, versions, stores, components, accounts, modifiers) and nearly every tool maps to a real operation. Still, some could be consolidated (e.g. list/get unprocessed message, trigger vs read trigger), so the surface feels larger than ideal.

    Completeness4/5

    Coverage is strong: full flow CRUD plus start/stop, validation, test-run, logs, status, versioning/clone, data store CRUD, unprocessed-message lifecycle, component/app/account discovery, and modifiers. Minor gaps exist (no delete/compare flow versions, no account connection by design), but no obvious dead ends for core workflows.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Exposes internal company services as LLM-callable MCP tools, enabling AI agents to perform business operations like customer management, order processing, and support ticketing through natural language.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables an LLM to dynamically discover and call tools across multiple MCP servers (file, GitHub, SQL, Python execution) with authentication, rate limiting, and observability, supporting parallel execution and secure deployment.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables plain-English workflow automation across connected tools like GitHub, Notion, Slack, and more, with self-healing execution, scheduling, and status reporting through MCP.
      15 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to perform go-to-market workflows such as company and contact enrichment, CRM querying, and controlled, audited writes to a CRM through MCP tools callable from any MCP client.
      1
      MIT