Skip to main content

Integrate Microsoft Copilot to the Knak MCP Server

Connect Microsoft Copilot Studio to the Knak Model Context Protocol (MCP) Server. Once connected, you can use a Copilot agent to access Knak and generate email content.

Before You Start

Make sure you have access to:

  • Microsoft Copilot Studio

  • Your Knak account

  • A Knak instance that you can authorize

Microsoft Copilot Studio supports several ChatGPT and Claude models. You can select the model that works best for your organization.

Note: Microsoft Copilot does not currently support Knak MCP widgets. This means visual previews do not appear directly in the Copilot chat. You can still open generated campaigns in Knak using links provided in the response.

This feature is currently in Alpha Testing. Contact grace.lee@knak.com to request access.


Demo Video


Create an Agent in Microsoft Copilot Studio

  1. Click Agents in the left navigation.

  2. Click New agent.

  3. Create a blank agent.

    Agents page with the option to create a new agent.
  4. Enter a name for your agent.

  5. Click Create.

    Name your blank agent and press create.

Microsoft Copilot Studio will begin setting up your agent. This may take a few moments.


Select Your Model

Once your agent is created, open the Build tab.

  1. Find the Model section.

  2. Select the model you want to use.

    Copilot Agent's Build tab with the selected model.

Microsoft Copilot Studio provides several ChatGPT and Claude models. The available models may depend on your Microsoft Copilot Studio configuration.


Add the Knak MCP Server

Model Context Protocol (MCP) lets your Copilot agent connect to Knak tools and data.

From your agent's Build tab:

  1. Find Tools.

  2. Click + Add.

    +Add tool icon beside Tools section
  3. Select Add New Model Context Protocol (MCP).

  4. Add a new MCP server.


Configure the Knak MCP Server

Enter the following information. Click Create when complete.

The MCP server may take a few moments to finish setting up.

Setting

Value

Server name

Knak MCP

Server description

Enter a short description, such as Knak MCP server for email generation

Server URL

https://enterprise.knak.io/mcp/public

Authentication

OAuth 2.0

Configuration type

Dynamic (with discovery)

Completed MCP server configuration before clicking Create.

Note: OAuth 2.0 securely authorizes Microsoft Copilot Studio to connect to your Knak account. Dynamic (with discovery) uses Dynamic Client Registration (DCR) to configure the required connection information automatically.


Connect Microsoft Copilot Studio to Knak

After adding the Knak MCP server, connect it to your Knak account.

  1. Find Connection in the MCP configuration.

  2. Click the dropdown beside Connection.

  3. Select Create new connection.

  4. Click Create.

    Create button highlighted in the "Connect to Knak MCP Agent" screen.
  5. Complete the Knak authorization in the popup window.

  6. Click Allow in Knak.

    Authorization request to Knak from Copilot.

Note: Your browser may block the authorization window. Allow popups for Microsoft Copilot Studio if the Knak authorization page does not appear.

After you authorize the connection, you will return to Microsoft Copilot Studio.

  1. Look for a green checkmark beside Connection. This confirms that Knak MCP is connected.

  2. Click Add to add the tool to your agent.

    Add tool popup with the Add button highlighted after creating your Knak MCP Agent.

Confirm Knak MCP Is Added

  1. Return to your agent's Build tab.

  2. Look under Tools for Knak MCP.

  3. Your agent is now connected to Knak.

    Knak MCP listed under the agent's Tools section.

Test Your Knak MCP Connection

Open the Preview tab to test your agent.

Try a simple prompt:

What brands are available in Knak?

Your agent will use the Knak MCP server to retrieve the available brands.

You can also test email generation with a prompt such as:

Generate an email in Knak.

Add more information to your prompt to control the output. For example, include the brand, campaign name, email topic, or image requirements.


Open Generated Content in Knak

Microsoft Copilot Studio does not currently display Knak MCP preview widgets.

When a response includes an option such as Open Campaign in Knak, click the link to view the generated email directly in Knak.

Open Campaign in Knak link at the end of a prompt.

Publish Your Agent

Once you finish testing your agent, click Publish in the top-right corner.

Microsoft Copilot Studio provides several publishing options. Available options depend on your Microsoft configuration.

For example, you may be able to publish your agent for use with Microsoft Copilot or Microsoft Teams in your organization.

Refer to Microsoft's current Copilot Studio documentation for details about available publishing channels and external distribution.


Need more help? Contact support via live chat using the chat bubble in the bottom right corner or email support@knak.com.

Did this answer your question?