Connect Microsoft Copilot to the EdgeComet MCP server
You connect Microsoft Copilot to EdgeComet by adding https://cloud.edgecomet.com/mcp as an MCP tool in a Copilot Studio agent, or as an MCP action in a Microsoft 365 Copilot declarative agent. Both use OAuth with dynamic client registration: Microsoft registers itself with EdgeComet, and each user signs in to EdgeComet once.
The steps follow Microsoft's documentation. For the shared steps and revoking access, see Connect an AI client to the EdgeComet MCP server. For GitHub Copilot in your editor, see Connect GitHub Copilot to EdgeComet.
Before you start
- An EdgeComet account for each person who uses the agent.
- Copilot Studio: permission to edit an agent that uses generative orchestration. Power Platform data policies for connectors also apply to MCP servers.
- Microsoft 365 Copilot: Visual Studio Code with Microsoft 365 Agents Toolkit 6.12.0 or later, and a Microsoft 365 account with Custom App Upload Enabled and Copilot Access Enabled.
Add EdgeComet to a Copilot Studio agent
- Open your agent in Copilot Studio and go to its Tools page.
- Select Add a tool, then New tool, then Model Context Protocol.
- Fill in the fields:
- Server name:
EdgeComet - Server description: "SEO data for the user's websites: bot traffic, Search Console, crawl, page changes and Edge SEO drafts." The agent reads the description to decide when to call EdgeComet.
- Server URL:
https://cloud.edgecomet.com/mcp
- Server name:
- Under authentication, choose OAuth 2.0, then the type Dynamic discovery.
- Select Create, then Next. The Add tool dialog opens.
- Select Create a new connection and sign in to EdgeComet when the window opens. Check the account under Signed in as and press Authorize.
- Select Add to agent.
Test the agent with "List my EdgeComet websites." Each person who uses the agent connects with their own EdgeComet account.
Add EdgeComet to a Microsoft 365 Copilot agent
- In Visual Studio Code, select the Microsoft 365 Agents Toolkit icon in the Activity Bar.
- Select Create a New Agent/App, then Declarative Agent.
- Select Add an Action, then Start with an MCP Server.
- Enter
https://cloud.edgecomet.com/mcp. - Choose OAuth (with dynamic registration) as the authentication type. Agents Toolkit registers the client with EdgeComet and writes the setup to the plugin manifest.
- Choose a folder for the project and name the agent, such as
EdgeComet. - In the Accounts pane, sign in to Microsoft 365. In the Lifecycle pane, select Provision and confirm.
To use the agent:
- Open
m365.cloud.microsoft/chatand select the agent under Agents. A development build hasdevafter its name. - Ask, for example, "List my EdgeComet websites."
- When the agent asks, select Sign in to {agent name}, such as Sign in to EdgeComet, and approve the EdgeComet sign-in screen in the window that opens.
Approve EdgeComet tools in Microsoft Copilot
Microsoft 365 Copilot asks once, the first time the agent uses EdgeComet. After that, it runs tools with MCP's read-only hint without asking, and asks before each call to the other tools. Read-only tools lists the EdgeComet tools marked read-only.
Edge SEO drafts from a Copilot agent never go live on their own. A person reviews and deploys them in the EdgeComet dashboard.
Remove EdgeComet from a Copilot agent
- Copilot Studio: remove the EdgeComet tool from the agent on its Tools page.
- Microsoft 365 Copilot: remove the EdgeComet action from the declarative agent project and provision the agent again.
Then revoke the connection in EdgeComet. See Manage and revoke connections.