- Step1: Set up and configure your Copilot Studio agent, including security and environment variables.
- Step2: Update `agent_definitions` in the main.py with your agent’s details.
- Step3: Install dependencies using Python or Docker as per your environment.
- Step4: Run the server using `mcp run` command, configuring environment variables for endpoint and secret.
- Step5: Connect your MCP-compatible client to the server URL and start sending queries.
- Step6: Use conversation IDs and watermarks to maintain context across sessions.