{"_id":"@microsoft/copilot-studio-mcp","_rev":"5-05452f358a7c2285f0855293779fff29","name":"@microsoft/copilot-studio-mcp","dist-tags":{"latest":"1.0.4"},"versions":{"0.0.0-stage":{"name":"@microsoft/copilot-studio-mcp","version":"0.0.0-stage","_id":"@microsoft/copilot-studio-mcp@0.0.0-stage","stub":true,"maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"dist":{"shasum":"dce605d94ead555bbbf54abdaf5055b32485d5f0","tarball":"https://registry.npmjs.org/@microsoft/copilot-studio-mcp/-/copilot-studio-mcp-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-JYcg+uTB/RFB3mmz/hFdigbMEwP51lVaiZdQ/Ad2VpcRUZSAb0btI3vH8hKkhxqV4cmXz3j8UvsiGdMaNX7ypw==","signatures":[{"sig":"MEUCIQDP4mynCntdJTv4JecDeyxObtCQKOJmGBQkJpcea+IiNwIgO4ZmdeCftrkC89qc5isdI2UmhmT99xyBnwmAV1CFJT4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":351},"_npmUser":{"name":"microsoft1es","email":"npmjs@microsoft.com"},"description":"Temporary package placeholder for staged publishing","directories":{}},"1.0.0":{"name":"@microsoft/copilot-studio-mcp","version":"1.0.0","_id":"@microsoft/copilot-studio-mcp@1.0.0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-oss-releases","email":"microsoft-oss-publishing@microsoft.com"}],"bin":{"copilot-studio-mcp":"server/mcp.mjs"},"dist":{"shasum":"db6781fa926259160dedb41cee7647df2b13942c","tarball":"https://registry.npmjs.org/@microsoft/copilot-studio-mcp/-/copilot-studio-mcp-1.0.0.tgz","fileCount":6,"integrity":"sha512-u8SlksZMj3xD3BFBtx74NRy0tY56nPkEbUeHznKbFM45MCu0zVDOi9peWLObpjSkf7iKpLdK3ek4eX5Cecgm+w==","signatures":[{"sig":"MEYCIQCIccFvjWjGlb3iRBL9rnHmclgO3hLAZrnEJVNkQy/WigIhAOdQw5palpKTq+aUO6Yec9nX6Ae0VUPv0iJZ6hVvlC69","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC2i18AKt8iBej1/ELbUqFuQUtYI5UsEdzluE+WQMxzrQIhAJbcXVq1Cg5SqhlCuJD3rPoToY3AvRDyfTR9EeuwBBcF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2828572},"type":"module","_from":"file:M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App1\\temp\\2b632955-156c-436a-8ef0-8953397bf0ee\\artifacts\\microsoft-copilot-studio-mcp-1.0.0.tgz","engines":{"node":">=22.18.0"},"mcpName":"com.microsoft/copilot-studio","private":false,"_npmUser":{"name":"microsoft1es","email":"npmjs@microsoft.com"},"_resolved":"M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App1\\temp\\2b632955-156c-436a-8ef0-8953397bf0ee\\artifacts\\microsoft-copilot-studio-mcp-1.0.0.tgz","_integrity":"sha512-u8SlksZMj3xD3BFBtx74NRy0tY56nPkEbUeHznKbFM45MCu0zVDOi9peWLObpjSkf7iKpLdK3ek4eX5Cecgm+w==","description":"Microsoft Copilot Studio MCP bridge for sign-in, environment selection, connector setup, and access to cloud-hosted tools and authoring Skills.","directories":{},"_nodeVersion":"18.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/copilot-studio-mcp_1.0.0_1792126216107_0.22173228555966307","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@microsoft/copilot-studio-mcp","version":"1.0.1","_id":"@microsoft/copilot-studio-mcp@1.0.1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-oss-releases","email":"microsoft-oss-publishing@microsoft.com"}],"bin":{"copilot-studio-mcp":"server/mcp.mjs"},"dist":{"shasum":"771280db036bd1a586789b750549985900e8fb78","tarball":"https://registry.npmjs.org/@microsoft/copilot-studio-mcp/-/copilot-studio-mcp-1.0.1.tgz","fileCount":6,"integrity":"sha512-u4dtb/J555XhorcFYIAhYG4+GkgdOsS9DadVbmC6YffPT5s2doCEqVF5uBozYeDiTaBoLDALBbbF7/exrL8hCg==","signatures":[{"sig":"MEUCIQDGfXRzdQZixz8K6j6+rbShazdDbg5R7Mf69Jlh3L6FSAIgBnth+uIWhSOsItWHg+BU+kh69mI7lItOiTAUw4kctSw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCOyE6QxKliXLKu4p7UrJOK6k5hZ96O6BBsBmho8cLbSAIhAMSGWcNj/1g5kZXYwpBQRBnVfYpAsRpkS6VOyglpfDcf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2829002},"type":"module","_from":"file:M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App1\\temp\\8acf695d-27e4-4e08-8ec9-2128e7ccac11\\artifacts\\microsoft-copilot-studio-mcp-1.0.1.tgz","engines":{"node":">=22.18.0"},"mcpName":"com.microsoft/copilot-studio","private":false,"_npmUser":{"name":"microsoft1es","email":"npmjs@microsoft.com"},"_resolved":"M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App1\\temp\\8acf695d-27e4-4e08-8ec9-2128e7ccac11\\artifacts\\microsoft-copilot-studio-mcp-1.0.1.tgz","_integrity":"sha512-u4dtb/J555XhorcFYIAhYG4+GkgdOsS9DadVbmC6YffPT5s2doCEqVF5uBozYeDiTaBoLDALBbbF7/exrL8hCg==","description":"Microsoft Copilot Studio MCP bridge for sign-in, environment selection, connector setup, and access to cloud-hosted tools and authoring Skills.","directories":{},"_nodeVersion":"18.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/copilot-studio-mcp_1.0.1_1792193004529_0.17754887133295405","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@microsoft/copilot-studio-mcp","version":"1.0.2","_id":"@microsoft/copilot-studio-mcp@1.0.2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-oss-releases","email":"microsoft-oss-publishing@microsoft.com"}],"bin":{"copilot-studio-mcp":"server/mcp.mjs"},"dist":{"shasum":"11ebbe82bece9e78ae40ba5e2290eb5eeb75147f","tarball":"https://registry.npmjs.org/@microsoft/copilot-studio-mcp/-/copilot-studio-mcp-1.0.2.tgz","fileCount":6,"integrity":"sha512-Tos9050gSq332EXXLyVitdqMMXfZsW+VBsTVUDWeWSpxh/1ILBNquSzOGt5G+9BiDOSEFSfUEMRox/fiwHLuUQ==","signatures":[{"sig":"MEUCIFcJFcD+EFfDSlhgZFJ7m0loAEbGDd/kzNMv4zNwyx8eAiEA5nMJnficzPAr7DBeFgzktP/0OaDbtwBTa5/1IS94PXc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICfIXam9JMjkyrvdgTZMzXZZ+sC68KO8XGAy4jQD7Pb/AiEAwQzLKxmtTiVefKCO3h7vXg2tBjgnQWBVGAeaQs4fl1w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2828244},"type":"module","_from":"file:M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App1\\temp\\3c6a5d78-9db1-4445-9789-86f75086fa12\\artifacts\\microsoft-copilot-studio-mcp-1.0.2.tgz","engines":{"node":">=22.18.0"},"mcpName":"com.microsoft/copilot-studio","private":false,"_npmUser":{"name":"microsoft1es","email":"npmjs@microsoft.com"},"_resolved":"M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App1\\temp\\3c6a5d78-9db1-4445-9789-86f75086fa12\\artifacts\\microsoft-copilot-studio-mcp-1.0.2.tgz","_integrity":"sha512-Tos9050gSq332EXXLyVitdqMMXfZsW+VBsTVUDWeWSpxh/1ILBNquSzOGt5G+9BiDOSEFSfUEMRox/fiwHLuUQ==","description":"Microsoft Copilot Studio MCP bridge for sign-in, environment selection, connector setup, and access to cloud-hosted tools and authoring Skills.","directories":{},"_nodeVersion":"18.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/copilot-studio-mcp_1.0.2_1792436116930_0.44918858466846245","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"_id":"@microsoft/copilot-studio-mcp@1.0.4","bin":{"copilot-studio-mcp":"server/mcp.mjs"},"dist":{"shasum":"e5f7dc0e733ee1b7bb3af164e156d43a20c9d51c","tarball":"https://registry.npmjs.org/@microsoft/copilot-studio-mcp/-/copilot-studio-mcp-1.0.4.tgz","fileCount":6,"integrity":"sha512-tIPLXIft4Lru4WJXLe+mjNzYIatcIJfPGa6QCCXXhSFMOdnHv/KI2hSx/M1t0++tRgBCsyIFCRxayS5ybozRZg==","signatures":[{"sig":"MEUCIA398go6wSIzsysQtDzeA5WEl6wf8vZF2VuevGK7GDhAAiEAuyRy819MV8EXyGnimq/lKYDqkVMt0AN8ty+V6e+2+uc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGyL6vK/HrY9qfFF42kTpCAVvtx4NUmglgwPyYKCVsduAiBCYry8qiPynSaz1vYOmV3db0Nmn9qH3rrQvveiRAI0hg=="}],"unpackedSize":2902071},"name":"@microsoft/copilot-studio-mcp","type":"module","_from":"file:M:\\SvcFab\\_App\\MS.Ess.PackageManager.PublisherV2_App60\\temp\\9c57a362-7785-4680-9147-751a3289a329\\microsoft-copilot-studio-mcp-1.0.4.tgz","engines":{"node":">=22.18.0"},"mcpName":"com.microsoft/copilot-studio","private":false,"version":"1.0.4","_npmUser":{"name":"microsoft1es","email":"npmjs@microsoft.com"},"_resolved":"M:\\SvcFab\\_App\\MS.Ess.PackageManager.PublisherV2_App60\\temp\\9c57a362-7785-4680-9147-751a3289a329\\microsoft-copilot-studio-mcp-1.0.4.tgz","_integrity":"sha512-tIPLXIft4Lru4WJXLe+mjNzYIatcIJfPGa6QCCXXhSFMOdnHv/KI2hSx/M1t0++tRgBCsyIFCRxayS5ybozRZg==","description":"Microsoft Copilot Studio MCP bridge for sign-in, environment selection, connector setup, and access to cloud-hosted tools and authoring Skills.","directories":{},"maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-oss-releases","email":"microsoft-oss-publishing@microsoft.com"}],"_nodeVersion":"18.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/copilot-studio-mcp_1.0.4_1794339401718_0.7943786518887381"}}},"time":{"created":"2026-10-16T04:48:58.795Z","modified":"2026-11-10T19:36:42.179Z","0.0.0-stage":"2026-10-16T04:48:58.795Z","1.0.0":"2026-10-16T04:50:16.236Z","1.0.1":"2026-10-16T23:23:24.632Z","1.0.2":"2026-10-19T18:55:17.032Z","1.0.4":"2026-11-10T19:36:41.855Z"},"description":"Microsoft Copilot Studio MCP bridge for sign-in, environment selection, connector setup, and access to cloud-hosted tools and authoring Skills.","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-oss-releases","email":"microsoft-oss-publishing@microsoft.com"}],"readme":"# Microsoft Copilot Studio MCP\r\n\r\nMicrosoft Copilot Studio MCP brings Copilot Studio tools into Model Context\r\nProtocol (MCP)-compatible CLIs, developer tools, and agentic interfaces. It\r\nprovides a single entry point for working across the agent and automation\r\nlifecycle, from creation and configuration to testing, deployment, monitoring,\r\nand ongoing management.\r\n\r\nYour client launches this package with `npx`. The server connects to Copilot\r\nStudio's hosted service after you sign in and select an environment, so access\r\nstays tied to your identity, environment permissions, and organizational\r\npolicies.\r\n\r\n> **Note**\r\n> If your organization requires [Federal Risk and Authorization Management Program\r\n> (FedRAMP) High](https://learn.microsoft.com/en-us/microsoft-copilot-studio/admin-certification#federal-risk-and-authorization-management-program-fedramp)\r\n> compliance, the GitHub Copilot harness agent turns off at runtime to prevent\r\n> data egress from the FedRAMP High compliance boundary.\r\n\r\n## Install\r\n\r\nUse a Windows, macOS, or Linux desktop with Node.js 22.18 or later\r\n(Node.js 24 LTS recommended) and a working GitHub Copilot CLI, Visual Studio Code,\r\nor other MCP-compatible client. The same package runs on all three systems;\r\ninstall Node.js for your machine's architecture. Configure your client to launch\r\nthe package with this command (PowerShell, zsh, or bash):\r\n\r\n```text\r\nnpx -y @microsoft/copilot-studio-mcp@latest\r\n```\r\n\r\nThe client starts the server process and communicates with it over standard\r\ninput/output (stdio). The package handles the connection to the hosted\r\nCopilot Studio service; you don't enter a remote MCP URL or clone a source\r\nrepository. You can also discover the server in the GitHub MCP Registry or a\r\nsupported client's MCP gallery and follow the listing's installation option\r\nfor your client.\r\n\r\n### Desktop requirements\r\n\r\n| System | Browser launcher | Requirement |\r\n| --- | --- | --- |\r\n| Windows | `rundll32.exe` | A default desktop browser. |\r\n| macOS | `open` | A default browser in a local desktop session. |\r\n| Linux | `xdg-open` | A desktop session, a default browser, and `xdg-utils` installed using your distribution's package manager. |\r\n\r\nRun the MCP client, bridge, and browser on the same computer. Sign-in returns to\r\na temporary localhost listener; local loopback connections must be permitted.\r\nSSH, headless servers, remote containers, and browser-only clients are not\r\nsupported sign-in environments. No Windows authentication broker is required.\r\nYour sign-in is remembered across chats in an encrypted per-user cache protected\r\nby the operating system: DPAPI on Windows, the login Keychain on macOS, and the\r\nSecret Service (`secret-tool`/libsecret) on Linux. Without one of these, tokens\r\nremain in memory only.\r\n\r\nThe MCP host must be able to find `node` and `npx`, not just your terminal.\r\nIf a GUI-launched host cannot find them, configure the host's executable path\r\nor launch it from a terminal where Node.js is available. Homebrew and\r\nversion-manager installations can have different paths from a GUI session.\r\nThe optional Copilot CLI `--install` flow prefers an absolute Node PATH alias\r\nthat resolves to the executable running setup, such as Homebrew's `bin` symlink.\r\nThat alias can follow Node upgrades without depending on the host's later PATH.\r\nIf no matching alias exists, setup records the running executable's absolute path.\r\nRerun setup if that fallback installation or the alias is moved or removed.\r\n\r\n## Available tools\r\n\r\nAfter you sign in and select an environment, the server makes the connected\r\nservice's tools available. The service catalog includes the following tools.\r\nConnection and sign-in utilities are separate.\r\n\r\n| Tool | Description |\r\n| --- | --- |\r\n| `discover_resources` | Discover connector operations and schemas, existing connections, dependent parameter values, and attachable resources. |\r\n| `get_consumption` | Read historical agent or workflow credit consumption, or current environment credit capacity. |\r\n| `manage_agents` | Manage agent inventory, complete draft authoring, lifecycle, published-agent sharing, saved-draft previews, and agent evaluation suites and runs. |\r\n| `manage_workflows` | Manage workflow inventory, complete draft authoring, lifecycle, real tests, and run diagnostics. |\r\n| `get_copilot_studio_skills` | Start here for Copilot Studio guidance. Read the matching core skill before authoring, then read `schema.json`. |\r\n\r\nThe management, discovery, and consumption tools expose individual operations\r\nthrough `action` and `parameters`. The current tool schemas identify the\r\nadvertised actions and their inputs. To read the focused contract and\r\nside-effect information for an action before you construct unfamiliar\r\narguments, use `discover_resources` with `action=describe_actions`.\r\n\r\nName queries and exact-name selection are applied before the 1,000-result\r\nenvironment limit. If an unfiltered list is too large, the result says so\r\n(`tooManyEnvironments`); supply a narrower\r\nname query or the complete environment ID; complete GUIDs and `Default-<GUID>`\r\nIDs use a direct user-authorized lookup instead of enumerating the tenant. A\r\ndenied or mismatched lookup never selects an environment.\r\n\r\nAgent previews use the existing Copilot Studio service contract; no new server\r\ncapabilities or deployment are required. All forwarded tool calls use the same\r\n36-minute local deadline, independent of tool names or schemas, with a 37-minute\r\ninstalled host timeout. Setup APIs, MCP discovery and resource reads keep their\r\nshorter default deadline. Cancellation still takes effect immediately.\r\n\r\nKnown conversation IDs are retained in `copilot_studio_status.recentPreviews`.\r\nThis optional history keeps at most 16 records and never blocks a tool call or\r\nchanges its returned result; old records may be evicted even while active.\r\nIf a new preview is interrupted before the server returns its ID, the bridge\r\ncannot recover that ID locally. Report the uncertain outcome; never resend a\r\nprompt or submit a continuation merely to check status.\r\n\r\n## Normal use\r\n\r\nDescribe your task normally. The assistant reuses a ready connection, loads the\r\nservice's tools and Skills, and continues your request after onboarding.\r\nNative-Skills hosts use their own loading/approval path; older hosts use the\r\nSkill reader actually advertised by the service. No local authoring Skill is\r\ninstalled.\r\n\r\n**Sign in to Copilot Studio** establishes your work-account session.\r\n**Connect to an environment** opens the cloud service connection for your chosen\r\nenvironment. **Connector setup** is separate: it configures connections used by\r\nagents and workflows. Tool titles describe these operations; their existing\r\n`copilot_studio_*` identifiers are unchanged.\r\n\r\nAuthoring Skills guide your assistant; inline agent skills are content saved\r\ninside an agent. Creating or updating an agent/workflow saves a draft, not a\r\npublished version. Agent previews use saved drafts; workflow tests run published,\r\nenabled workflows and can have real effects. Usage is measured in **Copilot Credits**,\r\nnot currency cost. Signing out does not delete saved artifacts or connector connections.\r\n\r\nConnector setup first prepares a plan showing the account, environment, and\r\naction. Creation or repair requires your explicit approval and may change\r\nreal Power Platform records. OAuth uses browser sign-in or the existing\r\nserver-side SSO flow. Connectors requiring typed credentials/settings are\r\nhanded off to the Copilot Studio UI; this bridge does not collect them.\r\nNever automatically retry an uncertain write.\r\n\r\nAn already-approved setup stays alive through its own bounded consent lifetime\r\ninstead of ending when the preparation window expires. Failed writes retain\r\ntheir known connection identity with `pending/inspect_connection` and a\r\nsanitized error. Status remains read-only after expiry; fresh writes need\r\nfresh approval. Ready results clear earlier authentication errors.\r\nA localhost browser return is expected, but an old callback URL cannot restart\r\nan expired or completed attempt. Inspect the existing connection, not a duplicate.\r\n\r\nConnection lookups accept existing opaque logical-reference names under the\r\nsame bounded contract as the Dataverse reader, so a resolved empty inventory\r\ncan produce a creation plan instead of a false unresolved-reference error. A\r\nrejected inventory reports its field and reason without exposing the value.\r\nNever bypass a scope/reference failure by inventing a binding.\r\n\r\nSelected successful reads may use a bounded private in-memory cache only when\r\nthe service opts in. Ask for fresh data to clear that bridge cache before\r\nrepeating a read. This does not clear service caches or authorize a write.\r\n\r\nAfter changing accounts or environments, the host must retire old cloud\r\nguidance and refresh tools and native Skills. Use a fresh chat/connection if\r\nthe host cannot do that.\r\n\r\n## Data handling\r\n\r\nAuthentication tokens are kept in an encrypted, OS-protected per-user cache\r\nunder `~/.copilot-studio-mcp/auth` so a new chat resumes your sign-in and last\r\nenvironment without signing in again. Nothing is stored in plaintext; if no OS\r\nprotection is available, tokens stay in process memory and\r\n`copilot_studio_status` reports `credentialsPersisted: false`. Disconnecting\r\nremoves the remembered sign-in (other open chats are signed out on their next\r\ncall); a chat that is signed out picks up a sign-in made in another chat\r\nsilently on a later call, without that chat's environment (select one again).\r\nA disconnected chat does so only after you connect in it again. Set\r\n`COPILOT_STUDIO_PERSIST_CREDENTIALS=0` to keep tokens in memory only; they are\r\nthen discarded on sign-out or process exit. Account/environment details\r\nand requested service content are returned to your MCP host; its data policies\r\nalso apply. The bridge forwards a normalized host-family label to the service,\r\nnot the raw host name or new user/device identifiers.\r\n\r\nThis public package does not capture local diagnostic traces or upload\r\ndiagnostic reports. It still processes account and business data to fulfill\r\nrequests; absence of diagnostic capture does not mean absence of data\r\nprocessing. Approved connections and artifacts remain subject to the\r\nplatform's normal storage and access policies.\r\n\r\n## If setup fails\r\n\r\nStop and report the error without sharing credentials or configuration JSON.\r\nDNS, refused/reset connections and network timeouts have distinct safe cause\r\ncodes. Check endpoint availability and network/proxy settings before an explicit\r\nretry; another call does not repair missing environment routing. An uncertain\r\nwrite still requires inspecting the artifact before retrying.\r\nDo not change applications, service destinations, or permissions to bypass it.\r\n`Shared writer storage I/O failed` is a Copilot CLI storage problem that must\r\nbe resolved before retrying installation. Do not delete `.copilot`, databases,\r\nor lock files as an automatic workaround.\r\n","readmeFilename":"README.md"}