ONLYOFFICE DocSpace MCP: rooms and files in an agent
ONLYOFFICE Apps MCP Server
ONLYOFFICE's official MCP server: an agent manages rooms, folders, files and access rights in DocSpace through OAuth or an API key
- 31 ★ on the repository
- Last commit
- MIT
Broad access
Why this level
- Through the server an agent grants and revokes access to rooms
- The API key carries the same rights as the user and opens documents in all their rooms
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add mcp/onlyoffice-apps-mcp-serverDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- Through the server an agent grants and revokes access to rooms
- The API key carries the same rights as the user and opens documents in all their rooms
This is third-party code. Review the repository files before installing.
What it does
The server connects an agent to ONLYOFFICE DocSpace, a platform for collaborating on documents. Tools are split into toolsets for rooms, folders, files and people. The agent creates, changes and archives rooms, sets room type and access levels, invites and removes members. In folders and files it creates folders, uploads documents, copies and moves items in batches, renames and deletes, views file and folder details, gets the My documents and Rooms sections, downloads files as text and tracks the progress of file operations. A people directory helps with invitations and granting rights. There is a hosted ONLYOFFICE server at https://mcp.onlyoffice.com/mcp over streamable HTTP and a legacy SSE address, plus a local run from a Docker image, an npm package or an MCP bundle. Sign-in works through an API key, a personal token, Basic or OAuth 2.0.
Who it is for. Administrators and teams who keep documents in ONLYOFFICE DocSpace and want to hand an agent the routine of rooms, access and files.
Good fit when
- For a new project you create a room and invite a colleague with edit rights
- A batch of files has to be uploaded to My documents and sorted into folders
- Room members' rights must be checked and corrected before handing a project over
- You need to pull the text from a long document and retell it on point
- You archive last year's closed rooms in one pass
Not a fit when
- The documents are not in ONLYOFFICE DocSpace: the server works only with its API
- You need to edit document content inside a file: the tools manage rooms, folders and access
- The agent must not change rights or delete files: write tools act for real
- You need to write into a shared room with no check of who gets the invitations
Example request
Create a room for the launch project, invite Anna as an editor and upload files into it from My documents following the list.MCP
- Transport
- http, stdio, sse
- Authentication
- OAuth
Environment variables
DOCSPACE_BASE_URLrequired- Address of your DocSpace instance
DOCSPACE_API_KEYsecret- API key from Developer Tools, unused with OAuth
Limitations
You need your DocSpace address in DOCSPACE_BASE_URL and a sign-in method: an API key from Developer Tools, a personal token, Basic or OAuth 2.0 with dynamic client registration. The API key is created in DocSpace settings itself.
Some toolsets and tools can be turned on and off with the DOCSPACE_TOOLSETS, DOCSPACE_ENABLED_TOOLS and DOCSPACE_DISABLED_TOOLS variables. Transports are stdio, SSE and Streamable HTTP, and the SSE address of the hosted server is kept for older clients, so prefer streamable. With user rights the agent changes access and deletes files.
How to disable. Remove the server from the client config, for example with claude mcp remove onlyoffice-apps. Revoke the API key in DocSpace under Developer Tools and OAuth access in account settings.
FAQ
How do I connect ONLYOFFICE DocSpace MCP?
The shortest way is the hosted server https://mcp.onlyoffice.com/mcp over streamable HTTP. A client without remote server support runs the local onlyoffice/docspace-mcp image with DOCSPACE_BASE_URL and DOCSPACE_API_KEY.
Where do I get an API key?
In DocSpace itself: open Developer Tools from the banner at the bottom of the left sidebar and create a key under API keys. The key is tied to your user and gives the agent the same rights you have.
Which sign-in methods does the server support?
An API key, a personal token, Basic and OAuth 2.0 with dynamic client registration. Sign-in parameters are set through environment variables or HTTP headers at session start, and details are in the repository docs.
Can I limit the toolset?
Yes. The DOCSPACE_TOOLSETS variable picks sets for rooms, folders, files and people, while DOCSPACE_ENABLED_TOOLS and DOCSPACE_DISABLED_TOOLS turn individual tools on and off. The same settings can be passed in request headers.
In which formats is the server distributed?
A Docker image on Docker Hub, a server for the Docker MCP Toolkit, an MCP bundle package and a Node.js app from npm. The license is MIT, and the rules for the hosted server are in the ONLYOFFICE terms and privacy policy.
Discussion
No questions or reviews yet.
Related
MCP serversOfficeIMO MCP server: an agent inspects, searches, extracts and converts local documents and mail stores in allowed folders
A self-hosted MCP server for Google Drive, Docs, Sheets, Slides and Calendar: 130 tools and per-call account selection
A local document base for your agent: hybrid semantic and keyword search plus a web UI for browsing and uploads
Word MCP Live
word-mcp-live
An MCP server for Microsoft Word: the agent edits an open document live, with tracked changes, comments and action rollback
Launchstack MCP updates a saved conversation using its previous identifier so a continuation does not create another copy.
The MCP server lets agents read and search local Molio vaults, browse file trees and ask questions about their contents.
README in short
The README explains the server's purpose and lists features and scenarios: rooms, folders and files, rights and a people directory. Then come hosted and local runs with JSON setup, environment variables, a tools section and links to docs, samples and the MIT license.