Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

Copilot Studio MCP

NPM · COPILOT-STUDIO-MCP · SCANNED SEP 20

Build, test, ship and maintain Microsoft Copilot Studio agents from the editor

Available components

+4 this week 72 Trust /100
Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security98
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • No install/post-install scripts declared.Pass
  • 60 of 157 dependencies flagged as unhealthy (1 deprecated). View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability76
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 34022 tokens (~239/item across 142 items; 142 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management30
  • Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage95
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 85% of tool parameters carry a description.Partial
Tool Safety75
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • 0 of 16 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "cs_logout" implies "remove" and declares no destructiveHint at all, which the MCP spec reads as destructive by default. See how to fix → Fail
  • An AI judge read all 143 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

How do I install the Copilot Studio MCP server?

Copilot Studio MCP runs locally as an npm package, launched with npx -y copilot-studio-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · copilot-studio-mcp

# add to Claude Code
claude mcp add jgt87-copilot-studio-mcp -- npx -y copilot-studio-mcp
// .cursor/mcp.json
{
  "mcpServers": {
    "jgt87-copilot-studio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "copilot-studio-mcp"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "jgt87-copilot-studio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "copilot-studio-mcp"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add jgt87-copilot-studio-mcp -- npx -y copilot-studio-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "jgt87-copilot-studio-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "copilot-studio-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add jgt87-copilot-studio-mcp --command npx --arg -y --arg copilot-studio-mcp
# ~/.hermes/config.yaml
mcp_servers:
  jgt87-copilot-studio-mcp:
    command: "npx"
    args: ["-y", "copilot-studio-mcp"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "jgt87-copilot-studio-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "copilot-studio-mcp"
      ]
    }
  }
}
# add to Vellum
assistant mcp add jgt87-copilot-studio-mcp -t stdio -c npx -a -y copilot-studio-mcp
// mcp.json
{
  "mcpServers": {
    "jgt87-copilot-studio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "copilot-studio-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 19 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.

  • 17 Sept 26 0
    • Security disclosure: unverified → fail functional
  • 16 Sept 26 +1
    • Security disclosure: fail → unverified functional
  • 15 Sept 26 +15
    • Malware scan: unverified → pass security
  • 14 Sept 26 −13
    • Malware scan: pass → unverified security
    • Tool safety: pass → unverified security
    • Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet. security
    • Capabilities: pass → unverified functional
    • Tool coverage: 100 → unverified functional
    • Schema quality: 100 → unverified functional
    • Stability: unverified → 0.10 functional
    • Package version: 0.1.6 → 0.1.7 functional
  • 13 Sept 26 +15
    • Malware scan: unverified → pass security
  • 11 Sept 26 53

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 20 Sept 2026 · Analysed npm/copilot-studio-mcp@0.1.7

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem npm

Background: How many MCP packages publish verified provenance →

Dependencies 157 packages
Packages resolved 157
Deprecated 1
Stale 59
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 142 exposed · ~33,335 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
cs_get_flow_run ~188

One run of a cloud flow with its status, timing, trigger and error. Read-only. Uses the Power Automate service (cs_login scope 'flow'). Unverified against a live tenant.

NameTypeReqDescription
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
flowIdstringyesFlow id (cs_list_flows)
runIdstringyesRun id (cs_list_flow_runs)
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_get_org_agent ~238

Full catalogue entry for one agent: metadata, element types, availability and deployment state, and whether it is blocked. The raw body is returned alongside the mapped fields, because the detail resource carries more than the list rows. Read-only (cs_login scope 'graph'). Needs a Microsoft Agent 365 licence and is global-cloud only. Unverified against a live tenant.

NameTypeReqDescription
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
idstringyesPackage id from cs_list_org_agents, e.g. P_19ae1zz1-56bc-505a-3d42-156df75a4xxy
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
versionstringGraph version for reads. Default v1.0; beta may carry fields v1.0 does not.
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_get_transcript ~193

The full turn list of one session: who said what, in order, with the topic and tool attributed to each turn where the transcript records them. Read-only.

NameTypeReqDescription
botIdstringAgent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
transcriptIdstringyesconversationtranscriptid, from cs_list_transcripts
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_guide ~394

Explain how to do one part of Copilot Studio agent development with this server's tools: 'getting-started' (clone or create an agent and take it to a published, tested state), 'instructions' (write the agent's instructions, with AI Builder or by hand), 'knowledge' (add public site, SharePoint, Graph connector or file knowledge), 'tools' (find a connector operation, add the tool, bind its connection), 'topics' (deterministic conversations: triggers and the node types), 'flows' (build a cloud flow, bind its connections, run it, and work out why a run failed), 'evaluations' (test sets, runs and results, plus local conversation tests), 'publish-and-test' (publish the agent and chat with it), 'drift' (changes made in the portal since the last sync, and how to merge them), 'transcripts' (what real users asked, how those sessions ended, and turning the failures into a test set), 'solutions' (pull a solution, redeploy it elsewhere, compare environments), 'administration' (tenant administration with a separate admin account, and backing the tenant configuration up to files), 'troubleshooting' (the errors this server can return, and what each one means). Read the relevant topic when you do not know which tools a job needs or what order they go in; it names the tool for each step and the manual portal steps that cannot be automated. It only explains - it changes nothing and does no work, so when the user asked for something to be built, written or run, call the tool that does it rather than this one. Also returns next steps for the workspace at hand.

NameTypeReqDescription
topicstringDefault getting-started
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_import_solution ~91

pac solution import of a packed agent (from cs_pack) into an environment. Mutates the environment: requires confirm: true.

NameTypeReqDescription
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
environmentstring
forceOverwriteboolean
pathstringyes
publishChangesboolean

No output schema declared.

No examples provided.

cs_init ~186

Check whether this machine is ready to work: the pac CLI and .NET, which pac auth profile is active, which cloud resources have a usable token, the environment variables, the write policy in force, and the agent workspace it found, ending with the next steps for that workspace. Read-only. Call it once at the start of a session, and again when a tool fails and you need to know whether the CLI, the credentials or the workspace is the reason. It reports the state of the machine and nothing else: when the user asked for something specific - an agent, a flow, a solution, an environment, instructions - call the tool for that thing instead. cs_create_agent scaffolds or creates an agent; cs_guide explains a task.

NameTypeReqDescription
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_init_solution_project ~188

Scaffold a Dataverse solution project (.cdsproj) on disk for source-controlled solution development. Runs 'pac solution init' with the active pac auth profile.

NameTypeReqDescription
backgroundbooleanRun in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
cwdstringWorking directory for pac (for project commands: the solution project folder)
outputDirectorystringOutput directory (default: cwd)
profilestringpac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles.
publisherNamestringyesPublisher name
publisherPrefixstringyesPublisher customization prefix
timeoutSecondsnumberDefault 600

No output schema declared.

No examples provided.

cs_job_status ~126

The state of a job started with background: true - running, succeeded or failed - with the phases it has reached and, once finished, the result the tool would have returned. Read-only. Jobs live in the server process, so a restart loses them; pass recordFile to read the copy the job wrote to disk instead.

NameTypeReqDescription
jobIdstringOmit to list every job this server knows about
recordFilestringRead a job record from disk (e.g. <targetDir>/pull-job.json) when the server has been restarted since

No output schema declared.

No examples provided.

cs_list_agents ~195

List Copilot Studio agents in an environment. via 'pac' uses 'pac copilot list' (needs a pac auth profile); via 'dataverse' queries the bots table with the MSAL token. Default auto: pac when available, else dataverse.

NameTypeReqDescription
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
dataverseUrlstring
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
ownerOnlyboolean
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
viastring
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_list_auth_profiles ~54

The pac authentication profiles on this machine, which one is active, and which account each belongs to. Use it to find the name of the admin profile to pass as 'profile' to the admin tools. Read-only.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

cs_list_connections ~63

pac connection list: connections that exist in an environment (id, connector, owner). Use the ids to map connection references in a deployment settings file before cs_deploy_solution.

NameTypeReqDescription
environmentstringEnvironment id or URL. Defaults to the active pac auth profile.

No output schema declared.

No examples provided.

cs_list_connectors ~235

The environment's connector registry (the same list the portal's Add a tool shows): Microsoft-published and custom connectors, with an mcpLikely flag for MCP servers. Cached under .cs-catalog/<environment>/connectors.json for offline use; with search and no sign-in, falls back to the offline seed of public connectors.

