Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

Community wflow MCP Server

Not affiliated with wflow. Independent open-source project, not endorsed or supported by wflow. Official MCP server: wflow AI Connect.

CI License: MIT Node.js Version TypeScript

Community MCP server for wflow, a Czech accounting automation platform for document management, expense tracking, approvals, storage, and organizational workflows.

76 tools across 10 categories, checked against the official OpenAPI spec. OAuth2 client credentials authentication, response caching with configurable TTL, retries for rate limits and read timeouts, and actionable error messages.

Requirements

  • Node.js 22+

  • wflow API credentials (OAuth2 client ID and secret) — request from wflow support or create via the wflow admin panel

Related MCP server: n8n Management MCP Server

Installation

git clone https://github.com/hlebtkachenko/wflow-mcp.git
cd wflow-mcp
npm ci
npm run build

Docker

docker build -t wflow-mcp .
docker run -e WFLOW_CLIENT_ID=... -e WFLOW_CLIENT_SECRET=... -e WFLOW_ORGANIZATION=... wflow-mcp

Configuration

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "wflow": {
      "command": "node",
      "args": ["/absolute/path/to/wflow-mcp/dist/index.js"],
      "env": {
        "WFLOW_CLIENT_ID": "your-client-id",
        "WFLOW_CLIENT_SECRET": "your-client-secret",
        "WFLOW_ORGANIZATION": "your-org-name"
      }
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "wflow": {
      "command": "node",
      "args": ["/absolute/path/to/wflow-mcp/dist/index.js"],
      "env": {
        "WFLOW_CLIENT_ID": "your-client-id",
        "WFLOW_CLIENT_SECRET": "your-client-secret",
        "WFLOW_ORGANIZATION": "your-org-name"
      }
    }
  }
}

Claude Code

claude mcp add wflow -- node /absolute/path/to/wflow-mcp/dist/index.js

Set environment variables before running:

export WFLOW_CLIENT_ID=your-client-id
export WFLOW_CLIENT_SECRET=your-client-secret
export WFLOW_ORGANIZATION=your-org-name

Any MCP client (stdio)

WFLOW_CLIENT_ID=... WFLOW_CLIENT_SECRET=... WFLOW_ORGANIZATION=... node dist/index.js

Environment Variables

Variable

Required

Default

Description

WFLOW_CLIENT_ID

Yes

—

OAuth2 client ID

WFLOW_CLIENT_SECRET

Yes

—

OAuth2 client secret

WFLOW_ORGANIZATION

No

—

Default organization workspace name

WFLOW_CACHE_TTL

No

120

Cache TTL in seconds (0 to disable)

WFLOW_MAX_RETRIES

No

3

Max retries on 429, 401 (token refresh) and GET timeouts

WFLOW_API_URL

No

https://api.wflow.com

API base URL (tests point it at a fake server)

WFLOW_TOKEN_URL

No

https://account.wflow.com/connect/token

OAuth2 token endpoint

Tools

Annotations: read tools are readOnlyHint; tools that delete, overwrite a whole set (rights, register, properties, payments, metadata, approvals) or have a remove/clear mode are destructiveHint; wf_api_raw is destructive and openWorldHint.

File content is not transferred over MCP except for wf_document_with_files, which takes each file base64-encoded (files[].contentBase64) and uploads it as multipart/form-data.

Documents (11 tools)

Tool

Description

wf_documents

List documents with optional filtering and pagination

wf_document

Get detailed document by ID

wf_document_save

Create or update a document

wf_document_delete

Delete a document (careful!)

wf_document_with_files

Create a document from uploaded files (PDF, ISDOC, images); wflow extracts the data. Pass each file's content base64-encoded.

wf_document_metadata

Get or update document metadata

wf_document_lock

Lock or unlock a document

wf_document_events

Get document event history

wf_document_export

Export documents in specified format

wf_documents_queue

List IDs of documents ready for export or extraction (use wf_document for details)

wf_document_task

Create or mark document task as processed

Document Files (3 tools)

Tool

Description

wf_document_files

List files attached to a document

wf_document_file_delete

Delete a file from a document (careful!)

wf_document_file_stamp

