PowerPlatform MCP server and CLI for Dataverse environments

PowerPlatform MCP server and CLI for Dataverse environments

powerplatform-mcp•bymichsob

A Model Context Protocol server and standalone CLI for querying and configuring PowerPlatform and Dataverse environments.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides an MCP server and standalone CLI for querying and configuring PowerPlatform and Dataverse environments, including write operations for automated setup.
  • •Offers MCP tools for entities, records, plugins, flows, solutions, workflows, business rules, security roles, custom APIs, and web resources.
  • •Includes MCP prompts for entity overview, attribute details, OData query templates, and relationship maps.
  • •The CLI writes results to a file system cache, while both interfaces share the same tools and capabilities.

BEST FOR

  • •PowerPlatform and Dataverse users who need to query and configure environments.
  • •Teams that need full-fidelity follow-up analysis of large environment results.
  • •Automated setup tasks that require write operations in PowerPlatform and Dataverse environments.

ABOUT POWERPLATFORM-MCP

PowerPlatform MCP server and CLI for Dataverse environments is cataloged as an MCP server attributed to michsob. A Model Context Protocol server and standalone CLI for querying and configuring PowerPlatform and Dataverse environments. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for PowerPlatform MCP server and CLI for Dataverse environments are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server support multiple PowerPlatform environments?

Yes. Environments are defined through environment variables, and tools can target a specific environment with an optional parameter that defaults to the first configured environment.

Can it perform write operations as well as queries?

Yes. It supports querying and configuring PowerPlatform and Dataverse environments, including write operations for automated environment setup.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 8fa58da669fa · 采集于 2026-11-13 06:53:32 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

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

npm install -g powerplatform-mcp
# or
npx powerplatform-mcp

CLI

npm install -g powerplatform-cli
# or
npx powerplatform-cli

Docker

# MCP Server
docker pull ghcr.io/michsob/powerplatform-mcp
docker run --env-file .env ghcr.io/michsob/powerplatform-mcp

# CLI
docker pull ghcr.io/michsob/powerplatform-cli
docker run --env-file .env ghcr.io/michsob/powerplatform-cli entity-attributes account

Configuration

The tool supports multiple environments. Define them via environment variables:

POWERPLATFORM_ENVIRONMENTS=DEV,UAT,PROD

# For each environment, set:
POWERPLATFORM_DEV_URL=https://dev-org.crm.dynamics.com
POWERPLATFORM_DEV_CLIENT_ID=your-client-id
POWERPLATFORM_DEV_CLIENT_SECRET=your-client-secret
POWERPLATFORM_DEV_TENANT_ID=your-tenant-id

POWERPLATFORM_UAT_URL=https://uat-org.crm.dynamics.com
POWERPLATFORM_UAT_CLIENT_ID=...
POWERPLATFORM_UAT_CLIENT_SECRET=...
POWERPLATFORM_UAT_TENANT_ID=...

For local development, copy .env.example to .env and fill in your credentials.

Optionally, POWERPLATFORM_ENVIRONMENT_ID sets the Power Platform environment id that the Flow API calls use (flow run details, cancel, resubmit). Without it, the id is looked up from Dataverse.

The Flow API (api.flow.microsoft.com) refuses an app registration that has no maker access in the environment, whatever its Dataverse security roles. You'll see this as 403 EnvironmentAccessDenied. Run lists, with each run's status and error, come from Dataverse and keep working.

MCP Server

The MCP server is designed for AI-powered clients (Claude, Cursor, GitHub Copilot).

Available MCP Tools (66)

All tools accept an optional environment parameter to target a specific environment (defaults to the first configured).

List tools stop at maxRecords and say so: hasMore is true when more rows match, requestedMax is the cap, and totalMatching is the full count when Dataverse counted it (up to 5,000). When the list was cut, a warning comes before the data. Caps above 5,000 are read page by page.

Entity

ToolDescriptionRequired ParamsOptional
get-entity-metadataGet entity metadataentityName
get-entity-attributesList all attributes/fieldsentityName
get-entity-attributeGet a specific attributeentityName, attributeName
get-entity-relationshipsGet 1:N and N:N relationshipsentityName
create-entity-string-attributeCreate a Single Line of Text columnentityName, schemaName, displayNamemaxLength, requiredLevel, description, solutionName
get-entity-keysList alternate keys on an entityentityName
create-entity-alternate-keyCreate an alternate keyentityName, schemaName, displayName, keyAttributessolutionName

