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

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

Available components

0 this week 77 Trust /100

Last scanned (3 hours ago)

Scores higher than 55% of npm servers

Category AI and Machine Learning

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 Security81
  • No malware found by supply-chain analysis.Pass
  • CVE check failed: a known high-severity CVE affects @azure/msal-node 6.0.1, a direct dependency. A fixed version is available. View diagnostics → Fail
  • No install/post-install scripts declared.Pass
  • 59 of 154 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 35890 tokens (~242/item across 148 items; 148 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 Management100
  • No destabilizing schema changes in the last 30 days.Pass
Tool Coverage95
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 86% 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 149 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
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.

  • 5 Nov 26 0
    • Security disclosure: unverified → fail ▼ functional
  • 4 Nov 26 0
    • Security disclosure: fail → unverified ▼ functional
  • 29 Oct 26 0
    • Security disclosure: unverified → fail ▼ functional
  • 28 Oct 26 0
    • Stability: 0.97 → pass security
    • Security disclosure: fail → unverified ▼ functional
  • 27 Oct 26 0
    • Stability: pass → 0.97 functional
  • 24 Oct 26 −5
    • CVE-2026-109461 affects this package: high ▼ security
    • CVE-2023-54404 affects this package: high ▼ security
    • Known CVEs: pass → fail ▼ security
  • 21 Oct 26 0
    • Stability: 0.97 → pass security
  • 20 Oct 26 0
    • Stability: pass → 0.97 functional
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 5 Nov 2026 · Analysed npm/copilot-studio-mcp@0.1.8

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 →

Vulnerabilities 2 findings
ID CVE Severity Vector Fix available
GHSA-xcx6-jx8p-x3h5 CVE-2026-109461 high CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N yes
GHSA-mrhx-c7xc-m3w5 CVE-2023-54404 high CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H yes

Background: What a vulnerability scan can and cannot prove →

Dependencies 154 packages
Packages resolved 154
Deprecated 1
Stale 58
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 148 exposed · ~35,203 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_connector_consent_bypass ~222

Answer 'do users have to approve this agent's connectors?': read whether an admin has switched connector consent bypass on for the agent, so its connector tools run without each end user consenting to the connection first. Read-only. cs_set_connector_consent_bypass is the separate step that changes it. Follows the published Power Platform API reference; not yet verified against a live tenant.

NameTypeReqDescription
botIdstring–Agent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestring–Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_get_evaluation_run ~179

Status and per-case results of an evaluation run, with a pass/fail summary per test method.

NameTypeReqDescription
botIdstring–Agent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
includeRawboolean––
runIdstringyes–
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestring–Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_get_flow ~253

Answer 'what does this flow actually do?': one flow's trigger and action names, its connection references, and the whole Power Automate definition when 'includeDefinition' is set. Read-only. Use it before cs_update_flow, and to see why a flow cannot be switched on. For what happened on a particular run, use cs_list_flow_runs and cs_explain_flow_run instead.

NameTypeReqDescription
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
dataverseUrlstring–Dataverse URL; default: from the workspace or the environment
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
flowIdstringyesFlow (workflow) id; cs_list_flows shows it
includeDefinitionboolean–Include the full definition JSON (large)
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestring–Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

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
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
flowIdstringyesFlow id (cs_list_flows)
runIdstringyesRun id (cs_list_flow_runs)
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestring–Path 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
clientIdstring–Entra 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
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
versionstring–Graph version for reads. Default v1.0; beta may carry fields v1.0 does not.
workspacestring–Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

cs_get_test_set ~219

Show one evaluation test set of an agent with its test cases. Read-only. testSetId comes from cs_list_test_sets. Runs 'pac copilot-studio get-maker-evaluation-test-set' with the active pac auth profile.

NameTypeReqDescription
backgroundboolean–Run 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)
cwdstring–Working directory for pac (for project commands: the solution project folder)
environmentstring–Environment id or URL; default: the environment of the active pac auth profile
profilestring–pac 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.
testSetIdstringyesTest set id (cs_list_test_sets)
timeoutSecondsnumber–Default 600

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
botIdstring–Agent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
transcriptIdstringyesconversationtranscriptid, from cs_list_transcripts
workspacestring–Path 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
topicstring–Default getting-started
workspacestring–Path 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
confirmboolean–Required 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
workspacestring–Path 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
backgroundboolean–Run in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
cwdstring–Working directory for pac (for project commands: the solution project folder)
outputDirectorystring–Output directory (default: cwd)
profilestring–pac 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
timeoutSecondsnumber–Default 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
jobIdstring–Omit to list every job this server knows about
recordFilestring–Read 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
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
dataverseUrlstring––
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
ownerOnlyboolean––
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
viastring––
workspacestring–Path 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
environmentstring–Environment 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
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
customOnlyboolean––
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
mcpOnlyboolean––
offlineboolean–Use cache or seed only
refreshboolean–Fetch again even if cached
searchstring––
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestring–Path 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
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
tenantIdstring–Entra 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
botIdstring–Agent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestring–Path 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
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
flowIdstringyesFlow id (cs_list_flows)
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
topnumber–Maximum runs to return
workspacestring–Path 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
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
dataverseUrlstring–Dataverse URL; default: from the workspace or the environment
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
includeManagedboolean–Default true; false lists only unmanaged flows
searchstring–Only flows whose name contains this text
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
topnumber–Maximum rows
workspacestring–Path 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
allPagesboolean–Follow paging until the catalogue is exhausted (capped)
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
elementTypestring–Only packages containing this element type
filterstring–Extra raw OData $filter, combined with the options above
hoststring–Only agents surfaced in this host
modifiedSincestring–ISO instant; only packages modified after it, e.g. 2026-01-01T00:00:00Z
platformstring–Build platform. Default 'Copilot Studio'; 'all' does not filter.
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
topnumber–Maximum packages per page
versionstring–Graph version for reads. Default v1.0; beta may carry fields v1.0 does not.
workspacestring–Path 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
backgroundboolean–Run in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
cwdstring–Working directory for pac (for project commands: the solution project folder)
environmentstring–Environment id or URL; default: the environment of the active pac auth profile
pipelinestring–Pipeline name or id to show its stages
profilestring–pac 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.
timeoutSecondsnumber–Default 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––
environmentstring–Environment 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
environmentstring–Environment 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
botIdstring–Agent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestring–Path 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
botIdstring–Agent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
daysnumber–Only sessions from the last N days
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
outcomestring–Only sessions that ended this way
searchstring–Only sessions whose first user message contains this text
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
topnumber–Maximum sessions (default 100, max 500)
workspacestring–Path 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
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
dataverseUrlstring–Required when scope is dataverse, e.g. https://org.crm.dynamics.com
modestring–Default interactive
openBrowserboolean–interactive: try to open the browser from the server (default true). Set false when the server runs where no browser can appear.
scopestring–Which 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…
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
waitSecondsnumber–interactive: how long to wait for the sign-in before returning 'pending' (default 15; keep it below the client's tool timeout)
workspacestring–Path 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
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
waitboolean–Block until the pending sign-in completes (up to 10 minutes)
workspacestring–Path 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
tenantIdstring–Entra 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––
resolveboolean–Return 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
backgroundboolean–Run in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
confirmboolean–Required to actually perform a change in a live environment. Without it the tool returns a dry run.
cwdstring–Working directory for pac (for project commands: the solution project folder)
environmentstring–Environment id or URL; default: the environment of the active pac auth profile
filesarrayyesTranslation files; glob patterns allowed
profilestring–pac 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.
solutionstring–Solution unique name
sourceDirstring–Unpacked solution folder to update instead of the environment
timeoutSecondsnumber–Default 900
verboseboolean–More diagnostic output
whatIfboolean–Report 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"]
confirmboolean–Required to actually perform a change in a live environment. Without it the tool returns a dry run.
cwdstring––
profilestring–pac 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––
workspacestring–Path 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
backgroundboolean–Run 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…
botIdstring–Agent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
confirmboolean–Required to actually perform a change in a live environment. Without it the tool returns a dry run.
dataverseUrlstring––
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
timeoutSecondsnumber––
viastring––
workspacestring–Path 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
asyncboolean–Run the operation asynchronously
backgroundboolean–Run in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
confirmboolean–Required to actually perform a change in a live environment. Without it the tool returns a dry run.
cwdstring–Working directory for pac (for project commands: the solution project folder)
environmentstring–Environment id or URL; default: the environment of the active pac auth profile
maxAsyncWaitTimenumber–Max asynchronous wait time in minutes (default 60)
profilestring–pac 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.
timeoutSecondsnumber–Default 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
workspacestring–Path 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
backgroundboolean–Run 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.
cloneAgentsboolean–Default true
environmentstring–Environment id or URL. Defaults to the active pac auth profile.
namestringyesSolution unique name
packagetypestring–Default 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
confirmboolean–Required to actually perform a change in a live environment. Without it the tool returns a dry run.
forceboolean–Push even if validation reports errors or portal changes conflict with local edits
workspacestring–Path 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
backgroundboolean–Run 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)
confirmboolean–Required to actually perform a change in a live environment. Without it the tool returns a dry run.
cwdstring–Working directory for pac (for project commands: the solution project folder)
environmentstring–Environment id or URL; default: the environment of the active pac auth profile
profilestring–pac 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.
quarantineboolean–true to quarantine (default), false to release
timeoutSecondsnumber–Default 600

