powerplatform mcp/cli

by michsob

42 stars
393 downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server and standalone CLI for querying PowerPlatform / Dataverse environments. Supports multiple environments, entity metadata, records, plugins, flows, solutions, workflows, business rules, security roles, and more.

Details

Author
michsob
GitHub stars
42
Downloads
393
Categories
Cloud Service, Other, Database, Automation, Infrastructure, Developer Tools

- Query and configure Dataverse environments via MCP or CLI.
- Supports 67 tools covering entities, records, plugins, flows, solutions, security roles, and more.
- Multiple environment support with environment-specific credentials.
- Write operations for automated environment setup (e.g., create attributes, plugin steps, security roles).
- CLI persists full results to disk to avoid AI context window truncation.
- Docker images available for both MCP server and CLI.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name powerplatform mcp/cli
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via npm (npm install -g powerplatform-mcp or npx powerplatform-mcp for the MCP server; npm install -g powerplatform-cli or npx powerplatform-cli for the CLI) or via Docker. Configure multiple environments using environment variables (e.g., POWERPLATFORM_DEV_URL, POWERPLATFORM_DEV_CLIENT_ID). The MCP server exposes 67 tools that accept an optional environment parameter; the CLI writes results to a file system cache to avoid context window limits.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "powerplatform mcp/cli": {
            "powerplatform": {
                "command": "npx",
                "args": [
                    "-y",
                    "powerplatform-mcp"
                ],
                "env": {
                    "POWERPLATFORM_ENVIRONMENTS": "DEV,UAT,PROD",
                    "POWERPLATFORM_DEV_URL": "https://dev-org.crm.dynamics.com",
                    "POWERPLATFORM_DEV_CLIENT_ID": "...",
                    "POWERPLATFORM_DEV_CLIENT_SECRET": "...",
                    "POWERPLATFORM_DEV_TENANT_ID": "...",
                    "POWERPLATFORM_UAT_URL": "https://uat-org.crm.dynamics.com",
                    "POWERPLATFORM_UAT_CLIENT_ID": "...",
                    "POWERPLATFORM_UAT_CLIENT_SECRET": "...",
                    "POWERPLATFORM_UAT_TENANT_ID": "..."
                }
            }
        }
    }
}

McpServers

{
    "powerplatform": {
        "command": "npx",
        "args": [
            "-y",
            "powerplatform-mcp"
        ],
        "env": {
            "POWERPLATFORM_ENVIRONMENTS": "DEV,UAT,PROD",
            "POWERPLATFORM_DEV_URL": "https://dev-org.crm.dynamics.com",
            "POWERPLATFORM_DEV_CLIENT_ID": "...",
            "POWERPLATFORM_DEV_CLIENT_SECRET": "...",
            "POWERPLATFORM_DEV_TENANT_ID": "...",
            "POWERPLATFORM_UAT_URL": "https://uat-org.crm.dynamics.com",
            "POWERPLATFORM_UAT_CLIENT_ID": "...",
            "POWERPLATFORM_UAT_CLIENT_SECRET": "...",
            "POWERPLATFORM_UAT_TENANT_ID": "..."
        }
    }
}

PowerPlatform MCP / CLI

A Model Context Protocol (MCP) server and standalone CLI for querying and configuring PowerPlatform / Dataverse environments. Supports multiple environments, entity metadata, records, plugins, flows, solutions, workflows, business rules, security roles, custom APIs, web resources, and more — including write operations for automated environment setup.

Why MCP + CLI?

MCP integrates directly with AI clients (Claude, Cursor, GitHub Copilot) for interactive, conversational exploration of your environments.

CLI writes results to a file system cache instead of returning them inline. MCP tool responses are bound by the AI client's context window, which can truncate or degrade results when querying environments with hundreds of entities, flows, or plugin steps. The CLI avoids this limitation by persisting full results to disk, making them available for follow-up analysis without context pressure. Both interfaces share the same tools and capabilities.

Installation

Requires Node.js 22+ (< 25).

MCP Server

```bash
npm install -g powerplatform-mcp

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.