microsoft-365-files-mcp
Use the Microsoft 365 Files MCP tools (files_*) to browse OneDrive/SharePoint folders, stat items, read bounded file content, read a file the user shared as a…
от CognitionAI★ 42 звезды на GitHub
Установить microsoft-365-files-mcp в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Microsoft 365 Files (MCP tools)
Connect to the files endpoint /files/mcp. It exposes only files_* tools — mail, calendar,
Teams, tasks and people lookups live behind separate endpoints.
Choosing a tool
| You want to… | Call |
|---|---|
| Check which account this endpoint is signed in as | files_me |
| Find a SharePoint site | files_search_sites |
| List a site's document libraries | files_list_drives |
| See what is in a folder | files_list |
| Check whether something exists, its size or type | files_stat |
| Read a file's content from a drive-relative path | files_get_content |
| Read the file behind a SharePoint/OneDrive URL the user gave you | files_get_shared_content |
| Write / replace a file | files_upload |
| Create a folder | files_mkdir |
| Remove a file or folder | files_delete |
Tool signatures
| Tool | Notes |
|---|---|
files_me() |
Signed-in user (id, display_name, mail, user_principal_name) and tenant_id for this endpoint's token. Other M365 endpoints have their own tokens and may be signed in as someone else. |
files_search_sites(query, max?, next?) |
Search SharePoint site names/keywords; query must be non-empty after trimming and at most 255 characters. max defaults to 25 and is capped at 200, like files_list_drives. |
files_list_drives(site_id, max?, next?) |
List document libraries for the site; max defaults to 25 and is capped at 200. Repeat the same site_id when paging. |
files_list(path="", max?, next?, drive_id?) |
Children of a folder; "" or "/" is the drive root. Pass a SharePoint library's drive_id to use that library instead of the signed-in user's drive. |
files_stat(path, drive_id?) |
Metadata: name, size, folder/file, timestamps. drive_id selects a SharePoint library. |
files_get_content(path, max_bytes=65536, format?, width?, height?, drive_id?) |
Bounded content; 1 <= max_bytes <= 10485760 (10 MiB). Optional Graph conversion: format="pdf" (Office/md/html/rtf…), "html" (Loop/Fluid/Whiteboard only), "jpg" (requires width+height, 1..10000). drive_id selects a library. |
files_get_shared_content(share_url, max_bytes=65536) |
Same bounds and response as files_get_content, plus drive_id and item_id. |
files_upload(path, content, content_encoding="utf-8"|"base64", confirm=false, if_exists="replace"|"fail", drive_id?) |
Simple upload. By default overwrites an existing file at that path; if_exists="fail" rejects with graph_conflict instead and leaves the file untouched. drive_id selects |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл microsoft-365-files-mcp?
Use the Microsoft 365 Files MCP tools (files_*) to browse OneDrive/SharePoint folders, stat items, read bounded file content, read a file the user shared as a SharePoint/OneDrive link, upload files, create folders and delete items. Invoke whenever a task involves the user's drive files or a sharing URL they pasted: it gives exact tool signatures, the drive-relative path rules, sharing-link rules, content and upload size limits, paging rules, the preview-then-confirm flow for writes, and how to interpret confirmed / confirmed_but_unreadable / rejected / indeterminate results.
Как установить скилл microsoft-365-files-mcp?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл microsoft-365-files-mcp запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…