office-mcp
v1.9.0
Published
A Model Context Protocol server for Microsoft Office document manipulation
Maintainers
Readme
Office MCP Server
A Model Context Protocol (MCP) server for Microsoft Office document manipulation, providing AI assistants with the ability to read, write, and manipulate Word documents (.docx files).
Prerequisites
Required:
- .NET 9.0 Runtime or SDK
- Node.js 16.0.0 or higher
Verify .NET installation:
dotnet --version
# Should show 9.0.x or higherInstallation
From npm (recommended)
npm install -g office-mcpOr use with npx (no installation required):
npx office-mcpBuilding from Source
If you need to build the package locally:
# Clone the repository
git clone <repository-url>
cd mcp-servers/office
# Install dependencies and build
npm install
npm run build
# Test the build
npm test
# Package for local installation
npm pack
# Install locally
npm install -g ./office-mcp-*.tgzUsage
Command Line
Start the MCP server in stdio mode:
office-mcpMCP Client Configuration
Add to your MCP client configuration:
{
"servers": {
"office": {
"command": "office-mcp"
}
}
}Or if using npx:
{
"servers": {
"office": {
"command": "npx",
"args": ["office-mcp"]
}
}
}Development
Build Scripts
The project includes cross-platform build scripts:
# Standard build (detects platform automatically)
npm run build
# Clean build artifacts
npm run clean
# Build for release/publishing
npm run build:releasePlatform Support
The build system automatically detects and builds for your platform:
- macOS: x64 and ARM64 (Apple Silicon)
- Linux: x64 and ARM64
- Windows: x64 and ARM64
Troubleshooting
"office-mcp: command not found" after installation:
- Ensure .NET 9.0 is installed and in your PATH
- Try reinstalling:
npm uninstall -g office-mcp && npm install -g office-mcp - Use npx instead:
npx office-mcp
"Failed to start OfficeMcp" error:
- Verify .NET runtime:
dotnet --version - Check platform compatibility: The package should match your OS and architecture
- Rebuild from source if needed (see Building from Source section)
Contributing
This MCP server is part of the commercial Supen platform. As this is proprietary software, external contributions are not currently accepted.
License
This software is proprietary and not open source. All rights reserved by Supen Team.
Support
For support and inquiries about this MCP server, please contact the Supen Team.