Apply stamp to a document file

Document Collaboration (9 tools)

Tool

Description

wf_document_approvals

Get approval status for a document

wf_document_approval_set

Set approval template on a document

wf_document_approval_clear

Remove approvals from a document (careful!)

wf_document_comments

Get comments on a document

wf_document_links

Get, add, or remove linked documents

wf_document_payments

Update payment information on a document

wf_document_rights

Get or set access rights for a document

wf_document_tags

List all organization tags or tags on a specific document

wf_document_tag_set

Add or remove a tag on a document

Custom Properties (10 tools)

Tool

Description

wf_doc_property_definitions

List custom property definitions for documents

wf_doc_property_definition_save

Create or update a document property definition

wf_doc_property_definition_delete

Delete a document property definition

wf_document_properties

Get or set custom properties on a document

wf_document_property_delete

Delete a custom property from a document

wf_file_property_definitions

List custom property definitions for storage files

wf_file_property_definition_save

Create or update a file property definition

wf_file_property_definition_delete

Delete a file property definition

wf_file_properties

Get or set custom properties on a storage file

wf_file_property_delete

Delete a custom property from a storage file

Storage Files (7 tools)

Tool

Description

wf_storage_files

List storage files with filtering

wf_storage_file

Get storage file details by ID

wf_storage_file_delete

Delete a storage file (careful!)

wf_storage_file_lock

Lock or unlock a storage file

wf_storage_file_move

Move a storage file to another folder

wf_storage_file_rename

Rename a storage file

wf_storage_file_restore

Restore a deleted storage file

Storage Folders & Rights (5 tools)

Tool

Description

wf_storage_folders

List folder children or get folder by ID

wf_storage_folder_create

Create a new storage folder

wf_storage_folder_delete

Delete a storage folder (careful!)

wf_storage_file_approvals

Get, set, or clear approvals on a storage file

wf_storage_rights

Get or set access rights for a storage file or folder

Registers (3 tools)

Tool

Description

wf_registers

List register items by type (partners, employees, chart of accounts, etc.)

wf_register_save

Create or replace register items (full replacement)

wf_register_update

Partially update register items

Supported register types: accountingrules, activities, businesscases, businessitemcategories, businessitems, carddocumenttypes, cashdocumenttypes, cashregisters, chartofaccounts, contracts, costcenters, employees, locations, measureunits, organizationpersons, partnerpersons, partners, paymentmethods, projects, series, vatcontrolstatementlines, vatreturnlines, vatreversechargecodes, vehicles.

Organization & Access (15 tools)

Tool

Description

wf_organization

Get organization details

wf_my_organizations

List organizations available to the current user

wf_account

Get current account information

wf_users

List users in the organization

wf_user_info

Get user details by ID

wf_user_save

Add a user to the organization or update an existing one, matched by login (e-mail). roles, teams and documentTypes replace the user's current assignments when given.

wf_user_delete

Remove a user from the organization (careful!)

wf_roles

List all roles in the organization

wf_role_create

Create a new role

wf_role_update

Update an existing role

wf_role_delete

Delete a role (careful!)

wf_teams

List all teams in the organization

wf_team_create

Create a new team

wf_team_update

Update an existing team

wf_team_delete

Delete a team (careful!)

Configuration (12 tools)

Tool

Description

wf_document_types

List available document types

wf_document_type_save

Create or update a document type

wf_document_type_delete

Delete a document type (careful!)

wf_approval_templates

List approval templates

wf_approval_template_info

Get approval template details

wf_approval_template_save

Create or update an approval template

wf_approval_template_delete

Delete an approval template (careful!)

wf_webhooks

List webhook registrations

wf_webhook_save

Create or update a webhook registration

wf_webhook_delete

Delete a webhook registration

wf_integration_allow

Allow integration access for the organization

wf_integration_api_client

Create a new API client for integration

Raw API (1 tool)

Tool

Description

wf_api_raw

Call any wflow API endpoint directly

Response Caching

GET responses are cached in-memory with a configurable TTL (default 120 seconds). Mutations (PUT, POST, PATCH, DELETE) automatically invalidate related cache entries. Set WFLOW_CACHE_TTL=0 to disable caching.

