How thelobbi/claude-m works
Claude-m is a Claude Code marketplace for Microsoft cloud skill packs, with a TypeScript MCP host exposing selected plugin tools. The main workflow is engineer → Claude Code → marketplace/plugin tools → Microsoft services. The repository also contains a separate Microsoft Graph MCP server with broad M365 tools, authentication, change notifications, and auditing. README capability areas are represented at a high level; plugin skill-pack internals are not present in the supplied tree, so their wiring is not inferred.
Main entry points: index.ts Claude-m marketplace · server.ts Graph MCP server · webhookReceiver.ts Change notifications · resource-client.ts Resource API client
Components 22
Marketplace runtime
- Claude-m marketplace
src/index.ts - Plugin registry
src/registry.ts - Plugin base
src/plugins/base.ts
Plugin adapters
- Azure adapter
src/plugins/azure.ts - Excel adapter
src/plugins/excel.ts - Outlook adapter
src/plugins/outlook.ts - SharePoint adapter
src/plugins/sharepoint.ts - Teams adapter
src/plugins/teams.ts
Graph MCP server
- Graph MCP server
ms-graph-omni/src/server.ts - Graph tool registry
ms-graph-omni/src/tools/index.ts
Graph capabilities
- M365 productivity tools
ms-graph-omni/src/tools - Cloud and identity tools
ms-graph-omni/src/tools - Search and analytics
ms-graph-omni/src/tools/search.ts - Change notifications
ms-graph-omni/src/streaming/webhookReceiver.ts - Change-feed buffer
ms-graph-omni/src/streaming/changeFeed.ts
Auth and observability
- Authentication clients
ms-graph-omni/src/auth - Resource API client
ms-graph-omni/src/auth/resource-client.ts - Audit and latency
ms-graph-omni/src/observability
Other components
- Engineer or analyst
- Claude Code
- Azure Resource Manager
- Microsoft Graph
Connections 22
- Engineer or analyst → Claude Code: prompts
- Claude Code → Claude-m marketplace: installs plugins
- Claude-m marketplace → Plugin registry: loads
- Claude-m marketplace → Azure adapter: dispatches tools
- Claude-m marketplace → Excel adapter: dispatches tools
- Claude-m marketplace → Outlook adapter: dispatches tools
- Claude-m marketplace → SharePoint adapter: dispatches tools
- Claude-m marketplace → Teams adapter: dispatches tools
- Azure adapter → Azure Resource Manager: calls ARM
- Excel adapter → Claude-m marketplace: returns results
- SharePoint adapter → Claude-m marketplace: returns results
- Graph MCP server → Graph tool registry: registers tools
- Graph MCP server → Audit and latency: wraps calls
- Graph MCP server → Change-feed buffer: reads notifications
- Graph MCP server → Claude Code: serves MCP
- Change notifications → Change-feed buffer: records events
- Change notifications → Microsoft Graph: receives notifications
- Search and analytics → Microsoft Graph: queries search
- Resource API client → Authentication clients: gets resource token
- Resource API client → Microsoft Graph: sends resource requests
- M365 productivity tools → Microsoft Graph: uses Graph
- Cloud and identity tools → Microsoft Graph: uses Graph