NameTypeReqDescription
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
customOnlyboolean
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
mcpOnlyboolean
offlinebooleanUse cache or seed only
refreshbooleanFetch again even if cached
searchstring
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_list_environments ~88

List Power Platform environments the signed-in user can access (BAP API), with Dataverse URLs.

NameTypeReqDescription
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.

No output schema declared.

No examples provided.

cs_list_evaluation_runs ~150

Previous evaluation runs for the agent.

NameTypeReqDescription
botIdstringAgent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_list_flow_runs ~247

Answer 'when did this flow last run, and did it work?': the run history of one cloud flow, most recent first, with status, start and end time, duration and the error of a failed run. Read-only. Use it to find the run you care about, then cs_explain_flow_run on that run to learn why it failed. Uses the Power Automate service, which is a separate sign-in from Dataverse (cs_login scope 'flow'). Unverified against a live tenant.

NameTypeReqDescription
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
flowIdstringyesFlow id (cs_list_flows)
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
topnumberMaximum runs to return
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_list_flows ~265

Answer 'which flows are there?': every cloud flow in the environment with its state, owner and last change, so you can see what the agent's flow tools can call and what a solution import left switched off. Read-only. This is the inventory only. For one flow's contents use cs_get_flow; for its execution history use cs_list_flow_runs; for the cause of a failure use cs_explain_flow_run.

