Enterprise AI · Distributed Systems
Unified MCP Tool Runtime for Enterprise AI
A high-performance .NET MCP server standardizing tool contracts and action dispatch across commercial and enterprise AI assistants — operating under delegated user identity with strict access control.
Role
Software Engineer
Period
2026
Source
Client-confidential
01 — Context
Modern enterprise workflows increasingly originate inside conversational assistants — drafting structured updates, querying internal data, and coordinating operational tasks. However, bridging assistant outputs into operational enterprise platforms often remains a disjointed manual process.
Connecting one assistant is typically done with a quick plugin. Unifying three or four across an organization is where systemic complexity emerges, because every assistant has its own integration format — and because enterprise mutations are a write. A tool that reads the wrong record is an annoyance; a tool that executes an unauthorized action, or acts as the wrong identity, is a severe security incident.
02 — Architecture
Model Context Protocol (MCP) serves as the unified integration contract. Built on ASP.NET Core, the server owns the tool definitions, handles Entra ID OAuth 2.0 token exchanges, validates execution destinations, and dispatches enterprise API calls. Every assistant above it is interchangeable.
Clients
M365 Copilot
declarative agent
Claude
same server
ChatGPT
same server
Web App
Next.js client
MCP server · .NET
Tool contract
Entra ID · on-behalf-of
Target validator
API dispatcher
Enterprise APIs
Microsoft Graph
identity & workspace
Channels & Chats
delegated access
Workplace Services
enterprise endpoints
Multiple clients, one contract — tools execute under the signed-in user's identity, targeting verified destinations.
03 — Decisions & trade-offs
MCP as the universal integration contract, not per-assistant plugins
One server, multiple consumer models. Cost: tools must be designed to the lowest common denominator across client capabilities, while navigating an evolving specification. Benefit: Claude and ChatGPT each came online in under a day after Copilot — configuration, not a secondary integration. As the model landscape evolves, the enterprise execution layer remains decoupled and durable.
On-behalf-of identity, never a privileged service account
The signed-in user’s token is exchanged and every downstream API call executes with delegated authority. Cost: reconciling different authentication flows across heterogeneous assistant clients is complex plumbing. Benefit: actions are attributed directly to the initiating user, completely eliminating privilege escalation and avoiding duplicate permission models in the AI layer.
Two-phase target validation before action dispatch
The model resolves and validates target entities first, then dispatches the action against verified identifiers. Cost: two round trips for what feels like one action. Benefit: the model cannot hallucinate endpoints or invalid targets — it can only interact with verified resources returned by enterprise directory services.
04 — Impact
12+ tools
Standardized across query, validation and dispatch
3 clients
Copilot, Claude and ChatGPT on one server
< 1 day
To onboard each new assistant client
Architecting enterprise AI tool layers?
Standardizing MCP servers on .NET and navigating multi-client on-behalf-of identity flows is where enterprise AI teams encounter the most friction. Open to comparing notes or discussing architecture patterns.