Genaiscript PAC AZ MCP Server

Enables interaction with Graph API, Azure REST API using Azure CLI, and Power Platform APIs using Power Platform CLI within GenAIScript.

Local serverstdio★ 4

What is the Genaiscript PAC AZ MCP Server?

Enables interaction with Graph API, Azure REST API using Azure CLI, and Power Platform APIs using Power Platform CLI within GenAIScript.

What the server does

This repository contains the Model Context Protocol (MCP) tools for using Graph API, Azure REST API using Azure CLI, and Power Platform Admin APIs/Dataverse APIs using Power Platform CLI.

GenAIScript is a framework that enables you to communicate with AI models (even local models). GenAIScript can use MCP tools, and can also act as the MCP server.

Credentials and setup notes

  1. VSCode Insiders - March 2025 version or Claude Desktop 2. Azure CLI and Power Platform CLI installed, and authenticated on your local machine, if you are not using the DevContainer option. 3. Dev Container CLI, if you want to run MCP inside a Dev Container. 4. Docker, if you want to run Dev

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Genaiscript PAC AZ MCP Server

{
    "globalShortcut": "Ctrl+Space",
    "mcpServers": {
        "genaiscript-mcp": {
            "type": "stdio",
            "command": "cmd",
            "args": [
                "/c",
                "npx",
                "genaiscript",
                "mcp",
                "--remote",
                "https://github.com/rajyraman/genaiscript-pac-az-mcp/",
                "--remote-branch",
                "main",
                "--groups",
                "mcp",
                "--startup",
		"mcp_resources"
            ],
            "env": {
                "DEBUG": "*"
            }
        }
    }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  1. VSCode Insiders - March 2025 version or Claude Desktop 2. Azure CLI and Power Platform CLI installed, and authenticated on your local machine, if you are not using the DevContainer option. 3. Dev Container CLI, if you want to run MCP inside a Dev Container. 4. Docker, if you want to run Dev
VariableDescriptionRequired
DEBUGConfiguration value read at startup.Optional
PAC_CLIENT_IDConfiguration value read at startup.Optional
PAC_CLIENT_SECRETCredential the server authenticates with.Yes
ENVIRONMENT_URLEndpoint or connection string the server talks to.Yes
TENANT_IDConfiguration value read at startup.Optional
AZ_CLIENT_IDConfiguration value read at startup.Optional
AZ_CLIENT_SECRETCredential the server authenticates with.Yes

Frequently asked questions

Yes, you can run Genaiscript PAC AZ remotely via the GenAIScript CLI. This eliminates the need for local installations of the GenAIScript extension.