Retries

When the API returns HTTP 429, the server waits using the Retry-After header value or exponential backoff, then retries up to WFLOW_MAX_RETRIES times. A GET that times out is retried the same way. A write (POST, PUT, PATCH, DELETE) that times out is never repeated: the tool returns an "outcome unknown" error so the state can be checked with a read tool first.

Security

  • OAuth2 tokens are refreshed automatically and never logged

  • API credentials are read from environment variables only — never stored on disk

  • API paths containing .. or # are rejected; organization names must match [A-Za-z0-9_-]+; IDs are validated as UUIDs

  • wf_integration_api_client redacts the returned client secret

  • Error details are truncated to 500 characters

  • Zod validates every tool parameter before API calls

  • Docker image runs as non-root node user

  • 30-second timeout on all HTTP requests

Development

npm ci
npm test                # build + node:test suite against a fake wflow API
npm run check:contract  # validate every tool's request against the OpenAPI spec

Layout and design: ARCHITECTURE.md. Rules for contributors and agents: AGENTS.md.

Tech Stack

  • TypeScript 7 with strict mode

  • Node.js 22+ (ESM, native fetch and FormData)

  • MCP SDK @modelcontextprotocol/sdk

  • Zod for parameter validation

  • OAuth2 client credentials flow

API Reference

License

MIT

Available Tools

76 tools
wf_accountB
Read-only

Get current account information

Inputs: organization.

wf_api_rawC
Destructive

Call any wflow API endpoint directly

Inputs: path (required), body, method, organization.

wf_approval_template_deleteC
DestructiveIdempotent

Delete an approval template (careful!)

Inputs: templateId (required), organization.

wf_approval_template_infoC
Read-only

Get approval template details

Inputs: templateId (required), organization.

wf_approval_templatesC
Read-only

List approval templates

Inputs: page, search, pageSize, organization.

wf_approval_template_saveC

Create or update an approval template

Inputs: name (required), id, teams, organization.

wf_doc_property_definition_deleteC
DestructiveIdempotent

Delete a document property definition

Inputs: definitionId (required), organization.

wf_doc_property_definitionsC
Read-only

List custom property definitions for documents

Inputs: organization.

wf_doc_property_definition_saveB

Create or update a document property definition

Inputs: name (required), type (required), id, show, +3 more.

wf_documentC
Read-only

Get detailed document by ID

Inputs: documentId (required), organization.

wf_document_approval_clearC
DestructiveIdempotent

Remove approvals from a document (careful!)

Inputs: documentId (required), organization.

wf_document_approvalsC
Read-only

Get approval status for a document

Inputs: documentId (required), organization.

wf_document_approval_setC
DestructiveIdempotent

Set approval template on a document

Inputs: documentId (required), templateId (required), organization.

wf_document_commentsC
Read-only

Get comments on a document

Inputs: documentId (required), organization.

wf_document_deleteC
DestructiveIdempotent

Delete a document (careful!)

Inputs: documentId (required), organization.

wf_document_eventsC
Read-only

Get document event history

Inputs: documentId (required), organization.

wf_document_exportC
Idempotent

Export documents in specified format

Inputs: format (required), filter, parameters, organization, +1 more.

wf_document_file_deleteC
DestructiveIdempotent

Delete a file from a document (careful!)

Inputs: fileId (required), organization.

wf_document_filesC
Read-only

List files attached to a document

Inputs: documentId (required), organization.

wf_document_file_stampC
Idempotent

Apply stamp to a document file

Inputs: fileId (required), documentId (required), organization.

wf_document_lockC
Idempotent

Lock or unlock a document

Inputs: lock (required), documentId (required), organization.

wf_document_metadataC
DestructiveIdempotent

Get or update document metadata

Inputs: documentId (required), action, metadata, organization.

wf_document_paymentsC
DestructiveIdempotent

Update payment information on a document

Inputs: payments (required), documentId (required), organization.

wf_document_propertiesC
DestructiveIdempotent

Get or set custom properties on a document

Inputs: documentId (required), action, properties, organization.

wf_document_property_deleteC
DestructiveIdempotent