No output schema declared.

No examples provided.

cs_reassign_agent_owner ~283

Make another person the owner of a Copilot Studio agent in its Power Platform environment, so they can edit, publish and manage it there. Admin operation. cs_reassign_org_agent is a separate tool for the Microsoft 365 side. Runs 'pac copilot-studio reassign-copilot-agent' with the active pac auth profile. Mutates a live environment: requires confirm: true (a dry run otherwise).

NameTypeReqDescription
backgroundboolean–Run 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)
confirmboolean–Required to actually perform a change in a live environment. Without it the tool returns a dry run.
cwdstring–Working directory for pac (for project commands: the solution project folder)
environmentstring–Environment id or URL; default: the environment of the active pac auth profile
newOwnerstringyesEntra ID object id of the new owner
profilestring–pac 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.
timeoutSecondsnumber–Default 600

No output schema declared.

No examples provided.

cs_reassign_org_agent ~277

Hand ownership of an agent in the Microsoft 365 agent catalogue to another user, by their Entra object id. Used when the owner leaves the organisation. The agent's owner inside a Power Platform environment is cs_reassign_agent_owner. 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
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
confirmboolean–Required 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
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
userIdstringyesEntra object id of the new owner
workspacestring–Path 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
confirmboolean–Required to actually perform a change in a live environment. Without it the tool returns a dry run.
kindstringyes–
namestringyes–
pruneConnectionReferenceboolean––
workspacestring–Path 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––
reportPathstring–Write the Markdown report here
workspacestring–Path 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
botIdstring–Agent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
conversationIdstring–Continue an earlier conversation from cs_chat
dataverseUrlstring––
directLineSecretstring––
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
filestring––
schemaNamestring––
stopOnFailboolean––
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
testsarray––
tokenEndpointstring–Explicit DirectLine token endpoint
transportstring–auto detects the agent's authentication mode via Dataverse; directline for no-auth/manual-auth agents; sdk for Entra SSO agents
workspacestring–Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.
writeExamplestring–Path to write an example test file, then return

