docspace-mcp

MCP.Pizza Chef: ONLYOFFICE

This server lets your AI assistant connect to ONLYOFFICE DocSpace to handle document collaboration tasks. You can create and manage project rooms, upload and organize files, control user permissions, and automate workflows using natural language commands. It works with MCP clients like Claude Desktop, Cursor, and Windsurf. Setup requires running Docker or configuring environment variables and an API key from your DocSpace account. A hosted version is also available for instant use without installation.

Communication
Files/PDF
Other

Use This MCP server To

Create and manage project rooms with member permissions Upload, move, rename, and delete documents in folders Invite or remove collaborators in project rooms Check folder contents and download files as text List all users in the DocSpace portal Configure room types and access levels Automate document workflows with natural language

README

ONLYOFFICE DocSpace MCP Server

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.

Features

  • 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.

Use Cases

  • 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.

Connecting Clients to DocSpace MCP Server

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 here you can read about it.

docspace-mcp FAQ

Can I use this to create and manage project rooms in ONLYOFFICE DocSpace?
Yes — you can create, update, and archive rooms, manage membership, and control access using natural language commands through supported clients like Claude Desktop, Cursor, and Windsurf.
Can I upload and organize files in my DocSpace folders using this?
Yes — you can upload documents, create folders, move or rename files, and check folder contents via your AI assistant connected to this server.
Which apps work with the DocSpace MCP Server?
It works with MCP clients such as Claude Desktop, Cursor, and Windsurf, enabling AI integration with ONLYOFFICE DocSpace.
Do I need an API key or account to use this?
Yes — you need a DocSpace account and an API key or personal access token to connect securely.
How hard is it to set up?
Setup requires developer-level steps like running Docker or configuring environment variables, so it's not one-click.
Can I use a hosted version without installing anything?
Yes — a remote DocSpace MCP Server is hosted by ONLYOFFICE and can be connected instantly from supported clients.
Can I manage user permissions and collaboration settings?
Yes — you can invite or remove users, adjust security settings, and review access rights through natural language commands.
Is there support for different authentication methods?
Yes — it supports API keys, personal tokens, basic auth, and OAuth 2.0 for flexible secure access.