Records

ToolDescriptionRequired ParamsOptional
get-recordGet a record by IDentityNamePlural, recordId
query-recordsOData queryentityNamePlural, filtermaxRecords (default 50)

Plugins

ToolDescriptionRequired ParamsOptional
get-plugin-assembliesList plugin assembliesincludeManaged, maxRecords
get-plugin-assembly-completeAssembly with types, steps, imagesassemblyNameincludeDisabled
get-entity-plugin-pipelinePlugins executing on an entityentityNamemessageFilter, includeDisabled
get-plugin-trace-logsPlugin trace logsentityName, messageName, correlationId, pluginStepId, exceptionOnly, hoursBack, maxRecords
get-all-plugin-stepsAll SDK message processing stepsincludeDisabled, maxRecords
get-plugin-typeLook up a plugin type by class nametypeName
get-sdk-messageLook up an SDK message by namemessageName
create-plugin-stepRegister a plugin stepname, pluginTypeId, sdkMessageId, stage, moderank, supportedDeployment, description, configuration, sdkMessageFilterId, solutionName

Flows (Power Automate)

ToolDescriptionRequired ParamsOptional
get-flowsList cloud flows (smart filtering)activeOnly, maxRecords, nameContains, excludeSystem, excludeCustomerInsights, excludeCopilotSales
search-workflowsSearch workflows and flowsname, primaryEntity, description, category, statecode, includeDescription, maxResults
get-flow-definitionFull definition or parsed summaryflowIdsummary
get-flow-runsFlow run historyflowIdstatus, startedAfter, startedBefore, maxRecords
get-flow-run-detailsRun details with action-level errorsflowId, runId
cancel-flow-runCancel a running/waiting runflowId, runId
resubmit-flow-runRetry a failed runflowId, runId
scan-flow-healthBatch health scan (success rates)daysBack, maxRunsPerFlow, maxFlows, activeOnly
get-flow-inventoryLightweight flow inventorymaxRecords

Solutions

ToolDescriptionRequired ParamsOptional
get-publishersList publishers, with isreadonly (read-only ones came with managed solutions)writableOnly
get-solutionsList visible solutions
get-solutionGet solution by unique nameuniqueName
get-solution-componentsList components in a solutionsolutionUniqueName
export-solutionExport solution (base64)solutionNamemanaged
add-solution-componentAdd a component to a solutionsolutionUniqueName, componentId, componentTypeaddRequiredComponents
publish-customizationsPublish entity or all customizationsentityLogicalName

Workflows (Classic)

ToolDescriptionRequired ParamsOptional
get-workflowsList classic workflowsactiveOnly, maxRecords
get-workflow-definitionXAML definition or summaryworkflowIdsummary
get-ootb-workflowsBackground, BPFs, actions, on-demandmaxRecords, categories

Business Rules

ToolDescriptionRequired ParamsOptional
get-business-rulesList business rulesactiveOnly, maxRecords
get-business-ruleBusiness rule with XAMLworkflowId

Option Sets

ToolDescriptionRequired Params
get-global-option-setGet a global option set definitionoptionSetName

Configuration

ToolDescriptionRequired ParamsOptional
get-connection-referencesConnection referencesmaxRecords, managedOnly, hasConnection, inactive
get-environment-variablesEnvironment variable definitions + values, with the effective value (credential values masked)maxRecords, managedOnly
create-environment-variableCreate an environment variable definitionschemaName, displayName, typedefaultValue, description, solutionName
set-environment-variable-valueSet or update an environment variable valuedefinitionId, valueexistingValueId

Custom APIs

ToolDescriptionRequired ParamsOptional
get-custom-apisList Custom API definitionsmaxRecords, includeManaged
get-custom-apiGet a Custom API by unique nameuniqueName
create-custom-apiCreate a Custom API definitionuniqueName, name, displayName, bindingType, isFunction, isPrivate, allowedCustomProcessingStepTypedescription, pluginTypeId, pluginTypeName, boundEntityLogicalName, solutionName
get-custom-api-response-propertiesList response propertiescustomApiId
create-custom-api-response-propertyCreate a response propertycustomApiId, uniqueName, name, displayName, typedescription, logicalEntityName, isOptional, solutionName
get-custom-api-request-parametersList request parameterscustomApiId
create-custom-api-request-parameterCreate a request parametercustomApiId, uniqueName, name, displayName, typedescription, logicalEntityName, isOptional, solutionName

