Apps
MCP Connector
5 min
the mcp connector in engini allows ai tools to trigger workflows in engini it enables communication using the model context protocol (mcp), allowing engini to receive incoming requests, process data, and return structured responses all within automated workflows to learn how to connect engini to mcp connector, click https //app archbee com/docs/ixqqblwfxopjg0nave78y/tu2a5bd vzxco56xbonyh mcp tool trigger the mcp tool trigger is used to start a workflow when an ai tool, defined in the mcp server, sends a request to engini using mcp name – a unique identifier for your trigger use only ascii characters, without spaces, and up to 64 characters in total description – a short explanation of what this workflow does this helps understand the purpose of the trigger load json/xml sample to generate structure – click to upload a sample json or xml response from the mcp tool exapmle, this sample json includes simple fields (id, status) and one array field (items) the items array contains objects with name and quantity, demonstrating a nested structure for schema generation the next step allows you to define the expected output structure of the tool by providing a sample json or xml payload the system will analyze the sample and automatically generate the response schema json/xml payload paste a representative json or xml response here the system uses this payload to detect field names, data types, and nested structures in order to build the response body schema format field description if enabled, the system will automatically generate descriptions for each detected field if disabled, only the structure (field names and data types) will be generated map dictionary enable this option to map the detected fields to an existing dictionary or predefined internal schema if not required, this option can remain unchecked save click save to generate and apply the response body structure based on the provided sample payload response body structure – displays the generated output schema based on the json/xml sample provided in section 3 the detected fields and data types will appear here only after a valid payload is added in section 3 this structure defines the data returned by the trigger and is available for mapping within the workflow actions mcp tool response the mcp tool response action is used to send a structured reply back to the ai tool that triggered the workflow response – enter the content you want to send back to the mcp tool this field supports all data types, such as plain text, json, xml, or other structured formats the response can include dynamic values taken from previous steps in your workflow mcp workflow this step allows you to configure the mcp workflow action here you define which workflow should be executed and what input data will be sent to it workflow select the specific mcp workflow you want to trigger the selected workflow determines which logic will run and which input fields will be available for configuration add field by clicking the “add field” button, you can add and define the specific fields for the new user you can add one field or multiple fields to modify, up to the number of available fields in the user object in this case, there is a single input field that accepts a json payload the json should contain all required parameters for the workflow execution note only workflows that were explicitly configured and enabled as mcp workflows will be available for selection