Workflows & Cards (DocFlow)
DocFlow exposes a Model Context Protocol (MCP) server that lets AI assistants manage workflows and partner cards programmatically. Any MCP-compatible client — Claude Code, Claude Desktop, OpenAI Codex, or custom integrations — can connect and use these tools.
What Can You Do?
With DocFlow MCP you can:
List, create, update, and delete advanced workflows
Test workflows with real or mock documents
Build custom cards using the Partner Card SDK
Validate, test, approve, and manage partner card submissions
Import cards directly from GitHub repositories
Tools Overview
DocFlow MCP groups its tools into the following categories. Workflows themselves are created and edited in the DocFlow designer; the MCP reads, tests, runs and deletes them. Most workflow- and Card-SDK tools mirror existing REST endpoints — see the API reference for those. The categories below cover the MCP-specific surface and the workflow concepts you need to use it.
Workflow Management
list_workflows
List all workflows for the current organization
get_workflow
Get details of a specific workflow by ID
delete_workflow
Delete a workflow by ID
list_workflow_variables / set_workflow_variable
Read and set workflow variables
Workflow Testing
test_advanced_workflow
Test an advanced workflow execution with optional document
run_workflow_with_assertions
Seed variables, run a workflow with the real executor and check the outcome
list_test_scenarios
List all workflow test scenarios
list_cards
List available workflow cards/actions
search_workflow_logs / get_workflow_log_detail
Find and inspect workflow runs
Card SDK Management
sdk_list_submissions
List all partner card submissions
sdk_get_submission_status
Get validation status for a submission
sdk_approve_card
Approve a validated partner card (admin)
sdk_reject_card
Reject a partner card submission (admin)
sdk_delete_submission
Deactivate or delete a submission (admin)
sdk_list_cards_picker
List all enabled cards with role flags
Card SDK Development
sdk_create_card
Create a new partner card from source code
sdk_validate_card
Run validation pipeline without saving
sdk_test_card
Execute a card in a sandboxed environment
sdk_import_github
Import a partner app from GitHub
Getting Started
Learn about Workflow Tools
Explore the Card SDK Tools
Follow end-to-end Examples
Last updated
Was this helpful?