Web Resources

ToolDescriptionRequired ParamsOptional
get-web-resourcesList web resourcesmaxRecords, webResourceType, nameFilter
get-web-resourceGet a web resource by namename
create-web-resourceUpload a new web resourcename, displayName, webResourceType, contentdescription, solutionName

Security Roles

ToolDescriptionRequired ParamsOptional
get-security-rolesList customizable security rolessolutionUniqueName, excludeSystemRoles, includePrivileges, maxRecords
get-security-role-privilegesPrivileges for a role (name, accessright, depth mask)roleIdentityFilter, accessRightFilter
list-privilegesBrowse the system privilege catalog to discover privilegeId GUIDs and supported depthsentityFilter, accessRightFilter, maxRecords
create-security-roleCreate a new role (defaults to root BU); optional solutionUniqueName adds it to a solution in one stepnamebusinessUnitId, description, solutionUniqueName
clone-security-roleClone a role with its privileges. Uses CloneAsRole with a create-then-copy fallback when the action isn't availablesourceRoleIdnewName, targetBusinessUnitId, solutionUniqueName
update-security-roleUpdate a role's name, description, or business unitroleIdname, description, businessUnitId, solutionUniqueName
delete-security-roleDelete a role (destructive — requires confirm: true)roleId, confirm
add-security-role-privilegesAppend privileges to a role (AddPrivilegesRole — leaves existing privileges intact)roleId, privileges[]
remove-security-role-privilegesRemove privileges from a role (loops RemovePrivilegeRole)roleId, privilegeIds[]
replace-security-role-privilegesWipe and replace the full privilege set (ReplacePrivilegesRole — destructive, requires confirm: true)roleId, privileges[], confirm

Each item in privileges[] is { privilegeId, depth, businessUnitId? }. Depth is one of Basic (user), Local (BU), Deep (BU + child), Global (org).

Dependencies

ToolDescriptionRequired Params
check-component-dependenciesDependencies blocking deletioncomponentId, componentType
check-delete-eligibilityCheck if a component can be deletedcomponentId, componentType

Service Endpoints

ToolDescriptionOptional
get-service-endpointsService Bus, webhooks, Event Hub, Event GridmaxRecords

MCP Prompts

PromptDescriptionRequired Args
entity-overviewEntity overview with key attributes and relationshipsentityName
attribute-detailsDetailed attribute info (type, format, requirements)entityName, attributeName
query-templateOData query template with example filtersentityName
relationship-mapComplete 1:N and N:N relationship mapentityName

CLI

Same tools as the MCP server, but results are cached to the file system for full-fidelity output on large data sets.

Global Option

--env <name> — target environment (defaults to first configured).

A list command that stops at --max prints a ⚠ line saying so, with the total when Dataverse counted it. flow-health also warns when a flow had more runs in the window than --max-runs (its success rate then covers the latest runs only), when it stopped at --max-flows, and when a flow's runs couldn't be read.

Commands

Entity

