You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discussion on further MCP work:
microsoft#5609
## Change
This change adds an MCP server that provides two tools:
- Find packages
- Searches for packages based on a single input value, returning
information about each one found.
- Install package
- Installs a package given a single input value, which is expected to be
an identifier, name or moniker (same rules as `winget` CLI)
The package response looks like:
```JSON
{
"identifier":"Microsoft.VisualStudioCode",
"name":"Microsoft Visual Studio Code",
"catalog":"winget",
"isInstalled":true,
"installedVersion":"1.102.1",
"installedLocation":"%LOCALAPPDATA%\\Programs\\Microsoft VS Code\\", <- Is actually real path, not tokenized
"isUpdateAvailable":false
}
```
Also includes:
- A group policy that determines whether the MCP server is allowed to
operate
- An `mcp` command that helps with manually configuring an MCP client
- A change to the default COM caller behavior that makes it only use the
file name
- Also changes to not use the package family name if it is the same as
the current process (so we can better differentiate our own callers)
- A `Version` property on the `PackageManager` COM object that returns
the version string as `1.2.3` or `1.2.3-preview`.
- Start preferentially using this in the PowerShell module to get the
version rather than running the CLI
Copy file name to clipboardExpand all lines: doc/admx/en-US/DesktopAppInstaller.adml
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,13 @@ If you disable this setting, users will not be able to use the Windows Package M
116
116
If you enable this setting, users will be able to configure the Windows Package Manager's use of proxy through the command line.
117
117
118
118
If you disable or do not configure this setting, users will not be able to to configure the Windows Package Manager's use of proxy through the command line.</string>
119
+
<stringid="EnableWindowsPackageManagerMcpServer">Enable Windows Package Manager MCP Server</string>
0 commit comments