Microsoft.PowerApps.CanvasAuthoring.McpServer 1.2.3

Prefix Reserved
{
  "servers": {
    "Microsoft.PowerApps.CanvasAuthoring.McpServer": {
      "type": "stdio",
      "command": "dnx",
      "args": ["Microsoft.PowerApps.CanvasAuthoring.McpServer@1.2.3", "--yes"]
    }
  }
}
                    
This package contains an MCP Server. The server can be used in VS Code by copying the generated JSON to your VS Code workspace's .vscode/mcp.json settings file.
dotnet tool install --global Microsoft.PowerApps.CanvasAuthoring.McpServer --version 1.2.3
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Microsoft.PowerApps.CanvasAuthoring.McpServer --version 1.2.3
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Microsoft.PowerApps.CanvasAuthoring.McpServer&version=1.2.3
                    
nuke :add-package Microsoft.PowerApps.CanvasAuthoring.McpServer --version 1.2.3
                    

Power Apps Canvas Authoring MCP Server

An MCP server for AI-assisted authoring of Power Apps canvas apps. 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.

Designed for use with GitHub Copilot CLI, Claude Code, and other MCP-compatible tools.

For setup and end-to-end guidance, see Create and edit canvas apps with AI code generation tools.

Managed local logs

Managed local logging is currently disabled by default. Set CANVAS_MCP_LOG_DISABLED=false to enable it.

When enabled, the server writes plain-text logs with timestamps, process IDs, levels, source categories, messages, and exceptions (including full exception details in verbose logs) to process-specific .log files under:

<LocalApplicationData>/Microsoft/PowerAppsCanvasMcp/logs

On Windows, <LocalApplicationData> is normally %LOCALAPPDATA%. Each process has one base log file that rolls at a configured max size with numbered suffixes. Managed files older than the configured retention period (default is 14 days) are removed when a server process starts.

Error and higher level events are written to stderr. stdout remains reserved for MCP protocol traffic.

Variable Default Behavior
CANVAS_MCP_LOG_DISABLED true (disabled) Set to false to enable managed log files. Set to true to explicitly disable managed log files.
CANVAS_MCP_LOG_RETENTION_DAYS 14 Indicates the number of days to keep managed log files. 0 turns off managed log file cleanup. Maximum: 90.
CANVAS_MCP_LOG_VERBOSE false Set to true to enable verbose events (excludes MSAL events). Only enable when diagnosing issues with this MCP server.
CANVAS_MCP_LOG_VERBOSE_MSAL false Set to true to enable verbose MSAL events in all applicable sinks. Only enable when specifically diagnosing authentication issues. This DOES NOT enable logging of PII related to MSAL events.

Note: Enabling verbose logging should only be done when needing to diagnose a specific issue, as verbose logging may include potential PII like file paths and tool inputs.

Create a support bundle

The tool create_support_bundle can be used to create a zip package that can be sent to Microsoft to get support for an issue. It includes the managed log files for the current session, along with some metadata useful for diagnosing issues. This tool does not send anything to Microsoft; it only packages it up so you may send it if needed.

It is recommended to explicitly enable managed logs (by setting CANVAS_MCP_LOG_DISABLED to false) and verbose events (by setting CANVAS_MCP_LOG_VERBOSE to true) before reproducing an issue in order to ensure logs with diagnostics are available to be packaged.

Be sure to review the privacy policies of the recipient of any log files or support packages. When asking for support with an issue, NEVER include log files or support bundles in public forums or GitHub issues.

Support

See the Support section of the canvas-apps plugin.

Security

Your credentials are always handled securely through the official Microsoft Authentication Library (MSAL) - we never store or manage tokens directly.

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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.2.3 31,548 11/12/2026
1.1.29 30,921 10/9/2026
1.1.26 10,106 10/7/2026
1.1.5 21,628 8/31/2026
1.0.3512.76-preview 10,950 8/17/2026
1.0.3483.70-preview 12,418 7/16/2026
1.0.3475.65-preview 5,650 7/8/2026
1.0.3446.58-preview 7,105 6/10/2026
1.0.3440.55-preview 2,925 6/5/2026
1.0.3438.54-preview 2,966 6/1/2026
1.0.3419.52-preview 4,596 5/13/2026
1.0.3413.49-preview 2,329 5/7/2026
1.0.3397.42-preview 3,408 4/21/2026
1.0.3385.39-preview 1,641 4/15/2026
1.0.3382.38-preview 1,193 4/7/2026
1.0.3375.35-preview 604 3/30/2026