entity-metadata <entityName>
entity-attributes <entityName>
entity-attribute <entityName> <attributeName>
entity-relationships <entityName>
entity-keys <entityName>
create-entity <schemaName> <displayName> <displayCollectionName>  [--primary-name-schema <name>] [--primary-name-display <name>] [--description <desc>] [--ownership <UserOwned|OrganizationOwned>] [--has-activities] [--has-notes] [--solution <name>]
create-entity-string-attribute <entityName> <schemaName> <displayName>  [--max-length <n>] [--required-level <level>] [--description <desc>] [--solution <name>]
create-entity-memo-attribute <entityName> <schemaName> <displayName>  [--max-length <n>] [--required-level <level>] [--description <desc>] [--solution <name>]
create-entity-file-attribute <entityName> <schemaName> <displayName>  [--max-size-kb <n>] [--required-level <level>] [--description <desc>] [--solution <name>]
create-entity-integer-attribute <entityName> <schemaName> <displayName>  [--min <n>] [--max <n>] [--required-level <level>] [--description <desc>] [--solution <name>]
create-entity-decimal-attribute <entityName> <schemaName> <displayName>  [--precision <n>] [--min <n>] [--max <n>] [--required-level <level>] [--description <desc>] [--solution <name>]
create-entity-money-attribute <entityName> <schemaName> <displayName>  [--precision-source <0|1|2>] [--precision <n>] [--min <n>] [--max <n>] [--required-level <level>] [--description <desc>] [--solution <name>]
create-entity-boolean-attribute <entityName> <schemaName> <displayName>  [--true-label <label>] [--false-label <label>] [--default-value <true|false>] [--required-level <level>] [--description <desc>] [--solution <name>]
create-entity-datetime-attribute <entityName> <schemaName> <displayName>  [--format <DateOnly|DateAndTime>] [--behavior <UserLocal|DateOnly|TimeZoneIndependent>] [--required-level <level>] [--description <desc>] [--solution <name>]
create-entity-picklist-attribute <entityName> <schemaName> <displayName>  [-o <value:label>]... [--required-level <level>] [--description <desc>] [--solution <name>]
create-entity-lookup <referencingEntity> <referencedEntity> <relationshipSchemaName> <lookupSchemaName> <displayName>  [--required-level <level>] [--description <desc>] [--cascade-delete <NoCascade|RemoveLink|Restrict|Cascade>] [--solution <name>]
create-entity-alternate-key <entityName> <schemaName> <displayName> <keyAttributes...>  [--solution <name>]
delete-entity-attribute <entityName> <attributeName>

Records

record <entityNamePlural> <recordId>
query-records <entityNamePlural> <filter>  [--max <n>]
create-record <entityNamePlural> <jsonBody>
update-record <entityNamePlural> <recordId> <jsonBody>
delete-record <entityNamePlural> <recordId>
associate-records <entityNamePlural> <recordId> <navigationProperty> <relatedEntityNamePlural> <relatedRecordId>
disassociate-records <entityNamePlural> <recordId> <navigationProperty> [relatedRecordId]

Plugins

plugin-assemblies                          [--include-managed] [--max <n>]
plugin-assembly <assemblyName>             [--include-disabled]
plugin-packages                            [--include-managed] [--max <n>]
plugin-type <typeName>
entity-pipeline <entityName>               [--message <msg>] [--include-disabled]
plugin-trace-logs                          [--entity <name>] [--message <msg>] [--correlation-id <id>] [--step-id <id>] [--hours <n>] [--max <n>] [--exceptions-only]
all-plugin-steps                           [--include-disabled] [--max <n>]
sdk-message <messageName>
register-plugin-package <filePath>         --name <name> --unique-name <uniqueName> [--pkg-version <version>] [--solution <name>]
update-plugin-package <filePath>           --plugin-package-id <id> [--pkg-version <version>]
create-plugin-step <name> <pluginTypeId> <sdkMessageId>  [--stage <n>] [--mode <n>] [--rank <n>] [--supported-deployment <n>] [--description <desc>] [--configuration <cfg>] [--message-filter-id <id>] [--solution <name>]
create-plugin-step-image <stepId>          [--name <name>] [--entity-alias <alias>] [--image-type <0|1|2>] [--message-property-name <name>] [--attributes <csv>]

Flows

flows                                      [--active] [--name <contains>] [--include-managed] [--max <n>]
flow-definition <flowId>                   [--summary]
flow-inventory                             [--max <n>]
flow-runs <flowId>                         [--status <s>] [--after <iso>] [--before <iso>] [--max <n>]
flow-run-details <flowId> <runId>
flow-health                                [--days <n>] [--max-runs <n>] [--max-flows <n>] [--active]
search-workflows                           [--name <name>] [--entity <entity>] [--category <n>] [--active] [--max <n>]
create-cloud-flow <clientDataFile>         --name <name> [--primary-entity <entity>] [--solution <name>]
activate-flow <flowId>
deactivate-flow <flowId>

Solutions

solutions
solution <uniqueName>
solution-components <uniqueName>
publishers                                 [--writable-only]
add-solution-component <solutionUniqueName> <componentId> <componentType>  [--add-required]
publish-customizations                     [--entity <logicalName>]

