Before You Begin
Make sure you have:
Access to a Snowflake account with permission to create API integrations.
Access to create or edit Snowflake Agents.
Access to your Knak account.
The Knak MCP server URL:
https://enterprise.knak.io/mcp/public
This feature is currently in Alpha Testing. Contact grace.lee@knak.com to request access.
Do not proceed with MCP setup until access has been granted. The MCP connection will fail if this step is not completed first.
Create the Knak MCP Server
Create the API integration first. Then create the external MCP server.
Note: You cannot create a custom MCP connector entirely from the Snowflake user interface (UI). You must first create the connector by using Snowflake Structured Query Language (SQL).
Open a Snowflake SQL worksheet.
Replace
YOUR_SCHEMAwith your schema name and replaceYOUR_ROLEwith a role.Run the following SQL:
USE SCHEMA YOUR_SCHEMA;
SET KNAK_MCP_URL = 'https://enterprise.knak.io/mcp/public';
CREATE API INTEGRATION KNAK_MCP_API_INTEGRATION
API_PROVIDER = external_mcp
API_ALLOWED_PREFIXES = ($KNAK_MCP_URL)
API_USER_AUTHENTICATION = (
TYPE = OAUTH_DYNAMIC_CLIENT
OAUTH_RESOURCE_URL=$KNAK_MCP_URL
)
ENABLED = TRUE;
GRANT USAGE ON INTEGRATION KNAK_MCP_API_INTEGRATION TO ROLE YOUR_ROLE;
CREATE EXTERNAL MCP SERVER KNAK_MCP_SERVER
WITH DISPLAY_NAME = 'Knak MCP Server'
URL = $KNAK_MCP_URL
API_INTEGRATION = KNAK_MCP_API_INTEGRATION;
GRANT USAGE ON EXTERNAL MCP SERVER KNAK_MCP_SERVER TO ROLE YOUR_ROLE;
Verify the Result
After the SQL finishes running, Snowflake displays a confirmation message similar to:
MCP server KNAK_MCP_SERVER successfully created.
This message confirms that the Knak MCP Server was created successfully and is ready to add to a Snowflake Agent.
Add the MCP Server to a Snowflake Agent
After you create the MCP server, add it to your Snowflake Agent.
Open the Snowflake application.
Select AI & ML.
Select Agents.
Create a new agent or open an existing agent.
Select the MCP Connectors tab.
Find Knak MCP Server.
Click Add to Agent.
Authorize the Connector in Snowflake CoWork
After adding the connector, authorize it through Knak.
In Snowflake, select AI & ML.
Select Snowflake CoWork.
Sign in if prompted.
In the prompt input field, click the + button.
Select Connectors.
Click Connect beside Knak MCP Server.
Complete the authorization flow in Knak.
Return to Snowflake CoWork and verify your connection.
After authorization completes, your Snowflake Agent can use the Knak MCP server.
Verify the Result
After the SQL completes, Snowflake displays a success message for each statement.
If all statements run successfully, the Knak MCP Server is ready to use.
Need more help? Contact support via live chat using the chat bubble in the bottom right corner or email support@knak.com.