NameTypeReqDescription
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
dataverseUrlstringDataverse URL; default: from the workspace or the environment
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
includeManagedbooleanDefault true; false lists only unmanaged flows
searchstringOnly flows whose name contains this text
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
topnumberMaximum rows
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_list_org_agents ~360

Every agent in the organisation's Microsoft 365 catalogue, across environments, with the things Power Platform cannot see: who the agent is available to, where it is deployed, and whether an admin has blocked it. Defaults to agents built in Copilot Studio; pass platform: 'all' to include the Agent Builder and acquired apps. Read-only. Uses Microsoft Graph, a separate sign-in from Dataverse (cs_login scope 'graph'). Needs a Microsoft Agent 365 licence and is global-cloud only. Unverified against a live tenant.

NameTypeReqDescription
allPagesbooleanFollow paging until the catalogue is exhausted (capped)
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
elementTypestringOnly packages containing this element type
filterstringExtra raw OData $filter, combined with the options above
hoststringOnly agents surfaced in this host
modifiedSincestringISO instant; only packages modified after it, e.g. 2026-01-01T00:00:00Z
platformstringBuild platform. Default 'Copilot Studio'; 'all' does not filter.
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
topnumberMaximum packages per page
versionstringGraph version for reads. Default v1.0; beta may carry fields v1.0 does not.
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_list_pipelines ~191

List the pipelines that can deploy from an environment, or the stages of one pipeline. Read-only. Runs 'pac pipeline list' with the active pac auth profile.

NameTypeReqDescription
backgroundbooleanRun in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
cwdstringWorking directory for pac (for project commands: the solution project folder)
environmentstringEnvironment id or URL; default: the environment of the active pac auth profile
pipelinestringPipeline name or id to show its stages
profilestringpac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles.
timeoutSecondsnumberDefault 600

No output schema declared.

No examples provided.

cs_list_prompts ~69

pac copilot model list: AI Builder models (including custom prompts) in the environment, with ids for cs_add_tool type 'prompt'.

NameTypeReqDescription
activeOnlyboolean
environmentstringEnvironment id or URL; default active pac profile
searchstring

No output schema declared.

No examples provided.

cs_list_solutions ~57

pac solution list: solutions in an environment with version and managed flag. Needs a pac auth profile.

NameTypeReqDescription
environmentstringEnvironment id or URL. Defaults to the active pac auth profile.
includeSystemboolean

No output schema declared.

No examples provided.

cs_list_test_sets ~156

Power Platform API: test sets defined for the agent (standard harness).

NameTypeReqDescription
botIdstringAgent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_list_transcripts ~269

Sessions people had with the published agent, newest first: when, how many turns, the first thing the user asked, which topics and tools fired, and how the session ended. Read-only. Needs a cached cs_login. Use it to find the session behind a bad answer, then cs_get_transcript for the full turn list.