Delete a custom property from a document

Inputs: documentId (required), propertyId (required), organization.

wf_document_rightsC
DestructiveIdempotent

Get or set access rights for a document

Inputs: documentId (required), action, rights, organization.

wf_documentsC
Read-only

List documents with optional filtering and pagination

Inputs: page, sort, query, pageSize, +1 more.

wf_document_saveC

Create or update a document

Inputs: id, type, number, dueDate, +17 more.

wf_documents_queueA
Read-only

List IDs of documents ready for export or extraction (use wf_document for details)

Inputs: queue (required), typeId, organization.

wf_document_tagsB
Read-only

List all organization tags or tags on a specific document

Inputs: documentId, organization.

wf_document_tag_setC
DestructiveIdempotent

Add or remove a tag on a document

Inputs: tag (required), documentId (required), action, organization.

wf_document_taskC

Create or mark document task as processed

Inputs: taskType (required), documentId (required), action, message, +2 more.

wf_document_type_deleteC
DestructiveIdempotent

Delete a document type (careful!)

Inputs: typeId (required), organization.

wf_document_typesC
Read-only

List available document types

Inputs: page, search, pageSize, organization.

wf_document_type_saveC

Create or update a document type

Inputs: name (required), id, kind, invoiceType, +1 more.

wf_document_with_filesA

Create a document from uploaded files (PDF, ISDOC, images); wflow extracts the data. Pass each file's content base64-encoded.

Inputs: files (required), typeId, invoiceType, organization.

wf_file_propertiesC
DestructiveIdempotent

Get or set custom properties on a storage file

Inputs: fileId (required), action, properties, organization.

wf_file_property_definition_deleteC
DestructiveIdempotent

Delete a file property definition

Inputs: definitionId (required), organization.

wf_file_property_definitionsB
Read-only

List custom property definitions for storage files

Inputs: organization.

wf_file_property_definition_saveC

Create or update a file property definition

Inputs: name (required), type (required), id, show, +3 more.

wf_file_property_deleteC
DestructiveIdempotent

Delete a custom property from a storage file

Inputs: fileId (required), propertyId (required), organization.

wf_integration_allowC
Idempotent

Allow integration access for the organization

Inputs: organization.

wf_integration_api_clientC

Create a new API client for integration

Inputs: organization.

wf_my_organizationsA
Read-only

List organizations available to the current user

Inputs: no named parameters.

wf_organizationC
Read-only

Get organization details

Inputs: organization.

wf_registersC
Read-only

List register items by type (partners, employees, chart of accounts, etc.)

Inputs: registerType (required), query, organization.

wf_register_saveB
DestructiveIdempotent

Create or replace register items (full replacement)

Inputs: items (required), registerType (required), organization.

wf_register_updateC
Idempotent

Partially update register items

Inputs: items (required), registerType (required), organization.

wf_role_createC

Create a new role

Inputs: name (required), description, organization.

wf_role_deleteC
DestructiveIdempotent

Delete a role (careful!)

Inputs: roleId (required), organization.

wf_rolesB
Read-only

List all roles in the organization

Inputs: page, search, pageSize, organization.

wf_role_updateC
Idempotent

Update an existing role

Inputs: roleId (required), name, description, organization.

wf_storage_fileC
Read-only

Get storage file details by ID

Inputs: fileId (required), organization.

wf_storage_file_approvalsC
DestructiveIdempotent

Get, set, or clear approvals on a storage file

Inputs: fileId (required), action, templateId, organization.

wf_storage_file_deleteC
DestructiveIdempotent

Delete a storage file (careful!)

Inputs: fileId (required), organization.

wf_storage_file_lockC
Idempotent

Lock or unlock a storage file

Inputs: lock (required), fileId (required), organization.

wf_storage_file_moveC
Idempotent

Move a storage file to another folder

Inputs: fileId (required), folderId (required), organization.

wf_storage_file_renameC
Idempotent

Rename a storage file

Inputs: name (required), fileId (required), organization.

wf_storage_file_restoreC
Idempotent

Restore a deleted storage file

Inputs: fileId (required), folderId, organization.

wf_storage_filesC
Read-only