Workflows

workflows                                  [--active] [--max <n>]
workflow-definition <workflowId>           [--summary]
ootb-workflows                             [--categories <0,1,2,3,4>] [--max <n>]

Business Rules

business-rules                             [--active] [--max <n>]
business-rule <workflowId>

Option Sets

optionset <optionSetName>

Dependencies

check-dependencies <componentId> <componentType>

Configuration

connection-references                      [--managed-only] [--has-connection] [--no-connection] [--inactive] [--max-records <n>]
create-connection-reference <logicalName> <displayName> <connectorId>  [--description <desc>] [--solution <name>]
environment-variables                      [--managed-only] [--max-records <n>] [--show-values]
create-environment-variable <schemaName> <displayName>  [--type <type>] [--default-value <val>] [--description <desc>] [--solution <name>]
set-environment-variable-value <definitionId> <value>   [--existing-value-id <id>]

environment-variables and the get-environment-variables tool mask credential values as *** (N chars). A value is masked when the variable is Secret-type, its name looks like a credential (secret, password, key, token, connection string, …), the value itself looks like one (a JWT, AccountKey=, Bearer …), or it is JSON with a credential-named key. Each variable says valueMasked and maskReason. plaintextCredential flags a literal credential stored in place of a Key Vault reference. The MCP tool always masks; the CLI prints and caches values in clear only with --show-values.

Custom APIs

custom-apis                                [--include-managed] [--max <n>]
custom-api <uniqueName>
create-custom-api <uniqueName> <displayName>  [--binding-type <n>] [--bound-entity <name>] [--is-function] [--is-private] [--processing-type <n>] [--plugin-type-id <id>] [--plugin-type-name <name>] [--description <desc>] [--solution <name>]
custom-api-response-properties <customApiId>
create-custom-api-response-property <customApiId> <uniqueName> <displayName>  [--type <n>] [--description <desc>] [--logical-entity <name>] [--solution <name>]
custom-api-request-parameters <customApiId>
create-custom-api-request-parameter <customApiId> <uniqueName> <displayName>  [--type <n>] [--description <desc>] [--logical-entity <name>] [--optional] [--solution <name>]

Web Resources

web-resources                              [--type <n>] [--name <contains>] [--max <n>]
web-resource <name>
create-web-resource <name> <displayName> <filePath>  [--type <n>] [--description <desc>] [--solution <name>]
set-entity-icon <entityName> <svgFilePath>  [--solution <name>] [--web-resource-name <name>] [--display-name <name>] [--no-publish]

Forms & Views

entity-forms <entityName>                  [--type <n>]
entity-form-fields <formId>
add-form-field <entityName> <formId> <attributeName>
remove-form-field <entityName> <formId> <attributeName>
set-form-layout <entityName> <formId> <layoutFile>       [--dry-run]
entity-views <entityName>
add-view-column <entityName> <viewId> <attributeName>   [--width <n>]
set-view-columns <entityName> <viewId> <columns...>     [--order-by <attr>] [--desc] [--find-columns <a,b>]
create-view <entityName> <name> <columns...>            [--order-by <attr>] [--desc] [--description <text>] [--state <active|inactive|all>] [--filter-xml <xml>] [--solution <name>]
remove-view-column <entityName> <viewId> <attributeName>

set-view-columns takes columns as name:width (e.g. contoso_name:250) and keeps the view's filters. On a Quick Find view, --find-columns also replaces the text and lookup columns the search box matches on.

create-view creates a public view on the table. If the table already has a view with that name, it updates that view instead, so you can safely run it again. By default the view lists active records; --filter-xml adds extra FetchXML <filter> elements.

