From 4abbc67adedd7b376a7a31a8067143e9a24e9b3b Mon Sep 17 00:00:00 2001 From: katarzyna_koltun Date: Mon, 4 May 2026 14:17:29 +0200 Subject: [PATCH 1/3] snowflake mcp --- .../modules/snowflake/snowflake-mcp.md | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 content/en/docs/marketplace/platform-supported-content/modules/snowflake/snowflake-mcp.md diff --git a/content/en/docs/marketplace/platform-supported-content/modules/snowflake/snowflake-mcp.md b/content/en/docs/marketplace/platform-supported-content/modules/snowflake/snowflake-mcp.md new file mode 100644 index 00000000000..09ebc3f626d --- /dev/null +++ b/content/en/docs/marketplace/platform-supported-content/modules/snowflake/snowflake-mcp.md @@ -0,0 +1,55 @@ +--- +title: "Connect a Mendix AI Agent to a Snowflake-Managed MCP Server" +linktitle: "AI Agents for a Snowflake MCP Server" +url: /appstore/modules/snowflake/connect-ai-agent-to-snowflake-mcp/ +description: "Describes the steps required to use a Snowflake-managed MCP server with a Mendix AI ageint." +weight: 80 +--- + +## Introduction + +[Snowflake-managed MCP servers](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-mcp) let AI agents securely retrieve data from Snowflake accounts without needing to deploy separate infrastructure. Mendix users can configure the [MCP Client Module](/appstore/modules/genai/mcp-modules/mcp-client/) to enable the connection from a Mendix AI agent to a Snowflake MCP server. + +### Typical Use Cases + +[What do we want to achieve?] + +### Prerequisites {#prerequisites} + +[Any specific versions of Studio Pro? Other prereqs?] + +To establish a connection between a Mendix AI Agent and a Snowflake-managed MCP server, you must also install and configure the following modules and starter apps and their prerequisites: + +* [Agent Builder Starter App](https://marketplace.mendix.com/link/component/240369) +* + +## Configuring the Mendix Email Connector for Amazon SES + +To configure your SES account in the Email Connector in Studio Pro, follow these steps: + +1. Get the following details from Amazon SES: + * SMTP hostname + * SMTP username + * SMTP password + + For more information, see [Obtaining Amazon SES SMTP credentials](https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html). + + {{% alert color="info" %}}Only email IDs and identities configured under Verified identities, and that are verified for Amazon SES accounts, can be used as sender and receiver.{{% /alert %}} + +2. Download the Email Connector module and import it into your Studio Pro app. For more information, see [Email Connector](/appstore/modules/email-connector/). + + {{% alert color="warning" %}}Ensure that you follow the prerequisites listed in the [Email Connector documentation](/appstore/modules/email-connector/). Missing a step might lead to errors.{{% /alert %}} + +3. Set up the Email Connector. For more information, see [Setting Up the Email Connector in Studio Pro](/appstore/modules/email-connector/#setup). +4. On the **EmailConnector_Overview** page, click **Add email account**. +5. Enter the following details: + * **Email** - SMTP username for Amazon SES + * **Password** - SMTP password for Amazon SES +6. Click **Next**. +7. Click **OK** to manually configure your email account. +8. Select the **Send emails** checkbox, and then enter the following details: + * **Protocol** - SMTP + * **Server host** - enter SMTP hostname for Amazon SES + * **Server port** - any configured STARTTLS port for Amazon SES (for example, 25, 587, 2587, and so on) + * Select Use TLS / Use SSL accordingly +9. Click **Finish**. From 1de7a22a3293410e622d6bcacba5111d10c7f0dc Mon Sep 17 00:00:00 2001 From: katarzyna_koltun Date: Mon, 4 May 2026 18:44:01 +0200 Subject: [PATCH 2/3] updates --- .../modules/snowflake/snowflake-mcp.md | 62 +++++++++++-------- 1 file changed, 37 insertions(+), 25 deletions(-) diff --git a/content/en/docs/marketplace/platform-supported-content/modules/snowflake/snowflake-mcp.md b/content/en/docs/marketplace/platform-supported-content/modules/snowflake/snowflake-mcp.md index 09ebc3f626d..19abb4b098a 100644 --- a/content/en/docs/marketplace/platform-supported-content/modules/snowflake/snowflake-mcp.md +++ b/content/en/docs/marketplace/platform-supported-content/modules/snowflake/snowflake-mcp.md @@ -8,6 +8,8 @@ weight: 80 ## Introduction +The Model Context Protocol (MCP) is an open protocol that standardizes how Large Language Models (LLMs) can autonomously connect to apps. Many AI platforms and third-party systems have already adopted MCP for easier integration and empowerment of LLMs. Mendix provides an MCP Server module to facilitate an MCP server from a Mendix app, as well as an MCP Client module to facilitate connections from a Mendix app to an MCP server. For more information, see [Model Context Protocol (MCP)](/appstore/modules/genai/mcp/). + [Snowflake-managed MCP servers](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-mcp) let AI agents securely retrieve data from Snowflake accounts without needing to deploy separate infrastructure. Mendix users can configure the [MCP Client Module](/appstore/modules/genai/mcp-modules/mcp-client/) to enable the connection from a Mendix AI agent to a Snowflake MCP server. ### Typical Use Cases @@ -18,38 +20,48 @@ weight: 80 [Any specific versions of Studio Pro? Other prereqs?] -To establish a connection between a Mendix AI Agent and a Snowflake-managed MCP server, you must also install and configure the following modules and starter apps and their prerequisites: +To establish a connection between a Mendix AI Agent and a Snowflake-managed MCP server, you must also install the following modules and their prerequisites: * [Agent Builder Starter App](https://marketplace.mendix.com/link/component/240369) -* +* [MCP Client](https://marketplace.mendix.com/link/component/244893) +* [MCP Server](https://marketplace.mendix.com/link/component/240380) + +## Preparing a Snowflake-Managed MCP Server + +To configure a Snowflake-managed MCP server, follow these steps: + +1. In Snowflake, set up a database and schema which will be used by the server. +2. Create the following stored procedures which the MCP server will expose as tools: + + * `GET_SCHEMA_METADATA` + * `RETRIEVE_RECORDS` + * `INSERT_RECORD` + +3. Create the MCP server. For more information, see [Create an MCP Server object](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-mcp#create-an-mcp-server-object) in Snowflake documentation. +4. Create the authentication and access configuration, so it can invoked by Mendix. -## Configuring the Mendix Email Connector for Amazon SES + 1. Retrieve the IP addresses. + 2. Create a `NETWORK RULE` using the IP addresses that you retrieved. + 3. Create a `NETWORK POLICY`. + 4. Set the user to use this policy. + 5. Create a Personal Access Token (PAT) for the user. -To configure your SES account in the Email Connector in Studio Pro, follow these steps: +## Connecting a Mendix Agent to the MCP Server -1. Get the following details from Amazon SES: - * SMTP hostname - * SMTP username - * SMTP password +After preparing the MCP server, you can now create a Mendix AI agent and connect it to the server by performing the following steps: - For more information, see [Obtaining Amazon SES SMTP credentials](https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html). +1. In Studio Pro, create a new app using the [Agent Builder Starter App](https://marketplace.mendix.com/link/component/240369). +2. In the [MCP Client](/appstore/modules/genai/mcp-modules/mcp-client/), add the credentials for your Large Language Model. +3. Create a microflow to retrieve the Snowflake user PAT that you created in the previous section. +4. Add the Snowflake MCP server. +5. Create an AI agent and configure the following properties: - {{% alert color="info" %}}Only email IDs and identities configured under Verified identities, and that are verified for Amazon SES accounts, can be used as sender and receiver.{{% /alert %}} + * LLM + * Prompt + * Snowflake-managed MCP server -2. Download the Email Connector module and import it into your Studio Pro app. For more information, see [Email Connector](/appstore/modules/email-connector/). +6. Test your agent and verify that it can connect to the Snowflake-managed MCP server. - {{% alert color="warning" %}}Ensure that you follow the prerequisites listed in the [Email Connector documentation](/appstore/modules/email-connector/). Missing a step might lead to errors.{{% /alert %}} +## Example -3. Set up the Email Connector. For more information, see [Setting Up the Email Connector in Studio Pro](/appstore/modules/email-connector/#setup). -4. On the **EmailConnector_Overview** page, click **Add email account**. -5. Enter the following details: - * **Email** - SMTP username for Amazon SES - * **Password** - SMTP password for Amazon SES -6. Click **Next**. -7. Click **OK** to manually configure your email account. -8. Select the **Send emails** checkbox, and then enter the following details: - * **Protocol** - SMTP - * **Server host** - enter SMTP hostname for Amazon SES - * **Server port** - any configured STARTTLS port for Amazon SES (for example, 25, 587, 2587, and so on) - * Select Use TLS / Use SSL accordingly -9. Click **Finish**. +[video link when available] From 52170a2e4a1e8c2816201614dd617439f75f568e Mon Sep 17 00:00:00 2001 From: katarzyna_koltun Date: Mon, 4 May 2026 18:44:19 +0200 Subject: [PATCH 3/3] updates --- .../docs/marketplace/genai/concepts/model-context-protocol.md | 1 + .../modules/snowflake/snowflake-mcp.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/content/en/docs/marketplace/genai/concepts/model-context-protocol.md b/content/en/docs/marketplace/genai/concepts/model-context-protocol.md index 68e15d24d41..47b81aa17ac 100644 --- a/content/en/docs/marketplace/genai/concepts/model-context-protocol.md +++ b/content/en/docs/marketplace/genai/concepts/model-context-protocol.md @@ -60,3 +60,4 @@ Furthermore, an MCP Client example teaches you how to establish a connection to * The official [MCP docs](https://modelcontextprotocol.io/introduction) * The [MCP Java SDK GitHub Repository](https://github.com/modelcontextprotocol/java-sdk) * A blog post on [How to use MCP to bring Mendix Business Logic into Claude for Desktop](https://www.mendix.com/blog/how-to-use-mcp-to-bring-mendix-business-logic-into-claude-for-desktop/) +* [Connect a Mendix AI Agent to a Snowflake-Managed MCP Server](/appstore/modules/snowflake/) \ No newline at end of file diff --git a/content/en/docs/marketplace/platform-supported-content/modules/snowflake/snowflake-mcp.md b/content/en/docs/marketplace/platform-supported-content/modules/snowflake/snowflake-mcp.md index 19abb4b098a..5762375c161 100644 --- a/content/en/docs/marketplace/platform-supported-content/modules/snowflake/snowflake-mcp.md +++ b/content/en/docs/marketplace/platform-supported-content/modules/snowflake/snowflake-mcp.md @@ -1,6 +1,6 @@ --- title: "Connect a Mendix AI Agent to a Snowflake-Managed MCP Server" -linktitle: "AI Agents for a Snowflake MCP Server" +linktitle: "Connect Mendix to a Snowflake MCP Server" url: /appstore/modules/snowflake/connect-ai-agent-to-snowflake-mcp/ description: "Describes the steps required to use a Snowflake-managed MCP server with a Mendix AI ageint." weight: 80 @@ -8,7 +8,7 @@ weight: 80 ## Introduction -The Model Context Protocol (MCP) is an open protocol that standardizes how Large Language Models (LLMs) can autonomously connect to apps. Many AI platforms and third-party systems have already adopted MCP for easier integration and empowerment of LLMs. Mendix provides an MCP Server module to facilitate an MCP server from a Mendix app, as well as an MCP Client module to facilitate connections from a Mendix app to an MCP server. For more information, see [Model Context Protocol (MCP)](/appstore/modules/genai/mcp/). +The Model Context Protocol (MCP) is an open protocol that standardizes how Large Language Models (LLMs) can autonomously connect to apps. Many AI platforms and third-party systems have already adopted MCP for easier integration and empowerment of LLMs. Mendix provides an MCP Server module to facilitate an MCP server from a Mendix app, as well as an MCP Client module. For more information, see [Model Context Protocol (MCP)](/appstore/modules/genai/mcp/). [Snowflake-managed MCP servers](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-mcp) let AI agents securely retrieve data from Snowflake accounts without needing to deploy separate infrastructure. Mendix users can configure the [MCP Client Module](/appstore/modules/genai/mcp-modules/mcp-client/) to enable the connection from a Mendix AI agent to a Snowflake MCP server.