List storage files with filtering

Inputs: page, query, pageSize, organization.

wf_storage_folder_createC

Create a new storage folder

Inputs: name (required), parentId, organization.

wf_storage_folder_deleteC
DestructiveIdempotent

Delete a storage folder (careful!)

Inputs: folderId (required), organization.

wf_storage_foldersB
Read-only

List folder children or get folder by ID

Inputs: folderId, organization.

wf_storage_rightsC
DestructiveIdempotent

Get or set access rights for a storage file or folder

Inputs: id (required), type (required), action, rights, +1 more.

wf_team_createC

Create a new team

Inputs: name (required), description, organization.

wf_team_deleteC
DestructiveIdempotent

Delete a team (careful!)

Inputs: teamId (required), organization.

wf_teamsC
Read-only

List all teams in the organization

Inputs: page, search, pageSize, organization.

wf_team_updateC
Idempotent

Update an existing team

Inputs: teamId (required), name, description, organization.

wf_user_deleteB
DestructiveIdempotent

Remove a user from the organization (careful!)

Inputs: userId (required), organization.

wf_user_infoB
Read-only

Get user details by ID

Inputs: userId (required), organization.

wf_usersC
Read-only

List users in the organization

Inputs: page, search, pageSize, organization.

wf_user_saveA
DestructiveIdempotent

Add a user to the organization or update an existing one, matched by login (e-mail). roles, teams and documentTypes replace the user's current assignments when given.

Inputs: login (required), roles, teams, organization, +2 more.

wf_webhook_deleteC
DestructiveIdempotent

Delete a webhook registration

Inputs: registrationId (required), organization.

wf_webhooksB
Read-only

List webhook registrations

Inputs: organization.

wf_webhook_saveC

Create or update a webhook registration

Inputs: webHookUri (required), id, actions, description, +1 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 76 tools

    Disambiguation3/5

    Most tools map to a distinct resource+action, but the multi-purpose tools blur boundaries: wf_document_metadata, wf_document_links, wf_document_lock, wf_document_rights, and wf_document_properties each silently do get-or-set, while document approvals are split into three separate tools (wf_document_approvals/_approval_set/_approval_clear) yet storage file approvals are one combined tool (wf_storage_file_approvals). The presence of wf_api_raw also overlaps conceptually with every other tool as an escape hatch.

    Naming Consistency4/5

    Nearly everything follows a consistent wf_ + snake_case resource_action pattern (wf_role_create, wf_team_delete, wf_storage_folder_delete), which is easy to scan. Minor deviations exist: singular/plural pairs (wf_document vs wf_documents, wf_storage_file vs wf_storage_files), inconsistent suffix ordering (wf_document_type_save vs wf_doc_property_definition_save), and odd noun forms like wf_user_info and wf_account.

    Tool Count2/5

    76 tools far exceeds a manageable surface, even for a broad enterprise DMS covering documents, storage, registers, users, roles, teams, approvals, and webhooks. The count is inflated by near-duplicate patterns (parallel document vs file property CRUD, per-action approval tools) and a catch-all wf_api_raw, making the set unwieldy for an agent to route reliably.

    Completeness5/5

    Coverage is essentially exhaustive: documents (create/read/update/delete, files, locking, approvals, links, tags, properties, events, export), storage files and folders, custom property definitions for both resources, registers, users, roles, teams, approval templates, webhooks, and integrations. The wf_api_raw tool guarantees any uncovered edge case endpoint is still reachable.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to interact with QuickFile UK accounting software, providing access to invoicing, client management, purchases, banking, and financial reporting through 40+ tools covering the complete QuickFile API.
      9 npm
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Integrates with the sevdesk German accounting API, providing 76 tools for full CRUD operations across contacts, invoices, vouchers, orders, credit notes, bank accounts, transactions, parts, tags, addresses, and communication ways.
      6
      ISC
    • A
      license
      Not graded
      quality
      B
      maintenance
      Run your Tallyfy workflows from any AI assistant in plain English. 107 tools across processes, tasks, templates, form fields, automation rules, users, and search, each scoped to the signed-in user's Tallyfy permissions.
      1
      Apache 2.0