|
| 1 | +# Canvas Apps Plugin |
| 2 | + |
| 3 | +Build Power Apps Canvas Apps with your coding agent as coauthor. This plugin connects AI coding assistants to the Power Apps authoring service over stdio, enabling them to validate .pa.yaml files, browse available controls and their properties, discover APIs/connectors and data sources, and sync app state from live coauthoring sessions. |
| 4 | + |
| 5 | +> **Preview:** This plugin is currently in [preview](https://www.microsoft.com/en-us/business-applications/legal/supp-powerplatform-preview/). These features are available before official release for customers to provide feedback. |
| 6 | +
|
| 7 | +## Prerequisites |
| 8 | + |
| 9 | +- [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0) |
| 10 | + |
| 11 | +## Installation |
| 12 | + |
| 13 | +### From the marketplace |
| 14 | + |
| 15 | +```bash |
| 16 | +/plugin marketplace add microsoft/power-platform-skills |
| 17 | +/plugin install canvas-apps@power-platform-skills |
| 18 | +``` |
| 19 | + |
| 20 | +### From a local clone |
| 21 | + |
| 22 | +```bash |
| 23 | +claude --plugin-dir /path/to/power-platform-skills/plugins/canvas-apps |
| 24 | +``` |
| 25 | + |
| 26 | +## Skills |
| 27 | + |
| 28 | +### `/configure-canvas-mcp` |
| 29 | + |
| 30 | +Register the Canvas Authoring MCP server with Claude Code or GitHub Copilot. |
| 31 | + |
| 32 | +**Usage:** Invoke directly with `/configure-canvas-mcp`, or use any of the keywords below to trigger the skill automatically: |
| 33 | + |
| 34 | +- `Configure MCP for Canvas Apps` |
| 35 | +- `Set up the Canvas Authoring MCP server` |
| 36 | +- `Connect Canvas Apps MCP` |
| 37 | + |
| 38 | +### `/generate-canvas-app` |
| 39 | + |
| 40 | +Generate a complete Canvas App from a natural language description. |
| 41 | + |
| 42 | +**Usage:** Invoke directly with `/generate-canvas-app`, or use any of the keywords below to trigger the skill automatically: |
| 43 | + |
| 44 | +- `Create a Canvas App for managing inventory` |
| 45 | +- `I need a Canvas App for tracking employee time off` |
| 46 | + |
| 47 | +### `/edit-canvas-app` |
| 48 | + |
| 49 | +Edit an existing Canvas App from a natural language description of changes. |
| 50 | + |
| 51 | +**Usage:** Invoke directly with `/edit-canvas-app`, or use any of the keywords below to trigger the skill automatically: |
| 52 | + |
| 53 | +- `Modify the form in my existing Canvas App to include validation` |
| 54 | +- `Edit my Canvas App to add a new screen for reports` |
| 55 | + |
| 56 | +## MCP Tools |
| 57 | + |
| 58 | +The `canvas-authoring` MCP server exposes the following tools: |
| 59 | + |
| 60 | +| Tool | Description | |
| 61 | +|------|-------------| |
| 62 | +| `compile_canvas` | Validates canvas app YAML files in a directory using the Power Apps authoring service | |
| 63 | +| `describe_api` | Gets detailed information about a specific API (connector) including its operations and parameters | |
| 64 | +| `describe_control` | Gets detailed information about a specific Power Apps control including properties, variants, and metadata | |
| 65 | +| `get_data_source_schema` | Gets the schema (columns and their Power Fx types) for a specific data source in the current authoring session | |
| 66 | +| `list_apis` | Lists all available APIs (connectors) in the current authoring session | |
| 67 | +| `list_controls` | Lists all available Power Apps controls in the current authoring session | |
| 68 | +| `list_data_sources` | Lists all available data sources in the current authoring session | |
| 69 | +| `sync_canvas` | Syncs the current coauthoring session state from the server to a local directory, writing all YAML files | |
| 70 | + |
| 71 | +## Security |
| 72 | + |
| 73 | +Your credentials are always handled securely through the official Azure Identity SDK - we never store or manage tokens directly. |
| 74 | + |
| 75 | +MCP is a new and developing standard. As with all new technology standards, you should review the security of any systems that integrate with MCP servers, such as MCP hosts, clients, agents, AI applications, and models and confirm that they comply with system requirements, standards, and expectations. You should follow Microsoft security guidance for MCP servers, including enabling Entra ID authentication, secure token management, and network isolation. Refer to Microsoft Security Documentation for details. |
| 76 | + |
| 77 | + |
| 78 | +## License |
| 79 | +See the [LICENSE](../../LICENSE) file for license information. |
0 commit comments