主板更新MCP
英语| 日本语
  
⚠️ 贝塔:此扩展目前处于测试阶段。功能和API可能会更改,恕不另行通知。
GitHub Copilot Chat的MCP服务器,允许您从MicrosoftDocs存储库中搜索和检索Power Platform更新信息。
特性
- 搜索:查找Power Apps、Power Automation、Power BI、Power Pages、Webex、AI Builder等的更新
- 获取详细信息:检索特定更新条目的详细信息
- 同步:将GitHub(MicrosoftDocs)中的最新数据拉入本地SQLite数据库
数据源
| 产品 | 来源 |
|---|---|
| 动力平台 | https://github.com/MicrosoftDocs/power-platform |
| 电源应用程序 | https://github.com/MicrosoftDocs/powerapps-docs |
| 电力自动化 | https://github.com/MicrosoftDocs/power-automate-docs |
| Power BI | https://github.com/MicrosoftDocs/powerbi-docs |
| 电源页面 | https://github.com/MicrosoftDocs/power-pages-docs |
| 人工智能生成器 | https://github.com/MicrosoftDocs/ai-builder |
| 电源查询 | https://github.com/MicrosoftDocs/powerquery-docs |
| 微软365复制品 | https://github.com/MicrosoftDocs/m365copilot-docs |
| 副驾驶连接器 | https://github.com/MicrosoftDocs/copilot-connectors |
| 开发人员工具 | https://github.com/MicrosoftDocs/mslearn-developer-tools-power-platform |
| 电源应用程序REST API | https://github.com/MicrosoftDocs/powerapps-docs-rest-apis |
Copilot工作室笔记:Copilot Studio(前身为Power Virtual Agents)的公共GitHub存储库已被删除。有关最新更新,请参阅https://learn.microsoft.com/en-us/microsoft-copilot-studio/whats-new
用法(副驾驶聊天)
@powerplat-update Show me recent Power Apps updates@powerplat-update Search Copilot-related updates in Power AutomateMCP工具
search_powerplat_updates:搜索更新条目get_powerplat_update:按ID获取更新详细信息sync_powerplat_updates:从GitHub同步
性能优化
此扩展使用多种技术来最小化同步时间:
| 技术 | 描述 | 影响 |
|---|---|---|
| 存储库级别差异检查 | 在同步之前,比较每个存储库的最新提交SHA。如果未检测到任何更改,则跳过整个同步。150秒→ 6s(无变化) | |
| 并行处理 | 同时获取存储库树、文件内容和提交历史记录(5个并发请求)。150秒→ 15s | |
| 后台自动同步 | 当数据过时(>1小时)时,MCP服务器在启动时会自动在后台同步。用户从不等待。 | 即时响应 |
| 增量同步 | 仅使用提交历史记录获取自上次同步以来更改的文件。15秒→ 5s(变化不大) | |
| 预种子数据库 | 配备种子数据库,可在首次发射时立即使用。 | 无初始等待 |
同步性能
| 场景 | 时间 | 与原始 |
|---|---|---|
| 原始(连续) | 150s | - |
| 无存储库更改 | 6s | 速度提高97% |
| 有变化(平行) | 15秒 | 快90% |
| 增量(少量文件) | 5秒 | 速度提高97% |
设置
| 设置 | 说明 | 默认值 |
|---|---|---|
powerplatUpdate.githubToken | GitHub个人访问令牌 | (空) |
powerplatUpdate.autoSync | 启动时自动同步 | true |
powerplatUpdate.syncIntervalHours | 同步间隔(小时) | 24 |
powerplatUpdate.hideTokenNotification | 隐藏GitHub Token通知 | false |
发展
# Install dependencies
npm install
# Build
npm run build
# Debug MCP server
npm run dev:mcp
# Inspect with MCP Inspector
npm run inspect许可证
CC BY-NC-SA 4.0
