Model Context Protocol (MCP) is a standardized protocol for managing context between large language models (LLMs) and external systems. This repository provides an MCP server for ONLYOFFICE DocSpace.
The DocSpace MCP Server connects AI tools directly to ONLYOFFICE DocSpace. This gives AI agents, assistants, and chatbots the ability to manage rooms, collaborate on files, handle permissions, and automate document workflows - all through natural language interactions.
- Tools with granular control - Access to
tools organized into logical toolsets with fine-grained enable/disable capabilities and meta tools. - Multiple transport protocols - Support for stdio, SSE, and Streamable HTTP
transports. - Different authentication methods - Supports API keys, Personal Access
Tokens, Basic authentication, and OAuth 2.0 with dynamic client registration. See
examples. - Request-level configuration - Configure authentication and tool selection
during session initialization using
custom HTTP headers. - Various distribution formats - Available as
Docker image, Docker MCP Server, MCP bundle, and Node.js application.
- Room Management: Create, update, and archive rooms. Configure room types, manage membership, and control access levels.
- Folder & File Operations: Create folders, upload documents, copy or move items in batches, rename or delete content, and check file or folder details.
- Collaboration & Permissions: Invite or remove users, adjust security settings, and review current access rights for rooms and shared spaces.
- Content Access: Retrieve "My documents" or "Rooms" folders, get folder contents, download files as text, and monitor ongoing file operations.
- People Directory: List all people in the portal to streamline invitations and access management.
You can connect to the DocSpace MCP server using any MCP clients. We have covered some popular clients, such as Claude Desktop, Cursor, Windsurf, etc., and