NameTypeReqDescription
botIdstringAgent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
daysnumberOnly sessions from the last N days
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
outcomestringOnly sessions that ended this way
searchstringOnly sessions whose first user message contains this text
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
topnumberMaximum sessions (default 100, max 500)
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_login ~401

Acquire a Microsoft Entra token for the cloud tools (evaluations, environments, agents, publish, chat, drift). mode 'interactive' (default) starts a browser sign-in and returns within waitSeconds: status 'ok' when it completed, otherwise status 'pending' with the sign-in URL. If no browser opened, show the user that URL to open on the machine running this server; the page redirects to localhost and the login completes in the background (check cs_login_status or call any cloud tool). mode 'device_code' returns a code to enter at microsoft.com/devicelogin (some tenants block this flow). Not needed for pac commands, which use 'pac auth create'.

NameTypeReqDescription
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
dataverseUrlstringRequired when scope is dataverse, e.g. https://org.crm.dynamics.com
modestringDefault interactive
openBrowserbooleaninteractive: try to open the browser from the server (default true). Set false when the server runs where no browser can appear.
scopestringWhich resource to pre-authorise. Default powerplatform (evaluations); 'flow' is the Power Automate service used by the flow-run tools; 'graph' reads the Microsoft 365 agent catalogue and 'graph_write…
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
waitSecondsnumberinteractive: how long to wait for the sign-in before returning 'pending' (default 15; keep it below the client's tool timeout)
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_login_status ~137

Answer 'am I signed in?' for the cloud tools: the cached MSAL accounts, and whether a browser or device-code sign-in is still pending, with its URL or code; optionally wait for it to complete. For the separate pac sign-in, cs_auth_who.

NameTypeReqDescription
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
waitbooleanBlock until the pending sign-in completes (up to 10 minutes)
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_logout ~43

Remove cached MSAL accounts for the tenant.

NameTypeReqDescription
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.

No output schema declared.

No examples provided.

cs_lookup_schema ~94

Inspect the Copilot Studio authoring schema: summarize or resolve a definition (e.g. Question, SearchAndSummarizeContent, KnowledgeSourceConfiguration), search by keyword, or list all kinds.

NameTypeReqDescription
depthnumber
listKindsboolean
namestring
resolvebooleanReturn the full resolved JSON instead of a summary
searchstring

No output schema declared.

No examples provided.

cs_merge_translations ~308

Import translated .resx or .json files back into one or more agents (environment or unpacked solution folder). whatIf previews the merge without writing. Runs 'pac copilot merge-translation' with the active pac auth profile. Mutates a live environment: requires confirm: true (a dry run otherwise). Only some inputs mutate; see the parameter descriptions.

NameTypeReqDescription
backgroundbooleanRun in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
cwdstringWorking directory for pac (for project commands: the solution project folder)
environmentstringEnvironment id or URL; default: the environment of the active pac auth profile
filesarrayyesTranslation files; glob patterns allowed
profilestringpac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles.
solutionstringSolution unique name
sourceDirstringUnpacked solution folder to update instead of the environment
timeoutSecondsnumberDefault 900
verbosebooleanMore diagnostic output
whatIfbooleanReport what would change without changing anything

No output schema declared.

No examples provided.

cs_pac ~137

Escape hatch: run 'pac <args...>' directly. Read-only commands (list/who/status/help) run immediately; anything else needs confirm: true. 'profile' runs it as another pac auth profile, for example the tenant admin account.

NameTypeReqDescription
argsarrayyesArguments after 'pac', e.g. ["env","list"]
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
cwdstring
profilestringpac auth profile to run as (cs_init lists them)
timeoutSecondsnumber

No output schema declared.

No examples provided.

cs_pack ~98

pac copilot pack: local-only packaging of the workspace into a Dataverse solution .zip (no sign-in). Also a cheap structural check of the workspace. outputPath must be outside the workspace.

NameTypeReqDescription
outputPathstring
publisherPrefixstringyes
solutionNamestring
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_pack_solution ~53

pac solution pack: zip an unpacked source folder (after local edits) so it can be deployed.

NameTypeReqDescription
folderstringyes
packagetypestring
zipstringyes

No output schema declared.

No examples provided.

cs_publish ~336

Make the agent's current draft visible to real users on its channels - the tool for 'go live', 'release it' and 'make my changes live'. It publishes what is already in Copilot Studio, so send local edits up with cs_push first. via 'pac' runs 'pac copilot publish'; via 'dataverse' calls the PvaPublish action with the MSAL token and polls until publishedon changes. Requires confirm: true.

NameTypeReqDescription
backgroundbooleanRun in the background and return a jobId immediately, then poll cs_job_status. MCP clients cut a tool call off after about 60 seconds; this operation can take much longer, and without this the work i…
botIdstringAgent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
dataverseUrlstring
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
timeoutSecondsnumber
viastring
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_publish_customizations ~247

Publish every unpublished customization in the environment (the 'Publish all customizations' button). Runs 'pac solution publish' with the active pac auth profile. Mutates a live environment: requires confirm: true (a dry run otherwise).

NameTypeReqDescription
asyncbooleanRun the operation asynchronously
backgroundbooleanRun in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
cwdstringWorking directory for pac (for project commands: the solution project folder)
environmentstringEnvironment id or URL; default: the environment of the active pac auth profile
maxAsyncWaitTimenumberMax asynchronous wait time in minutes (default 60)
profilestringpac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles.
timeoutSecondsnumberDefault 3600

No output schema declared.

No examples provided.

cs_pull ~98

pac copilot pull: three-way merge of server changes into the local workspace (also downloads knowledge files). Run before editing and before pushing. Records a sync stamp (.mcs/cs-sync.json) so cs_check_drift can tell later portal changes from yours; commit the workspace afterwards to keep a reviewable history.

NameTypeReqDescription
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_pull_solution ~188

Export the solution (unmanaged and optionally managed), unpack it to <targetDir>/src, write <targetDir>/solution.json, generate deployment-settings.json (connection references + environment variables to map), and clone every agent in the solution into <targetDir>/agents/<name> as a sync-connected workspace. This is the input for cs_deploy_solution.

NameTypeReqDescription
backgroundbooleanRun in the background and return a jobId immediately. Use this when the export is large enough that the MCP client times the call out; poll with cs_job_status.
cloneAgentsbooleanDefault true
environmentstringEnvironment id or URL. Defaults to the active pac auth profile.
namestringyesSolution unique name
packagetypestringDefault Both: exports both zips, unpacks both
targetDirstringyes

No output schema declared.

No examples provided.

cs_push ~217

Send local file changes up into the agent's draft in Copilot Studio - topics, knowledge files, flows, connection references - so the draft matches your workspace (pac copilot push). This is the tool for 'upload', 'send my changes up' and 'sync my edits'. It only moves files into the draft; cs_publish is the separate step afterwards. Validates YAML first and blocks on errors unless force. The dry run also reports components changed in Copilot Studio since the last sync (quick drift check, needs a cached cs_login); when one of those also changed locally the push is blocked unless force. Changes the agent in Copilot Studio: requires confirm: true.

NameTypeReqDescription
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
forcebooleanPush even if validation reports errors or portal changes conflict with local edits
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_quarantine_agent ~246

Put an agent in quarantine (users cannot talk to it) or release it. Admin operation. Runs 'pac copilot quarantine' with the active pac auth profile. Mutates a live environment: requires confirm: true (a dry run otherwise).

NameTypeReqDescription
backgroundbooleanRun in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
botIdstringyesAgent id (GUID)
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
cwdstringWorking directory for pac (for project commands: the solution project folder)
environmentstringEnvironment id or URL; default: the environment of the active pac auth profile
profilestringpac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles.
quarantinebooleantrue to quarantine (default), false to release
timeoutSecondsnumberDefault 600

No output schema declared.

No examples provided.

cs_reassign_org_agent ~255

Hand ownership of a catalogue agent to another user, by their Entra object id. Used when the owner leaves the organisation. Changes a live tenant: requires confirm: true. Needs CopilotPackages.ReadWrite.All and runs against Graph beta (cs_login scope 'graph_write'). Needs a Microsoft Agent 365 licence and is global-cloud only. Unverified against a live tenant.

NameTypeReqDescription
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
idstringyesPackage id from cs_list_org_agents, e.g. P_19ae1zz1-56bc-505a-3d42-156df75a4xxy
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
userIdstringyesEntra object id of the new owner
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_remove_component ~146

Delete a topic, knowledge source, tool, trigger, variable or flow from the workspace files (the live agent changes on the next cs_push). For tools, the connection reference is dropped too unless another tool uses it. Reports topics that still redirect to a removed topic. Deletes files: requires confirm: true.

NameTypeReqDescription
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
kindstringyes
namestringyes
pruneConnectionReferenceboolean
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_review_agent ~148

Judge whether the agent is any good and say what to improve, as a score out of 10 with a fix for each finding: instructions present and sized, escalation and fallback topics, trigger phrase count and overlap, tool descriptions and name collisions, unbound connections, authentication versus private knowledge, web browsing with internal sources, orchestration off with tools, duplicate names, credentials in YAML, pack-only workspace. Returns a score, findings with fixes, and optional Markdown.

NameTypeReqDescription
markdownboolean
reportPathstringWrite the Markdown report here
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_run_conversation_tests ~401

Run a YAML test file (tests: name, utterance, expect, continueConversation) against the published agent through cs_chat and report pass/fail. expect asserts on wording (contains, containsAny, notContains, regex, minLength, noSignIn) and on what the agent did (usedTool, notUsedTool, usedTopic, notUsedTopic, citedKnowledge), so a test can tell a real tool call from an answer that merely sounds right. Every result reports the observed topic, tool and citations whether or not it asserted on them. The CLI-native complement to portal evaluations. Pass writeExample to create a starter file.

NameTypeReqDescription
botIdstringAgent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
conversationIdstringContinue an earlier conversation from cs_chat
dataverseUrlstring
directLineSecretstring
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
filestring
schemaNamestring
stopOnFailboolean
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
testsarray
tokenEndpointstringExplicit DirectLine token endpoint
transportstringauto detects the agent's authentication mode via Dataverse; directline for no-auth/manual-auth agents; sdk for Entra SSO agents
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.
writeExamplestringPath to write an example test file, then return

No output schema declared.

No examples provided.

cs_run_evaluation ~276

Start an evaluation run for a test set (draft agent by default, or the published one). Optionally wait for completion and return the summary. Counts against the 20 runs per agent per 24h limit: requires confirm: true.

NameTypeReqDescription
botIdstringAgent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
mcsConnectionIdstringUser profile connection id for authenticated knowledge/tools
runNamestring
runOnPublishedBotboolean
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
testSetIdstringyes
timeoutSecondsnumber
waitboolean
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_run_flow ~281

Start a run of a manually triggered cloud flow, with an optional payload. Only flows whose trigger is manual or agent-callable can be started this way; scheduled and event-driven flows run on their own. Whatever the flow does (sending mail, writing records) happens for real, so this changes a live environment: requires confirm: true. Uses the Power Automate service (cs_login scope 'flow'). Unverified against a live tenant.

NameTypeReqDescription
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
flowIdstringyesFlow id (cs_list_flows)
payloadobjectBody for the trigger
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
triggerNamestringTrigger key inside the definition (cs_get_flow lists them); default 'manual'
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_select_auth_profile ~172

Make a pac auth profile the active one, by index (cs_init lists them) or name. Runs 'pac auth select' with the active pac auth profile.

NameTypeReqDescription
backgroundbooleanRun in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
cwdstringWorking directory for pac (for project commands: the solution project folder)
indexnumberProfile index
namestringProfile name
profilestringpac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles.
timeoutSecondsnumberDefault 600

No output schema declared.

No examples provided.

cs_set_flow_state ~258

Switch a flow on (Activated) or off (Draft). This is the step a solution import leaves for you: flows whose connection references were unbound at import time land switched off. A flow can only be turned on once its connections are bound and its definition is valid. Changes a live environment: requires confirm: true.

NameTypeReqDescription
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
dataverseUrlstringDataverse URL; default: from the workspace or the environment
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
flowIdstringyesFlow (workflow) id
statestringyeson = Activated, off = Draft
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_set_solution_version ~230

Update the version in a local unpacked solution's Solution.xml, explicitly or by strategy (gittags, filetracking, solution). Local file change only. Runs 'pac solution version' with the active pac auth profile.

NameTypeReqDescription
backgroundbooleanRun in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
buildVersionstringBuild version
cwdstringWorking directory for pac (for project commands: the solution project folder)
filenamestringTracker CSV for the filetracking strategy
profilestringpac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles.
revisionVersionstringRevision version
solutionPathstringUnpacked solution folder or Solution.xml
strategystringVersion strategy (see pac solution version help)
timeoutSecondsnumberDefault 600

No output schema declared.

No examples provided.

cs_set_tool_preset ~161

Answer 'there are too many tools': narrow, or restore, the tool list for the rest of this session. The full list is 142 tools and about 50k tokens of schema, which crowds a smaller model's context and makes it choose worse. Presets: core (the loop that builds an agent and gets it live), authoring (local files only), admin (tenant administration), solutions (moving solutions between environments), full (everything). Read-only: it changes nothing in any environment and no tool is lost, only hidden. Ask the user before calling it.

NameTypeReqDescription
keeparrayExtra tool names to keep on top of the preset
presetstringyesWhich set to offer for the rest of this session

No output schema declared.

No examples provided.

cs_snapshot_environment ~244

Capture one environment into a folder for comparison or history: solution version, every agent cloned with pac copilot clone (agents/<name>), and, when signed in, flows, connection references, environment variables and publish state. Read-only for the environment.

NameTypeReqDescription
agentsarrayAgent schema names or ids to clone; default: every agent pac copilot list returns
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
dirstringyesSnapshot folder (recreated)
environmentstringyesEnvironment id or URL
includeDataversebooleanDefault true: flows, connection references, environment variables and publish state via Dataverse (needs cs_login; skipped silently otherwise)
labelstringyesShort name such as DEV, TEST, ACC, PROD
maxAgentsnumberDefault 20
solutionstringSolution unique name to record version/managed state for
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.

No output schema declared.

No examples provided.

cs_solution_online_version ~260

Without solutionVersion: read the version of a solution in the environment. With it: set that version (mutating). Runs 'pac solution online-version' with the active pac auth profile. Mutates a live environment: requires confirm: true (a dry run otherwise). Only some inputs mutate; see the parameter descriptions.

NameTypeReqDescription
backgroundbooleanRun in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
confirmbooleanRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
cwdstringWorking directory for pac (for project commands: the solution project folder)
environmentstringEnvironment id or URL; default: the environment of the active pac auth profile
profilestringpac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles.
solutionNamestringyesSolution unique name
solutionVersionstringNew version to set; omit to read
timeoutSecondsnumberDefault 600

No output schema declared.

No examples provided.

cs_status ~91

pac copilot status for an agent id.

NameTypeReqDescription
botIdstringAgent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_summarize_transcripts ~263

Aggregate over recent sessions: how they ended, the escalation rate, average turns, how many never matched a topic, the topics and tools that actually fire, and the questions behind the sessions that went badly. Read-only. This is the input for deciding what to fix next, and for cs_create_test_set_csv fromTranscripts.

NameTypeReqDescription
botIdstringAgent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstringEntra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
daysnumberWindow in days (default: everything returned)
environmentIdstringPower Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
tenantIdstringEntra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
topnumberMaximum sessions to read (default 100, max 500)
topNnumberHow many topics/tools/questions to list (default 10)
workspacestringPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

Common questions

What is the Copilot Studio MCP server?

Copilot Studio MCP is listed in the public MCP registry as io.github.jgt87/copilot-studio-mcp. Build, test, ship and maintain Microsoft Copilot Studio agents from the editor. This page covers its npm package (copilot-studio-mcp).

Is the Copilot Studio MCP server safe to use?

Copilot Studio MCP scores 72 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 20 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the Copilot Studio MCP server expose?

Copilot Studio MCP exposes 142 tools: cs_init, cs_login, cs_login_status, cs_logout, cs_set_tool_preset, and 137 more. Their descriptions and schemas cost roughly 33,335 tokens of context every time the server is loaded.

Is the Copilot Studio MCP server still maintained?

Copilot Studio MCP is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the Copilot Studio MCP server under?

Copilot Studio MCP declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.