備註
尚未發布產品的部分資訊在正式上市前可能會進行重大更改。 Microsoft 對於此處提供的資訊,不做任何明確或隱含的保證。
Windows 裝置內代理登錄檔命令列工具 odr.exe 提供 Windows 裝置內代理(包括註冊 MCP 伺服器)的發現與管理工具。
語法
odr [command] [options]
參數
| Command | Description |
|---|---|
| MCP | 與 Model Context Protocol 伺服器相關的指令 |
| Option | Description |
|---|---|
| -?, -h, --幫助 | 顯示說明與使用資訊 |
| --版本 | 顯示版本資訊 |
| --verbose | 啟用詳細日誌記錄 |
MCP 指令
odr mcp [command] [options]
| Command | Description |
|---|---|
| 執行 | 執行 MCP 伺服器 |
| list | 註冊伺服器列表MCP |
加 <manifest file path> |
註冊MCP伺服器 |
移除 <server id> |
取消註冊伺服器MCP |
配置 <server id> |
配置 MCP 伺服器 |