[Feature]: Model Context Protocol Provider
@Grant-Archibald-MS がすでに取り組んでいます。
2025年5月3日 から。
評価
この issue はまだ評価されていません。
説明
Is your feature request related to a problem? Please describe.
Currently, generating test suites and cases for Power Platform solutions require knowledge of yaml and Power Fx functions. By integrating with generative AI and providing a structured protocol, we can streamline this process and make it more accessible to users of varying skill levels.
This feature request proposes the implementation of a test engine integrated Model Context Protocol provider to make the generation of test suites and test cases more accessible by enabling integration with Generative AI models. The goal is to provide context and actions to the model so that it can simplify the process of managing test cases easier process using natural language.
Benefits
- Accessibility: Simplifies the creation of test suites and cases, making it easier for users to adopt effective testing practices.
- Efficiency: Reduces manual effort by leveraging Generative AI capabilities and automating repetitive tasks.
- Accuracy: Ensures that generated Power Fx steps are validated and correct, minimizing errors.
- Flexibility: Provides robust querying and test definition capabilities tailored for Power Platform solutions.
Implementing the Model Context Protocol provider will enhance the usability, efficiency, and accuracy of the Power Apps Test Engine, empowering users to generate high-quality test suites and cases with ease. This feature aligns with the goal of making testing more accessible and effective for Power Platform solutions.
Describe the solution you'd like
The following features are proposed for the implementation of the Model Context Protocol with SSE:
-
Integration with Generative AI:
- Enable the Generative AI to access context and actions required for generating test suites and cases using natural language.
-
Data Querying Capabilities:
- Allow querying data from the Plan Designer.
- Enable querying solution information to create specific tests for Power Platform solutions.
- Provide the ability to query data from the tables of the solution.
-
Test File Generation:
- Provide actions that simplify the generation of test files.
- Use the security model of Test Engine to write YAML files via
IFileSysteminstead of directSysterm.File.IO.
-
Power Fx Validation:
- Provide methods to validate and identify syntax errors in generated Power Fx steps.
- Allow the Gen AI using results from MCP Server to correct Power Fx syntax errors.
-
Test Suite and Case Definition:
- Enable the definition of test suites, test cases, user-defined types, and user-defined Power Fx functions.
-
Context Awareness:
- Allow the provider to read
testSettingsto give context about available user-defined types or functions. - Ensure the Generative AI process understands how to use this context to build test cases effectively
- Allow the provider to read
Integration
Consider the following scenarios
- Provide documentation on how to use this server with Visual Studio Code.
- Consider how this SSE could be integrated with Microsoft Copilot Studio
Implementation
Create new mcp provider for Test engine
dotnet .\PowerAppsTestEngine.dll -p "mcp" `
-t c8696401-8c24-4dce-87b2-05c2e24589ed `
-e a4f3bbd2-77a8-408a-b27f-a9ad172b8a90 `
-d "https://contoso.crm.dynamics.com"
| Parameter | Description |
|---|---|
| -p | Specify provider is mcp |
| -t | Specify the tenant id to connect to |
| -e | Specify the environment to connect to |
| -d | Specify the dataverse url of the environment |
Describe alternatives you've considered
No response
Additional context?
No response
- 主要言語
- C#
- スター
- 150
- フォーク
- 56
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/PowerApps-TestEngine のほかの issue
-
SimulateDataverse tries to replace HTTPS/1.1 when it should be HTTP/1.1対応中かも @jensotto が 316 日前に担当しました。 オープンnew
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
-
new
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
new
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
microsoft/PowerApps-TestEngine の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
Esri/calcite-dotnet-toolkit#30 · リアクション 1 件 ·
-
VideoViewer: rotated (portrait phone) videos shown sideways when system decimal separator is a commaオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
security
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
MorganHacks/Arctic#182 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Volodymyr-Petrunin/Bankomaten#45 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
thekid/inotify-win#45 ·