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.
git clone --depth 1 https://github.com/archubbuck/workspace-architectWrote 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.
[](https://agentmods.dev/agents/archubbuck/workspace-architect/mcp-m365-agent-expert)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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
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.
- 6d ago First seen · 63 lines · 27 tokens per session scan A fc3c4a8f8436
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.
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…
Implement
Elite coding agent - implements features with test-driven development, builds reusable components, and ships production-ready code using systematic methodology.
Demonstrate
Agent for demonstrating VS Code features.
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.
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.
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.