productivitydeveloper-tools

Office

by officemcp

Automate Microsoft Office apps like Word and Excel on Windows. Streamline tasks with advanced office automation software

Enables AI to automate Microsoft Office applications (Word, Excel, PowerPoint, and more) through COM interfaces in Windows, providing tools for launching programs, manipulating documents, capturing screenshots, and managing files.

github stars

58

Full Office suite functionalityReal-time collaboration support

best for

  • / Business users managing reports and presentations
  • / Teams collaborating on shared documents
  • / Automating document generation workflows
  • / Data analysis and spreadsheet management

capabilities

  • / Create Word documents and Excel spreadsheets
  • / Edit existing Office files
  • / Collaborate on documents with team members
  • / Format text and apply styling
  • / Manage spreadsheet data and formulas
  • / Export documents in multiple formats

what it does

Enables creation and editing of Office documents and spreadsheets directly within your workflow. Supports collaborative features for team document management.

about

Office is a community-built MCP server published by officemcp that provides AI assistants with tools and capabilities via the Model Context Protocol. Automate Microsoft Office apps like Word and Excel on Windows. Streamline tasks with advanced office automation software It is categorized under productivity, developer tools.

how to install

You can install Office in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

Office is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

# OfficeMCP v1.0.5 >The most seeable and free way to control Microsof applications by AI model. [![PyPI - Version](https://img.shields.io/pypi/v/fastmcp.svg)](https://pypi.org/project/fastmcp)
# OfficeMCP OfficeMCP server is designed for AI to automate Microsoft Office Applications (Word, Excel, PowerPoint, Access, OneNote, Visio, Project, WPS.word, Wps.powerpoint, wps.excel etc.) by COM interface in Windows OS. Not working on Linux/MacOS. # Warns Please keep it in mind, as OfficeMCP not limit the usage of python. epeciall there's a tool RunPython(...) to execute python codes created by Ai model. But it is also the most wonderfull parts of OfficeMCP. we can't guarantee that your AI model will not do something bad to your computer. we don't take any responsibility. # System Requirements 1. Windows system 2. python 3.1 or above installed 3. uv installed open an shell window and run command >pip install uv ## How to install OfficeMCP There are two ways or two modes to install OfficeMCP (They also can be used in the same time): ### 1. Use OfficeMCP as stdio server: - One OfficeMCP server for one mcp client mode - Put following setting to MCP.json file for vscode or some proper place for other AI IDE: ```json { "mcpServers": { "OfficeMCP": { "type": "stdio", "command": "uvx", "args": [ "officemcp" ] } } } ``` ### 2. Use OfficeMCP as sse server: - One OfficeMCP server for multi mcp client mode - You can change port and host as you like - This is recommended way to use OfficeMCP server. #### step 1: **Run one command in shell or power shell:** >uvx officemcp sse the Mcp server url will be: "http://127.0.0.1:8888/sse" or "http://127.0.0.1:8888/sse" the default work folder is D:\@officemcp ##### or something like below >uvx officemcp sse --port 7777 --host 127.0.0.8 --folder D:\myfolder "url" will be : "http://127.0.0.8:7777/sse" #### step 2: **Put following setting to MCP.json file for vscode or some proper place for other AI IDE:** ```json { "servers": { "OfficeMCP": { "url": "http://127.0.0.1:8888/sse" } } } ``` #### or ```json { "servers": { "OfficeMCP": { "url": "http://{your_host}:{your_port}/sse" } } } ``` ## Usage On AI IDE, you can ask AI model to control Office Applications by OfficeMCP server: - You ask AI model to open a new Office Application. AI model will send a request to OfficeMCP server, and OfficeMCP server will open a new Office Application. - You ask AI model to do whatever you want to do in the current Office Application. AI model will analyze your request, and call OfficeMCP server's tool to accomplish your request. ## Tools Reference Tools: - AvailableApps(): check if Microsoft Office applications are installed on your computer. - RunningApps(): get a list of currently running Office applications. - IsAppAvailable(...): check if a specific Office application is installed. - Launch(...): launch a new Office application and set its visibility. - Visible(...): set the specified Office application's visibility to True or False. - Quit(...): quit the specified Office application. - Demonstrate(): run a demonstration of OfficeMCP automation features. - Speak(...): speak a string you passed in. - Beep(...): play a beep sound. - DefaultFolder(...): return the OfficeMCP root work folder default is ("D:\OfficeMCP") - IsFileExists(sub_path): check if a file exists in the OfficeMCP root folder. - DownloadImage(...): download an image from a given URL and save it to the specified path. - RunPython(codes,data): run python code in the OfficeMCP server context. - This is the most powerful tool in OfficeMCP server. AI can use this tool to do anything supported by the server, including automating Office applications. - There is an object "Officer" that can be used in the python code, e.g. `Officer.Excel` holds the current Excel com Application, and more are Officer.Word, Officer.Powerpoint, Office.Visio, Officer.Access, Officer.OneNote, Officer.Visio, Officer.Project. Office.Kwps for WPS word, Office.Ket for WPS excell, Office.Kwpp for WPS powerpoint. - There is an object "output" as RunPython(...) return that can be used in the python code, to put your own return result in to output, like output="run python sccessed", then RunPython return "run python sccessed" to AI model. - You can use Officer.Visio to create a new Visio document, and then use Officer.Visio.ActivePage to get the active page, and use Officer.Visio.ActivePage.DrawRectangle(...) to draw a rectangle on the page. - You can use Officer.Excel to create a new Excel document, and then use Officer.Excel.ActiveSheet to get the active sheet, and use Officer.Excel.ActiveSheet.Cells(...) to get the cell, and use Officer.Excel.ActiveSheet.Cells(...).Value = "hello" to set the cell value. - You use codes to control them by running the codes with RunPython tool. - More tools will be added in the future. ## Development ```bash git clone https://github.com/officemcp/officemcp ```

FAQ

What is the Office MCP server?
Office is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for Office?
This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
MCP server reviews

Ratings

4.510 reviews
  • Shikha Mishra· Oct 10, 2024

    Office is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Piyush G· Sep 9, 2024

    We evaluated Office against two servers with overlapping tools; this profile had the clearer scope statement.

  • Chaitanya Patil· Aug 8, 2024

    Useful MCP listing: Office is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Sakshi Patil· Jul 7, 2024

    Office reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Ganesh Mohane· Jun 6, 2024

    I recommend Office for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Oshnikdeep· May 5, 2024

    Strong directory entry: Office surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Dhruvi Jain· Apr 4, 2024

    Office has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • Rahul Santra· Mar 3, 2024

    According to our notes, Office benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Pratham Ware· Feb 2, 2024

    We wired Office into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Yash Thakker· Jan 1, 2024

    Office is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.