
Hap Mcp
@mingdaocloud
About Hap Mcp
HAP (Super Application Platform) is developed by Mingdao( https://www.mingdao.com )The launched APaaS platform helps you build enterprise level applications quickly without coding. This is HAP's MCP (Model Context Protocol) server, used for seamless integration of AI. It enables
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"hap-mcp": {
"type": "streamable_http",
"url": "https://api2.mingdao.com/mcp?HAP-Appkey=ab14bdc682de8bd0&HAP-Sign=OTY0MTczZWE5ZGQxZGIyNjUwNTczNzUyYzk4ZDA5NDNjNGU1YjYxYWMxYzE4YmU2NzkwNGE1NDQ1ZmFkNWUyNQ=="
}
}
}Tools
98Trigger a workflow. When calling, in addition to providing the `process_id`, you should also pass the input parameters returned by `get_workflow_details`. Use the parameter's `id` as the key and its corresponding value as the value, passed directly as top-level parameters.
Get the business rule list for a worksheet. Returns basic info (ruleId, name, ruleType, enabled), not full config (use get_business_rule_detail for that).
Batch append nodes to an existing workflow (cannot create triggers). If createdNodes contains approval_block / sub_process, the node item will include the internal flow's processId. ⚠️ All fieldId parameters must use the real field ID returned by get_worksheet_structure (e.g. 5f1abc...), never pass field aliases.
Delete a specific business rule.
Delete a worksheet quick filter by filter ID. Only deletes the filter configuration itself without affecting worksheets or records.
Edit a worksheet.
Enable or disable public form for a worksheet. Automatically initializes configuration and public link on first enable; disabling immediately interrupts public access.
Get the full configuration of a single business rule. Returns a structure identical to create_business_rule request body, with an additional ruleId.
Create a workflow (including trigger), returns processId on success. Use batch_create_process_nodes for node creation. ⚠️ All fieldId parameters must use the real field ID returned by get_worksheet_structure (e.g. 5f1abc...), never pass field aliases.
Update configuration for a single custom action button. Omitted fields remain unchanged.
Publish the workflow, automatically running a complete validation before publishing. Any failure means overall failure, and the 'published' status is not written; error.code=PUBLISH_FAILED, error.message has multi-line columns for each problem, split by line and fix one by one, then resend after fixing.
Get detailed configuration tree of a specific view.
Batch update display mode (visibility) of application items in navigation (overwrite mode). Supports worksheets, custom pages, chatbots, and second-level sections (first-level sections are not supported).
Batch create blank application items (custom pages or worksheets).
Get the list of knowledge bases under the current application. Use the body parameter knowledgeIds to specify which knowledge base IDs to return: empty array or omit to return all; non-empty returns only the specified knowledge bases.
Get the share card title, description, and icon settings for a specific worksheet sharing scenario (view, record, or public-form).
Get application information, including groups, worksheets, and custom pages under the application. The 'type' field of the items object means: 0-Worksheet, 1-Custom Page, 2-Subgroup; the 'status' field means: 1-Show, 2-Hide, 3-Show on Mobile Only, 4-Show on PC Only.
Partially update worksheet settings including basic info, form display, submission behavior, and sharing permissions. Only provide the properties to modify; omitted properties remain unchanged.
Get the list of visible quick filters and their complete condition configurations for the current user in a worksheet. Returns personal and public filters.
Delete a row record.
Delete a custom action button from a worksheet.
Fetch list of webhook/hook integration workflows under an app, used to trigger specific business flows.
Generate a new share ID and public URL for an initialized public form, immediately invalidating the old URL (irreversible).
Get pivot table summary data for worksheet records. Prioritize using this tool for querying statistics, summaries, and aggregations.
Get record details, including creator, owner, control information, and generate example values based on control data types.
Partially update the share card title, description, or icon for a specific worksheet sharing scenario (view, record, or public-form). Omitted fields keep existing values, empty string clears.
Create a worksheet within the application. Supports Relation fields, provided the target worksheet is already created and its targetId obtained. The creation order must follow dependency constraints: create the referenced master data worksheet first, then the business worksheet containing Relation fields. When inline configuring a Relation field, set bidirectional: true to implement bidirectional association.
Get a list of all custom action buttons and their configuration under a worksheet.
Edit an optionset.
Delete an entire workflow. Triggers associated cleanups (subscriptions, schedules, approval/subprocess references, etc.); the workflow can no longer be operated via get_workflow_structure / validate_process. To undo a single node only, use delete_process_node.
Delete a node in a workflow. To delete a node inside a block node (approval_block/sub_process), pass the block node's config.process.processId as workflow_id. Use get_workflow_structure to obtain node IDs first. Start/end nodes cannot be deleted.
Create a role. Information includes: role name, description, permission information.
Delete a custom page.
Sort charts under a worksheet. Pass the reordered chart ID array.
Sort first-level application sections. The order of section IDs in the array determines the display order in navigation. Only reorders first-level sections. Sections not included in the array will be appended to the end in their original relative order.
Batch delete multiple nodes in a workflow, executed in node_ids order, non-transactional (prior deletions are not rolled back on failure). To delete nodes inside a block node, pass the block node's config.process.processId as workflow_id. Use get_workflow_structure to obtain node IDs first. Start/end nodes cannot be deleted.
Run a pre-publish validation on an existing workflow without actually publishing it. Reports all unfilled fields, dangling references, incompatible enums, etc. Shares the validation chain with publish_process. The response contains an 'errors' list (each { nodeAlias, nodeId, path, code, message }). An empty list indicates it is ready to be published.
Update configuration properties of a chatbot. All properties optional (Note: modifying system prompt is currently not supported).
Get all types of workflows under an application, supporting filtering by triggerType and online published status.
Update basic configuration of a custom page (name, remark, description, display status). Does not affect the component list. Use update_custom_page for component updates.
List all charts under a worksheet with brief metadata (ID, name, description, chart type).
Replace advanced settings of a public form (verification, audience, availability schedule, frequency limit, draft, WeChat integration, tracking, etc.). Uses full-replacement semantics; recommended to call get_public_form_config first and send back complete modified settings.
Get the approval workflow execution list for a record by worksheet id and row id. Supports pagination and filtering by whether the workflow is complete.
Update (create or overwrite) a custom page with a full list of components. The page uses a 48-column grid layout. All existing components on the page will be replaced by the submitted list. Supported componentType values: 'chart' (statistical chart), 'section' (section header/divider), 'text' (rich text), 'html' (external iframe), 'view' (worksheet view), 'carousel' (carousel), 'button' (button group, action=1~4 only), 'tab' (tab container), 'container' (card container), 'filtersGroup' (filter group). Unsupported componentType values: 'image' (requires prior attachment upload), 'ai'. Layout rule: components sharing the same y coordinate must have the same height h, otherwise the shorter one leaves a blank gap below it. If the custom page has no existing config, a default page configuration is applied automatically (webNewCols=48). Nesting: 'tab' and 'container' are parent containers; their own UUID is written to the top-level componentId (caller-generated, globally unique within the request). Children of a container set the top-level parentSectionId to that container's componentId. Children of a tab set the top-level parentTabId to the target config.tabs[].tabId (tabId is also globally unique within the request). parentSectionId and parentTabId are mutually exclusive — at most one may be provided. Only one level of nesting is allowed; tab/container themselves cannot be attached to another container. Child component position.x/y/w/h is relative to the container's internal 48-column grid.
Batch update row records.
Remove a member from a role.
Close the specified workflow so it will no longer be triggered.
Search unstructured content in the knowledge base (record texts, attachments, discussion messages, etc.) to answer knowledge-based questions such as background reasons, decision-making basis, function descriptions, and capability boundaries. [Search & Parameter Requirements] 1. Moderate Denoising: When constructing the `query`, moderately remove meaningless interrogative words (e.g., "why", "is there", "how"), while retaining complete business concepts and scenario modifiers. 2. Noise Filtering (Critical): If querying official conclusions, requirements, or rules, it is highly recommended to restrict `filter.types` to ["record", "record_attachment"] to filter out fragmented discussion noise; only allow discussion types when explicitly looking for historical feedback or discussions. 3. Search Mode: `vector` is suitable for vague semantic intents, `keyword` is suitable for exact proper noun matching, and `hybrid` balances both. 4. Limitation: Knowledge bases with different embedding models cannot be combined in a single call.
Delete a chart.
Sort application items under an application section. The order of item IDs in the array determines the display order within the section. Only reorders items within a single section (first-level or second-level section). Items not included in the array will be appended to the end in their original relative order.
Create an optionset. Data includes: optionset name, optionset information (option value, sort order, color, score).
Get hook/PBC workflow details, including request and response parameters.
Get a list of optionsets in the application.
Update a business rule. Full overwrite (not partial update). Request body is a complete BusinessRule (same as create_business_rule). ruleType cannot be changed. To modify only some fields (e.g. conditions), first get the full rule via get_business_rule_detail, modify it, then submit the complete rule.
Get the approval workflow execution detail by worksheet id, row id, and approval id.
Retrieve the configuration and component tree of a custom page, including basic page info (name, remark, desc) and a list of components. Each component carries a globally unique componentId (UUID).
Reorder views under a worksheet.
Get a list of related records, including source worksheet information, row record information, detailed row record information, and creator information.
Get full configuration details for a single chart. Response fields match the create_chart interface, with an additional chartId primary key.
Delete a worksheet.
Get row record discussions.
Batch delete row records.
Partially update a view's properties. Besides worksheet_id and view_id (required path params), all other properties are identical to the view object in create_view. Only pass the properties you want to modify (PATCH semantics; omitted properties remain unchanged).
Get the full condition configuration of a worksheet quick filter by filter ID. Returns a semantic filter condition isomorphic with save_worksheet_filter.
Create a new row record.
Batch create new row records.
Retrieve full configuration details of a chatbot (name, remark, description, icon, sectionId, welcomeMessage, prompt, presetQuestions).
Delete a specific view under a worksheet.
Batch create views for a worksheet. Prioritize field alias for config, filter, etc. • Supported types: table | kanban | gallery | calendar | hierarchy | gantt | resource | detail | map
Update the name and icon of an application section (supports first-level and second-level sections). Underlying app items remain unchanged.
Get a shareable link for a record.
Delete a role.
Get an overview of all roles in the application, including the members assigned to each role.
Remove a specified member from all roles in the application.
Partially update basic info, theme, appearance, and field layout of a public form. Only fields explicitly passed in the request are modified; unmentioned fields keep their values.
Create or update a worksheet quick filter. Creates new filter if filterId is omitted; updates and replaces existing filter if filterId is provided. Root node must be group.
Delete a specific chatbot.
Retrieve the list of worksheets under a specific application (includes hidden worksheets, returning displayType: 1=show all, 2=hide all, 3=mobile only, 4=PC only). The response format is controlled via the body parameter responseFormat: 'json' returns JSON (default), 'md' returns Markdown text. Use worksheets to limit the response to specific worksheet IDs.
Delete an application section (supports first-level and second-level sections). App items (worksheets, custom pages, etc.) under the section are not deleted and will be moved to the target first-level section or parent section.
获取当前时间
Get the detailed operation permissions of a specific role in the system.
Create a chart (statistical visualization) under a worksheet. Supports column, bar, line, pie, radar, funnel, dual-axis, pivot table, region map, number, symmetric bar, scatter, word cloud, gauge, progress, ranking, and world map chart types. After creation, returns the chartId. When the user asks to create a chart without specifying a chartType, default to 'columnChart'. When no time range is specified, default to 'currentMonth' (current month). When no timeFieldId is specified, default to 'ctime' (creation time). Chart generation constraints: choose dimensions from category/time/region fields; avoid pure numeric fields as dimensions. Metrics must be numeric fields or row count ('rowid'); default aggregation should be SUM when the user does not specify one, except row count should use COUNT. Use lineChart for trend analysis and prefer a time dimension with granularity (3=month for normal trends, 1=day or 2=week for short cycles). Use regionMap/worldMap only when a real region/location field exists; do not use ordinary text fields as map dimensions. If available fields do not satisfy the requested chart, choose a more suitable chart type or ask a follow-up instead of creating an invalid chart.
Fetch the structural snapshot of an existing workflow. approval_block / sub_process do not return internal nodes inline, but return the internal workflow ID in config.process.processId; to view/validate/publish the internal flow of a block, use that processId to call this tool or validate_process / publish_process.
Update a row record.
Batch create custom action buttons for a worksheet. Call before create_view, and reference returned actionId in view config.
Reset and synchronize public form field layout with current worksheet fields, removing deleted fields. Overwrites custom order, width, and visibility.
Get row record logs.
Update basic workflow information (name, description, etc.). Omitted fields remain unchanged.
Get complete worksheet settings including basic info, form display, submission behavior, and sharing permissions. Used to read form and advanced configurations beyond worksheet field structures.
Create an AI assistant (chatbot) within the application.
Get worksheet configuration and its control information.
Delete an optionset.
Get the full configuration of a public form for a worksheet, including basic info, theme, field layout, advanced submission settings, enabled state, and public sharing URL.
Get a list of worksheet records.
Discard workflow draft. Discard all unpublished changes in the workflow and restore to the online running version.
Batch create application item groups for grouped display of worksheets and custom pages under an application.
Add member information to a role. Data includes: add users, jobs, departments.
Create a business rule for a worksheet. Supports 4 rule types: interaction, validation, lock, style. ### Interaction Rule Composed of actions[]. A rule can contain multiple actions. Regular actions use fields[]; setFieldValue actions use assignments[]. ### Style Rule Sets field title and value styles (color, font size, bold, italic, underline, strikethrough) when conditions are met. ### Validation Rule Shows error prompts before submission when conditions are met. Can be configured to block or allow submission. ### Lock Rule Locks the current record when conditions are met. Only one lock rule per worksheet. Condition fields only support single-select, multi-select, and checkbox fields.
Overview
What is Hap Mcp?
Hap Mcp is the Model Context Protocol server for the HAP (Super Application Platform) by Mingdao. It enables seamless integration of AI with HAP, allowing every zero‑code application built on the platform to quickly become a tool for AI agents.
How to use Hap Mcp?
—
Key features of Hap Mcp
- Implements the Model Context Protocol for HAP.
- Enables seamless AI integration with HAP applications.
- Converts zero‑code enterprise apps into AI agent tools.
Use cases of Hap Mcp
- Using any HAP‑built application as a tool for AI agents.
- Integrating AI assistants with enterprise applications for automated workflows.
FAQ from Hap Mcp
—
Basic information
More Other MCP servers
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.

Figs, Relationship Expert
Figs O'Sullivan, LMFTCouples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
Nginx UI
0xJackyYet another WebUI for Nginx
ghidraMCP
LaurieWiredMCP Server for Ghidra
Comments