SharingIsCaring
A collection of Power Platform custom connectors, MCP servers, and connector code samples for Microsoft Graph APIs, document collaboration, and enterprise services.
Ask AI about SharingIsCaring
Powered by Claude Β· Grounded in docs
I know everything about SharingIsCaring. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
#SharingIsCaring
A collection of Power Platform custom connectors with Model Context Protocol (MCP) integration for Microsoft Copilot Studio agents.
Overview
This repository contains custom connectors that operate in dual mode:
- Direct API operations for Power Automate flows and Power Apps
- MCP protocol support for natural language tool invocation in Copilot Studio
All connectors use custom code (C# scripts) to implement both REST API handlers and MCP JSON-RPC 2.0 protocol, eliminating the need for external servers or Azure dependencies.
Connectors
Agent 365 MCP
Applications Insights Logging
Bookings
Microsoft Bookings connector with 30 MCP tools for managing booking businesses, services, staff, customers, and appointments via Microsoft Graph API.
Connector-Code
Collection of connector code samples and patterns.
Copilot Licensing
Copilot Studio credits consumption monitoring and licensing management.
Copilot Retrieval
Crunchbase
Access to Crunchbase company, people, and funding data.
Dataverse Custom API
Execute custom Dataverse APIs via Power Platform connector.
Dataverse Power Agent
Dataverse Power Orchestration Tools
49 MCP tools exposing comprehensive Dataverse operations plus orchestration capabilities.
Features:
- 45 Dataverse Web API operations across 11 categories (READ, WRITE, BULK, RELATIONSHIPS, METADATA, etc.)
- 4 orchestration tools for intelligent tool discovery and execution:
discover_functionsβ Find available tools/resources/promptsinvoke_toolβ Trigger a specific toolorchestrate_planβ Coordinate multi-step operationslearn_patternsβ Retrieve organizational learning from Dataverse
- Dynamic tool loading from Dataverse table (
tst_agentinstructions) - Self-learning pattern recognition and storage
- OAuth 2.0 authentication with Microsoft Dataverse
Graph Calendar
Microsoft Graph Calendar operations with MCP support for Copilot Studio agents.
Graph Hashes
File hash computation and verification for Microsoft Graph files with 4 MCP tools.
Features:
- QuickXorHash algorithm (OneDrive/SharePoint standard)
- SHA1 and CRC32 hash computation
- File integrity verification against Microsoft Graph stored hashes
- Change detection and deduplication
Graph Mail
Microsoft Graph Mail operations for email management via Power Platform.
Microsoft Places
Microsoft Places API integration for workspace and location management.
Microsoft Users
Comprehensive user profile, organizational hierarchy, presence, and people discovery with 25 MCP tools. Enhanced alternative to Microsoft's first-party User Profile MCP Server.
SharePoint Embedded
SharePoint Embedded container and content management.
Snowflake
Snowflake data warehouse connector for Power Platform.
Architecture
Custom Code Connectors
Each connector follows this pattern:
connector-folder/
βββ apiDefinition.swagger.json # OpenAPI 2.0 with x-ms-* extensions
βββ apiProperties.json # Marks operations using scriptOperations
βββ script.csx # C# (.NET Standard 2.0) dual-mode handler
βββ readme.md # Documentation
Dual-Mode Implementation
script.csx routes requests by path:
/mcpendpoint β MCP JSON-RPC 2.0 protocol (initialize,tools/list,tools/call)/operationendpoints β Direct REST API for Power Automate/Power Apps
MCP Protocol Support
Connectors marked with "x-ms-agentic-protocol": "mcp-streamable-1.0" in OpenAPI definitions expose:
- tools/list β Returns available MCP tools with descriptions and JSON schemas
- tools/call β Executes tools by name with natural language arguments
- initialize β Capability negotiation with Copilot Studio
Getting Started
Prerequisites
- Power Platform environment
- Appropriate Microsoft 365 licenses
- Microsoft Graph API permissions (varies by connector)
- Power Automate or Copilot Studio license
Deployment
- Navigate to Power Platform maker portal
- Select target environment
- Data β Custom connectors β New custom connector β Import an OpenAPI file
- Upload
apiDefinition.swagger.jsonfrom connector folder - On Code tab, enable custom code
- Paste contents of
script.csx - Create connector
- Test connection with OAuth flow
Using in Power Automate
Add connector actions to flows like any other connector. Operations appear as standard actions with IntelliSense support.
Using in Copilot Studio
- Add connector to your Copilot Studio environment
- Create connection with appropriate permissions
- Enable actions in agent's knowledge sources
- Agent automatically discovers and invokes tools based on natural language
Technical Details
Branding
All connectors use Microsoft Orange Red (#da3b01) as the brand color in apiProperties.json.
Authentication
- OAuth 2.0 with Microsoft Entra ID (Azure AD)
- Scopes vary by connector (Graph API, Dataverse, etc.)
- No API keys or connection strings required
Limitations
- Power Platform execution limits β 5-10 second timeout for connector operations
- File size limits β Base64 encoding overhead, typically 50 MB max
- Read-only where applicable β Some connectors don't support write operations
- Graph API rate limits β Standard Microsoft Graph throttling applies
Development
Validation
# Install Power Platform CLI
paconn login # Device code flow
# Validate connector
cd connector-folder
paconn validate --api-def apiDefinition.swagger.json
Testing
Connectors cannot run locally. Deploy to Power Platform and test via:
- Flow action tester in Power Automate
- "Test" tab in connector designer
- Copilot Studio agent conversations
Contributing
This repository represents production connectors in use. Contributions welcome for:
- Bug fixes
- Documentation improvements
- New MCP tool suggestions
- Performance optimizations
License
MIT License - see individual connector folders for specific licensing details.
Contact
Developer: Troy Taylor
Email: troytaylor@microsoft.com
Organization: Microsoft
Resources
- Power Platform Custom Connectors
- Model Context Protocol Specification
- Microsoft Graph API
- Copilot Studio Documentation
- Power Automate Connector Development
β Star this repo if you find these connectors useful!
