[Feature]: Model Context Protocol Provider
@Grant-Archibald-MS ya está trabajando en esto.
Desde el 3/5/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- C#
- Estrellas
- 150
- Forks
- 55
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/PowerApps-TestEngine
-
SimulateDataverse tries to replace HTTPS/1.1 when it should be HTTP/1.1Posiblemente ocupada @jensotto la tomó hace 316 días. Abiertonew
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
-
Error when building the projectAbiertonew
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
new
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
question
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
Todos los issues de microsoft/PowerApps-TestEngine
Issues similares
-
area:jobads-cv BE mvp P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
klasolsson81/jobbliggaren#2099 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
0 - Backlog Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
BrighterCommand/Brighter#4581 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Esri/calcite-dotnet-toolkit#30 · 1 reacción ·
-
kind:docs simplification size:S status:todo
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
elsa-workflows/elsa-foundation#2604 ·
Los mantenedores suelen responder en 1 día