Skip to main content
MCP server CX Codex

ONLYOFFICE DocSpace — Claude Code MCP server: features and setup

This MCP server lets an AI agent manage rooms, files, and access in ONLYOFFICE DocSpace. Use it when you want to handle workspace tasks through requests to your agent.

MIT ★ 31 updated 2026-10-23

Open on GitHub

What ONLYOFFICE DocSpace does

The server exposes tools for managing DocSpace rooms. An agent can create or archive a room, change its membership, and adjust access levels. It can also work with folders and documents: upload files, move items in batches, rename content, and inspect folder contents. These actions affect the DocSpace workspace, not your project code.

Agents can invite people, review permissions, retrieve files from My documents or Rooms, and download documents as text. You can connect to a hosted server or run the local version; the documented local setup starts the onlyoffice/docspace-mcp Docker image. It requires your DocSpace instance URL and an API key from Developer Tools → API keys. Docker must be installed for that local setup.

The server supports stdio, SSE, and Streamable HTTP transports. Authentication options include API keys, Personal Access Tokens, Basic authentication, and OAuth 2.0. Listed clients include Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI; setup varies by client.

What it helps with

  • create a project room and invite its members
  • upload a document to My documents
  • move or copy files in batches
  • inspect room access permissions
  • retrieve folder contents or download a file as text

Example prompts for the agent

  • Create a project room in DocSpace and invite Anna as an editor.
  • Upload this file to My documents in ONLYOFFICE DocSpace.
  • Show the contents of this DocSpace folder and check who can access it.

How to install ONLYOFFICE DocSpace

Install

The MCP registry has no launch command for it: see the repository README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about ONLYOFFICE DocSpace

How do I connect ONLYOFFICE DocSpace to Claude Code?

For a remote connection, use https://mcp.onlyoffice.com/mcp with a client that supports Streamable HTTP; clients limited to SSE can use https://mcp.onlyoffice.com/sse. For a local setup, add the server to the client's JSON configuration, set DOCSPACE_BASE_URL and DOCSPACE_API_KEY, then restart the client. The documented local setup runs the onlyoffice/docspace-mcp Docker image, so Docker is required.

What does the ONLYOFFICE DocSpace MCP server do?

It gives an AI agent tools for managing DocSpace rooms, folders, files, and access rights. The agent can also browse the people directory and retrieve document contents.

What is needed to run the ONLYOFFICE DocSpace MCP server locally?

The documented setup uses Docker, your ONLYOFFICE instance URL, and an API key created under Developer Tools → API keys. Set these as DOCSPACE_BASE_URL and DOCSPACE_API_KEY in the client configuration.

Similar MCP servers

All MCP servers for Office documents →

Project sponsors

Companies that keep this analytics open