set-form-layout replaces the form's tabs with the layout in a JSON file. It also replaces the header if the file has a header key; leave the key out to keep the current header, or set it to [] to remove it. Events, libraries, navigation and the footer are kept.

  • Fields: an item is a column logical name, or an object when it needs other settings. Labels default to the column's display name, and each control gets the classid for its column type.
  • Ids: tab, section and cell ids are derived from the form id and names. Re-applying a layout keeps the same ids.
  • Checks: the command rejects unknown or duplicate columns. It lists any custom columns left off the form.
  • --dry-run: builds the formxml into the cache without saving it.
{
  "header": [{ "field": "contoso_score", "readOnly": true }, "contoso_band"],
  "tabs": [{
    "name": "general", "label": "General",
    "columns": [
      { "width": "66%", "sections": [
        { "name": "details", "label": "Details", "items": ["contoso_name", { "field": "contoso_points", "readOnly": true }] },
        { "name": "points", "label": "Points", "columns": 2, "items": ["contoso_bonuspoints", "contoso_basepoints"] },
        { "name": "tasks", "label": "Tasks", "showLabel": false, "items": [{
          "subgrid": "Tasks", "label": "Tasks", "entity": "contoso_task",
          "relationship": "contoso_project_contoso_task_projectid",
          "viewId": "00000000-0000-0000-0000-000000000001", "recordsPerPage": 10
        }] },
        { "name": "hidden", "label": "Hidden", "visible": false, "items": ["contoso_state"] }
      ] },
      { "width": "34%", "sections": [
        { "name": "system", "label": "System", "items": [{ "field": "createdon", "readOnly": true }, { "field": "ownerid", "visible": false }] }
      ] }
    ]
  }]
}

A tab can give sections in place of columns, as shorthand for a single 100% column. These are the item options:

ItemOptions
Fieldfield, label, readOnly, visible, showLabel
Subgridsubgrid (control name), label, entity, relationship (leave out to list all records), viewId, recordsPerPage (default 5), enableViewPicker, enableQuickFind, showLabel, visible

Sections take name, label, showLabel, visible, columns (1–4) and items; tabs take name, label, showLabel, visible, expanded and columns or sections. Subgrids are written without rowspan: Unified Interface sizes the grid from recordsPerPage, and a rowspan would hide the cells below it.

PAC Integration

pac-auth                                   Authenticate pac CLI using environment credentials
generate-models <outdirectory>             [--settings <path>] [--entities <filter>] [--namespace <ns>]
deploy-plugin <pluginFile>                 --plugin-id <id> [--type <Nuget|Assembly>] [--configuration <config>]

Security Roles

security-roles                             [--solution <name>] [--include-system] [--include-privileges] [--max-records <n>]
security-role-privileges <roleId>          [--entity <name>] [--access-right <type>]
privileges                                 [--entity <name>] [--access-right <type>] [--max-records <n>]
create-security-role                       --name <name> [--bu <id>] [--description <desc>] [--solution <name>]
clone-security-role <sourceRoleId>         [--name <name>] [--target-bu <id>] [--solution <name>]
update-security-role <roleId>              [--name <name>] [--description <desc>] [--bu <id>] [--solution <name>]
delete-security-role <roleId>              --yes
add-role-privileges <roleId>               --privileges <spec>     # JSON array or shorthand <guid>:<Basic|Local|Deep|Global>,...
remove-role-privileges <roleId>            --privileges <id,id,id>
replace-role-privileges <roleId>           --privileges <spec> --yes

Service Endpoints

service-endpoints                          [--max <n>]

Development

git clone https://github.com/michsob/powerplatform-mcp.git
cd powerplatform-mcp
npm install
cp .env.example .env   # fill in credentials
npm run build
npm run inspector      # test with MCP Inspector

Releasing

To publish a new version:

  1. Update version in package.json and package.cli.json (the CLI is published with the version from package.json; keep the two in step)
  2. Merge the change to main
  3. Tag that commit on main with the same version and push the tag:
    VERSION=v$(node -p "require('./package.json').version")
    git tag "$VERSION"
    git push origin "$VERSION"
    
    The publish workflow refuses a tag that is not on main or does not match package.json.

GitHub Actions will automatically publish:

PackagenpmGitHub PackagesDocker (GHCR)
MCP Servernpm i powerplatform-mcpnpm i @michsob/powerplatform-mcpghcr.io/michsob/powerplatform-mcp
CLInpm i powerplatform-clinpm i @michsob/powerplatform-clighcr.io/michsob/powerplatform-cli

npm publishing uses Trusted Publishing (OIDC) — no tokens or secrets needed. GitHub Packages and GHCR use the built-in GITHUB_TOKEN automatically.

License

MIT

PowerPlatform MCP server

MseeP.ai Security Assessment Badge

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for PowerPlatform MCP server and CLI for Dataverse environments from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/powerplatform-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools