DarBotLabs.PowerAgent.MCP 1.0.1

dotnet add package DarBotLabs.PowerAgent.MCP --version 1.0.1
                    
NuGet\Install-Package DarBotLabs.PowerAgent.MCP -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DarBotLabs.PowerAgent.MCP" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DarBotLabs.PowerAgent.MCP" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="DarBotLabs.PowerAgent.MCP" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DarBotLabs.PowerAgent.MCP --version 1.0.1
                    
#r "nuget: DarBotLabs.PowerAgent.MCP, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DarBotLabs.PowerAgent.MCP@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DarBotLabs.PowerAgent.MCP&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=DarBotLabs.PowerAgent.MCP&version=1.0.1
                    
Install as a Cake Tool

Power Agent MCP - Enterprise AI SDK for Microsoft Power Platform

NuGet Downloads

Enterprise-grade Model Context Protocol (MCP) server providing AI assistants with comprehensive programmatic access to the Microsoft Power Platform ecosystem.

🚀 Quick Start

Installation

Install-Package DarBotLabs.PowerAgent.MCP

Basic Usage

using DarBotLabs.PowerAgent.MCP;

// Initialize the Power Agent MCP server
var mcpServer = new PowerAgentMcpServer();

// Start the server with your configuration
await mcpServer.StartAsync(new McpConfiguration
{
    TenantId = "your-tenant-id",
    ApplicationId = "your-app-id",
    ClientSecret = "your-client-secret"
});

// The server now provides 254+ tools for Power Platform automation

🎯 What You Get

  • 🤖 Natural Language API: Describe operations in plain English - no CLI memorization required
  • 📈 Complete Platform Coverage: Every Power Platform capability accessible through AI
  • 🏢 Production-Grade Security: Service Principal, Managed Identity, Workload Identity Federation
  • 🔧 Zero Learning Curve: AI handles syntax, parameters, and orchestration automatically
  • 🚀 Extensible Framework: Proven patterns for integrating additional enterprise systems

📋 Feature Overview

🔧 Power Platform SDK (162+ tools)

  • Environment Management - Complete lifecycle operations
  • Solution Development - Full DevOps automation
  • Application Lifecycle - Canvas apps, model-driven apps
  • AI & Copilot Management - Agent creation and deployment
  • Security & Governance - DLP, compliance, auditing

📊 Dataverse SDK (25+ tools)

  • Entity Management - Create/delete custom tables
  • Column Management - Configure attributes and data types
  • Record Operations - CRUD operations on all data
  • Query Operations - FetchXML and OData execution
  • Bulk Operations - Import/export large datasets

💾 SQL Server SDK (7+ tools)

  • Database Operations - Schema management and queries
  • Data Manipulation - CRUD operations with optimization
  • Connection Management - Multi-database support
  • Performance Monitoring - Query analysis and tuning

🎨 Adaptive Cards SDK (10+ tools)

  • Card Creation - Rich UI components for Copilot Studio
  • Template Management - Reusable card patterns
  • Data Integration - Dynamic cards from Dataverse
  • Deployment Automation - Direct integration with copilots

📚 Documentation

🔐 Authentication

var config = new McpConfiguration
{
    TenantId = Environment.GetEnvironmentVariable("POWERPLATFORM_TENANT_ID"),
    ApplicationId = Environment.GetEnvironmentVariable("POWERPLATFORM_APPLICATION_ID"),
    ClientSecret = Environment.GetEnvironmentVariable("POWERPLATFORM_CLIENT_SECRET")
};

Managed Identity (Azure environments)

var config = new McpConfiguration
{
    UseManagedIdentity = true,
    TenantId = "your-tenant-id"
};

💡 Usage Examples

Environment Management

// Create a new development environment
await mcpServer.ExecuteToolAsync("pp_create_environment", new
{
    displayName = "AI Innovation Lab",
    region = "unitedstates",
    type = "Sandbox"
});

// List all environments
var environments = await mcpServer.ExecuteToolAsync("pp_list_environments");

Solution Automation

// Export and pack solution for deployment
await mcpServer.ExecuteToolAsync("pp_export_solution", new
{
    solutionName = "CustomerPortal",
    managed = false
});

await mcpServer.ExecuteToolAsync("pp_pack_solution", new
{
    folder = "./CustomerPortal",
    zipfile = "./CustomerPortal.zip"
});

Dataverse Operations

// Create custom entity
await mcpServer.ExecuteToolAsync("pp_dv_entity_create", new
{
    displayName = "Project",
    logicalName = "new_project",
    description = "Custom project management entity"
});

// Query data with OData
var projects = await mcpServer.ExecuteToolAsync("pp_dv_query_odata", new
{
    entityName = "new_project",
    filter = "statuscode eq 1"
});

🏢 Enterprise Features

  • Multi-tenant Security - Secure isolation for enterprise environments
  • Audit & Compliance - Complete operation logging and traceability
  • Performance Monitoring - Built-in metrics and health checks
  • Error Recovery - Graceful failure handling and retry mechanisms
  • Extensible Architecture - Easy integration with additional Microsoft services

📊 System Requirements

  • .NET 6.0 or later
  • Windows 10/11 or Windows Server 2019+
  • Power Platform CLI (automatically managed)
  • Valid Microsoft 365 or Power Platform license
  • Azure AD Application with appropriate permissions

🤝 Support & Community

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🏷️ Version History

v1.0.0 (Current)

  • ✅ Initial production release
  • ✅ 254+ specialized tools for complete Power Platform coverage
  • ✅ Enterprise authentication support
  • ✅ Production-ready error handling and monitoring
  • ✅ Comprehensive documentation and examples

Enterprise SDK built with ❤️ for the Microsoft Power Platform developer community

Copyright © 2024 Darbot Labs. All rights reserved.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 163 7/10/2025
1.0.0 146 7/10/2025

Version 1.0.1: Enhanced package with comprehensive documentation, installation instructions, usage examples, and complete API reference. Improved package discoverability and developer experience with detailed README and expanded tool descriptions.