
Microsoft 365 Agents Toolkit MCP Server: Setup for VS Code and Other Apps
Gives your assistant Microsoft 365 and Copilot agent manifest schemas, plus pointers to official docs, samples and issue search.
This is Microsoft's own server for developers who use the Microsoft 365 Agents Toolkit. It does not touch your Microsoft 365 data. One tool fetches the current manifest schemas from Microsoft. The other three return fixed guides that point your assistant at Microsoft Learn and GitHub issue search, so they work best with Microsoft Learn MCP server and the GitHub MCP server connected. The README sets it up for VS Code with GitHub Copilot, and the package also runs in other apps that start local servers.
Good for
- Developers building declarative agents for Microsoft 365 Copilot
- Teams developers who write app manifests and need the right schema
- Developers debugging agent provisioning and manifest errors
Works in
12 should work
Tap an app to see how to set it up and any known problems.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Client does not support this transport.
Client does not support this transport.
Install microsoft-365-agents-toolkit MCP
Claude Code
- 1
Copy this prompt.
Add the microsoft-365-agents-toolkit MCP server to Claude Code. Run this command: claude mcp add m365agentstoolkit -- npx -y @microsoft/m365agentstoolkit-mcp@latest server start Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
The command ends with server start. Without it the package does not start the MCP server. Add it to .vscode/mcp.json for VS Code with GitHub Copilot in Agent mode, then refresh the tools list.
From the project README. Source.
Tools
Gets the official schema for an agent file
Fetches the schema for an app manifest, declarative agent manifest, API plugin manifest or Agents Toolkit yaml file, so the assistant edits them correctly.
Try: “Get the latest declarative agent manifest schema.”
Network ·
get_schemaPoints the assistant to Microsoft 365 docs
Returns a fixed guide with links to Microsoft 365 and Copilot development docs and tells the assistant to search them through Microsoft Learn MCP server. It does not search the docs itself.
Try: “How do I add an API plugin to a declarative agent?”
Read ·
get_knowledgePoints the assistant to code samples
Returns a fixed list of sample repositories and links and tells the assistant to find code samples through Microsoft Learn MCP server. It does not return code itself.
Try: “Show a sample bot that replies in Teams.”
Read ·
get_code_snippetsPoints the assistant to issue search
Returns a fixed list of repositories and a search routine, and tells the assistant to search their GitHub issues through the GitHub MCP server. It does not search them itself.
Try: “Why does my agent fail to provision with a manifest error?”
Read ·
troubleshoot
Read from the source code
Permissions
low risk · 1 thing to watch
Low risk
It only fetches manifest schemas from Microsoft and returns fixed guidance text, so it has no write or delete tools. The follow-up searches it suggests run through other MCP servers, which have their own access.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
Three tools return instructions, not results
The docs, samples and troubleshooting tools tell the assistant to search through Microsoft Learn MCP server and the GitHub MCP server. Any sign-in or access for those servers is set up separately. raw.githubusercontent.com
Security advisories
No published security advisories as of Nov 1, 2026.
Technical details
| Turning on read-only | Not needed: all four tools are lookups. |
|---|---|
| Talks to | developer.microsoft.com (schema files) |
| Sign-in and keys | No credentials are required. |
Questions
Is the Microsoft 365 Agents Toolkit MCP server official?
Yes. Microsoft publishes it in the OfficeDev/microsoft-365-agents-toolkit repository.
Does it read my email, calendar or Teams?
No. It helps you build agents and apps. Its one lookup fetches manifest schemas, and the other three return guidance that points the assistant at Microsoft Learn and GitHub issue search, not your Microsoft 365 content. For your own mail, files and meetings, see the Work IQ page.
Do I need a key or a Microsoft sign-in?
The README lists Node.js, VS Code and GitHub Copilot as prerequisites and does not mention any key or sign-in.
Which apps does it work in?
The README sets it up for VS Code with GitHub Copilot in Agent mode, and points Visual Studio users to Microsoft's manual MCP guide. It runs as a local command, so other apps that start local servers can use it too.
Can I make it read-only?
You do not need to. All four tools only look things up.
Information
updated Nov 2, 2026
- Publisher
- Official
- Package
@microsoft/m365agentstoolkit-mcp- Registry
- npm
- Transport
- stdio
- Version
- 0.2.2-beta.2026031007.0
- License
- MIT
- Last commit
- Oct 31, 2026
- Open issues
- 34
Other Microsoft 365 MCP servers
Sources
Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.
Show all 3Hide
- raw.githubusercontent.com · raw.githubusercontent.com
- raw.githubusercontent.com · raw.githubusercontent.com
- raw.githubusercontent.com · raw.githubusercontent.com