No output schema declared.

No examples provided.

cs_run_evaluation ~361

Start an evaluation run for a test set (draft agent by default, or the published one). Optionally wait for completion and return the summary. mcsConnectionId runs it signed in as a user profile (the id of that user's Copilot Studio connection) so authenticated knowledge and tools answer; toolsConnections picks the connection each connector tool uses. Counts against the 20 runs per agent per 24h limit: requires confirm: true.

NameTypeReqDescription
botIdstring–Agent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
confirmboolean–Required to actually perform a change in a live environment. Without it the tool returns a dry run.
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
mcsConnectionIdstring–Copilot Studio connection id of the user profile to run as; omit for an anonymous run. Power Automate > Connections > Microsoft Copilot Studio, the GUID in the URL
runNamestring––
runOnPublishedBotboolean––
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
testSetIdstringyes–
timeoutSecondsnumber––
toolsConnectionsarray–Which connection each connector tool should use during the run
waitboolean––
workspacestring–Path 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
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
confirmboolean–Required to actually perform a change in a live environment. Without it the tool returns a dry run.
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
flowIdstringyesFlow id (cs_list_flows)
payloadobject–Body for the trigger
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
triggerNamestring–Trigger key inside the definition (cs_get_flow lists them); default 'manual'
workspacestring–Path 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
backgroundboolean–Run in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
cwdstring–Working directory for pac (for project commands: the solution project folder)
indexnumber–Profile index
namestring–Profile name
profilestring–pac 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.
timeoutSecondsnumber–Default 600

No output schema declared.

No examples provided.

cs_set_connector_consent_bypass ~281

Switch connector consent bypass on or off for one agent. On, end users stop being asked to approve the agent's connectors and the tools run straight away; off restores the consent prompt. An admin setting through the Power Platform API, so the signed-in user needs a Power Platform or Copilot Studio admin role. Changes a live environment: requires confirm: true. Follows the published Power Platform API reference; not yet verified against a live tenant.

NameTypeReqDescription
botIdstring–Agent (bot) id. Defaults to workspace sync metadata or CPS_AGENT_ID.
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
confirmboolean–Required to actually perform a change in a live environment. Without it the tool returns a dry run.
enabledbooleanyestrue switches the bypass on (no consent prompt), false switches it off
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestring–Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

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
clientIdstring–Entra app (client) id for MSAL. Defaults to CPS_CLIENT_ID, then the first-party VS Code id.
confirmboolean–Required to actually perform a change in a live environment. Without it the tool returns a dry run.
dataverseUrlstring–Dataverse URL; default: from the workspace or the environment
environmentIdstring–Power Platform environment id (GUID). Defaults to workspace sync metadata or CPS_ENVIRONMENT_ID.
flowIdstringyesFlow (workflow) id
statestringyeson = Activated, off = Draft
tenantIdstring–Entra tenant id. Defaults to the workspace sync metadata, then CPS_TENANT_ID.
workspacestring–Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

No output schema declared.

No examples provided.

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
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 77 out of 100 on VerifyMCP. We recorded 2 known advisories against it as of 5 November 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 148 tools: cs_init, cs_login, cs_login_status, cs_logout, cs_set_tool_preset, and 143 more. Their descriptions and schemas cost roughly 35,203 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 5 November 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.