mcs-deploy

Automate Microsoft Copilot Studio agent deployment between environments using PAC CLI.

10|3|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/microsoft/MCS-Agent-Builder --skill mcs-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcs-deploy
Source: https://github.com/microsoft/MCS-Agent-Builder/tree/main/.claude/skills/mcs-deploy
Command: npx skills add https://github.com/microsoft/MCS-Agent-Builder --skill mcs-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of moving Microsoft Copilot Studio agents from development to production environments, ensuring a smooth and reliable deployment lifecycle.

Core Features & Use Cases

  • Cross-Environment Deployment: Supports both agent-level replication and solution-level export/import for ALM compliance.
  • Pre-Deploy Validation: Ensures the agent is published and meets quality gates before deployment.
  • Connection Mapping: Identifies and reports on manual connection steps required in the target environment.
  • Post-Deploy Smoke Testing: Verifies basic agent functionality in the production environment.
  • Use Case: After building and testing a new Copilot Studio agent in a dev environment, use this Skill to deploy it to your production tenant, including all necessary configurations and validation checks.

Quick Start

Use the mcs-deploy skill to deploy the agent for project 'ProjectName' and agent 'agentId' to the production environment.

Frequently Asked Questions about mcs-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Copilot Studio agent to production?

To deploy a Copilot Studio agent to production, you can automate the process using PAC CLI for solution-level export and import or agent-level replication, ensuring ALM compliance across development and target environments.

What is solution-level ALM deployment for Copilot Studio agents?

Solution-level ALM deployment for Copilot Studio agents is the process of exporting solutions from a development environment and importing them to production using PAC CLI, ensuring application lifecycle management compliance and consistent configurations.

Can I validate Copilot Studio agents before deploying to production?

Yes, you can validate Copilot Studio agents before deploying to production by running pre-deploy validation checks to ensure the agent is published and meets required quality gates prior to environment replication.

Does Copilot Studio deployment support post-deploy smoke testing?

Yes, Copilot Studio deployment supports post-deploy smoke testing to verify basic agent functionality in the production environment after the solution import or agent replication is complete.

How do connection mappings work when moving agents between environments?

Connection mappings identify and report the manual connection steps required in the target environment when moving agents between development and production, ensuring dependencies are correctly configured post-deployment.

When should I use agent-level replication instead of solution-level deployment?

Use agent-level replication for direct environment copying when ALM compliance is not required, and use solution-level deployment via PAC CLI when you need structured export and import for application lifecycle management.