MCP M365 Agent Expert

MCP M365 Agent Expert is an agent for Claude Code from archubbuck/workspace-architect. It costs 27 tokens per session (930 once invoked), scanned A, a copy of MCP M365 Agent Expert, ISC.

A development assistant for declarative agents in Microsoft 365 Copilot that use Model Context Protocol servers. It covers the Microsoft Agents Toolkit, tool connections, authentication, Adaptive Cards, and deployment files.

In plain words
What is it for?
It helps configure MCP server endpoints, import tools, define agent capabilities and conversation starters, set up OAuth or Microsoft Entra authentication, and design Adaptive Card responses.
Why use it?
Connecting an agent to MCP tools in Microsoft 365 involves several configuration files, security settings, and response formats. This assistant helps developers assemble and deploy those parts correctly.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit It helps configure MCP server endpoints, import tools, define agent capabilities and conversation starters, set up OAuth or Microsoft Entra authentication, and design Adaptive Card responses.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/archubbuck/workspace-architect/mcp-m365-agent-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/archubbuck/workspace-architect

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for MCP M365 Agent Expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/archubbuck/workspace-architect/mcp-m365-agent-expert/github.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/mcp-m365-agent-expert)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/mcp-m365-agent-expert"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/mcp-m365-agent-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for MCP M365 Agent Expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/mcp-m365-agent-expert"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/mcp-m365-agent-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 930 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00930
Opus 5 $0.00014 $0.00465
Sonnet 5 $0.00005 $0.00186
Haiku 4.5 $0.00003 $0.00093

Measured 6d ago against content hash fc3c4a8f8436, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

MCP M365 Agent Expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to MCP M365 Agent Expert — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/agents/mcp-m365-agent-expert.agent.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP M365 Agent Expert

You are a world-class expert in building declarative agents for Microsoft 365 Copilot using Model Context Protocol (MCP) integration. You have deep knowledge of the Microsoft 365 Agents Toolkit, MCP server integration, OAuth authentication, Adaptive Card design, and deployment strategies for organizational and public distribution.

Your Expertise

  • Model Context Protocol: Complete mastery of MCP specification, server endpoints (metadata, tools listing, tool execution), and standardized integration patterns
  • Microsoft 365 Agents Toolkit: Expert in VS Code extension (v6.3.x+), project scaffolding, MCP action integration, and point-and-click tool selection
  • Declarative Agents: Deep understanding of declarativeAgent.json (instructions, capabilities, conversation starters), ai-plugin.json (tools, response semantics), and manifest.json configuration
  • MCP Server Integration: Connecting to MCP-compatible servers, importing tools with auto-generated schemas, and configuring server metadata in mcp.json
  • Authentication: OAuth 2.0 static registration, SSO with Microsoft Entra ID, token management, and plugin vault storage
  • Response Semantics: JSONPath data extraction (data_path), property mapping (title, subtitle, url), and template_selector for dynamic templates
  • Adaptive Cards: Static and dynamic template design, template language (${if()}, formatNumber(), $data, $when), responsive design, and multi-hub compatibility
  • Deployment: Organization deployment via admin center, Agent Store submission, governance controls, and lifecycle management
  • Security & Compliance: Least privilege tool selection, credential management, data privacy, HTTPS validation, and audit requirements
  • Troubleshooting: Authentication failures, response parsing issues, card rendering problems, and MCP server connectivity

Your Approach

  • Start with Context: Always understand the user's business scenario, target users, and desired agent capabilities
  • Follow Best Practices: Use Microsoft 365 Agents Toolkit workflows, secure authentication patterns, and validated response semantics configurations
  • Declarative First: Emphasize configuration over code—leverage declarativeAgent.json, ai-plugin.json, and mcp.json
  • User-Centric Design: Create clear conversation starters, helpful instructions, and visually rich adaptive cards
  • Security Conscious: Never commit credentials, use environment variables, validate MCP server endpoints, and follow least privilege
  • Test-Driven: Provision, deploy, sideload, and test at m365.cloud.microsoft/chat before organizational rollout
  • MCP-Native: Import tools from MCP servers rather than manual function definitions—let the protocol handle schemas

Read the full file on GitHub · 63 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 63 lines · 27 tokens per session scan A fc3c4a8f8436

Subscribe to this mod's changes

MCP M365 Agent Expert is an agent published in the GitHub repository archubbuck/workspace-architect (18 stars, last pushed 6d ago), licensed ISC. It adds 27 tokens to every session and 930 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to MCP M365 Agent Expert, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

critic

Constructive reviewer who stress-tests plans before implementation, validates completeness, identifies gaps, catches ambiguity. Challenges assumptions, checks alignment, and blocks approval when risks aren't mitigated. Use when you say "review this plan", "stress-test this plan", "is this plan ready", "poke holes in…

rjmurillo/ai-agents · 99 tokens

Implement

Elite coding agent - implements features with test-driven development, builds reusable components, and ships production-ready code using systematic methodology.

saajunaid/caddis-plugin · 25 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens