> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.lumen5.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Connect Lumen5 to a Microsoft Copilot Studio agent

## Connect Lumen5 to a Microsoft Copilot Studio agent

This guide sets up an agent in Microsoft Copilot Studio that can create Lumen5 videos, using the Lumen5 MCP server.

## 1. Add a tool to your agent

In Copilot Studio, create a new agent (or open an existing one). In the panel on the right, select **+** next to **Tools**.

![](https://storage.crisp.chat/users/helpdesk/website/-/9/2/6/e/926ed4db19dfb800/01-agent-tools_csk69o.png)
## 2. Choose Model Context Protocol

In **Add a tool**, select **+ Add**, then **Model Context Protocol (MCP)**.

![](https://storage.crisp.chat/users/helpdesk/website/-/9/2/6/e/926ed4db19dfb800/02-add-mcp-tool_1v2wn1c.png)
## 3. Enter the Lumen5 server details

Fill in the form:
| Field | Value |
| ---- | ---- |
| Server name | Lumen5 |
| Server description | Create videos |
| Server URL | `https://lumen5.com/mcp` |
| Authentication | OAuth 2.0 |
| Configuration type | Dynamic (with discovery) |

Then select **Add**. You don't need to enter any OAuth settings: Copilot Studio finds them from the server URL.

![](https://storage.crisp.chat/users/helpdesk/website/-/9/2/6/e/926ed4db19dfb800/03-add-mcp-server_1u61ogp.png)

## 4. Create a connection

In **Select a connection**, open the **Connection** menu and choose **Create new connection**.

![](https://storage.crisp.chat/users/helpdesk/website/-/9/2/6/e/926ed4db19dfb800/04-create-new-connection_11z1cww.png)
You can leave the display name empty. Select Create.

![](https://storage.crisp.chat/users/helpdesk/website/-/9/2/6/e/926ed4db19dfb800/05-create-connection_782fm0.png)
## 5. Sign in and authorize Lumen5

A Lumen5 window opens. Sign in if asked, then select **Authorize**. Copilot Studio appears as "Credential Manager", and approving returns you to `global.consent.azure-apim.net`.
The screen should list **Create videos in your workspaces**. That permission lets the agent make videos for you.

![](https://storage.crisp.chat/users/helpdesk/website/-/9/2/6/e/926ed4db19dfb800/06-authorize_10o8mfb.png)
Back in Copilot Studio, select **Add** to add Lumen5 to the agent.

## 6. Publish

In the top right corner of Copilot Studio, click “Publish”. Choose how users should interact with the agent by choosing a channel. For example, select **+** and add **Teams + Microsoft 365**.

![](https://storage.crisp.chat/users/helpdesk/website/-/9/2/6/e/926ed4db19dfb800/07-add-channel_1w4u95j.png)

## 7. Save and try it

Save the agent, then ask it to make a video in the test chat, for example: "Make a short video that says hello world." A Lumen5 card shows the video's progress and plays the video when it's ready.

## Troubleshooting
* **The card says "Couldn't check on your video":** save the agent first. A draft agent that has never been saved can't let the card check on the video, though the agent can still check if you ask it to.
* **The agent can't create videos (permission error):** delete the Lumen5 connection and create it again, and check the authorize screen lists "Create videos in your workspaces".

## Need help?

If you have any questions about setting up or using the Lumen5 MCP, contact our support team through the Live Chat window or by emailing [__support@lumen5.com__](mailto:support@lumen5.com).