界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
文档与办公 · SKILL.md

local-mcp-files

local-mcp-files

【文档与办公】Use when the user wants to find, read or create files and Office documents (Word/Excel/PowerPoint/PDF) on macOS or Windows, or browse OneDrive / Google Drive. Powered by LMCP; the tools execute on the device.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: local-mcp-files description: Use when the user wants to find, read or create files and Office documents (Word/Excel/PowerPoint/PDF) on macOS or Windows, or browse OneDrive / Google Drive. Powered by LMCP; the tools execute on the device.

Files & Office via LMCP

LMCP reads and writes the user's files, Office documents and cloud-drive contents on their computer. Everything below exists on macOS and Windows unless marked otherwise.

Core tools

  • Local files: file_list (path, defaults to home), file_read (path), file_search (query, by name), file_write.
  • Finder (macOS): finder_list, finder_search.
  • Office (read + create): word_read/word_create/word_append, excel_read/excel_create/excel_write_cell, ppt_read/ppt_create, pdf_read.
  • OneDrive: onedrive_root first, then onedrive_list_files, onedrive_search_files, onedrive_read_file, onedrive_write_file, onedrive_move_file.
  • Google Drive (locally synced folder): gdrive_root first, then gdrive_list_files, gdrive_search_files, gdrive_read_file, gdrive_write_file.

Good practice

  • For "find my invoice from March", use file_search (or finder_search on macOS) then pdf_read/excel_read.
  • Office create tools take structured input (rows, slides, headings) — build the content, then create.
  • Some locations are off-limits (credential stores; on Windows, paths outside the allowed folders); if a read is denied, tell the user which path/permission is needed rather than retrying.
我的收藏