M

Microsoft Copilot Studio Direct Line

Integrates with Microsoft Copilot Studio agents through Direct Line 3.0 API to enable conversational...

99 views
0 installs
Updated Nov 21, 2025
Not audited
Integrates with Microsoft Copilot Studio agents through Direct Line 3.0 API to enable conversational interactions, message handling, chat history retrieval, and conversation lifecycle management for custom bot integration scenarios.
  1. Log in to the Microsoft Copilot Studio Admin Portal
    Go to Microsoft Copilot Studio and log in with your Microsoft account.

  2. Open Your Copilot Studio Agent
    From the dashboard, select the Copilot Studio Agent you want to connect.

  3. Go to Settings
    In the left navigation, select "Settings" for your Agent.

  4. Enable Direct Line Channel
    Find and click on the “Channels” section.
    Locate the “Direct Line” channel and click to add/enable it.

  5. Generate the Direct Line Secret Key
    After enabling, a Direct Line configuration will appear.
    Locate the “Secret keys” section (often shown under “Direct Line Secrets” or similar).
    Click “Show” (eye icon) next to the key to reveal it. Copy this key.
    If you have not generated one yet, follow the prompt to generate a new secret key.

  6. Add the Direct Line Secret Key in FastMCP
    Click the “Install Now” button or set up your connection.
    In the FastMCP connection interface, when prompted, paste the Direct Line secret key you copied into the field for DIRECT_LINE_SECRET.

  7. Finish Setup
    Proceed with the installation or save your configuration as required.
    Your Copilot Studio Agent is now connected!

Note: Never share your Direct Line secret. Treat it as a sensitive credential.

You’re ready to use your Copilot Studio Agent Direct Line MCP Server!

Quick Start

View on GitHub

More for Communication

View All →

More for Developer Tools

View All →

Report Issue

Thank you! Your issue report has been submitted successfully.