delete_file
Delete File
Delete a file.
fileIdrequired
io.github.ONLYOFFICEPublished by GitHub account ONLYOFFICEv3.4.1Updated Nov 20, 2026
A room-based collaborative platform
Connects an assistant to ONLYOFFICE Apps (DocSpace) to manage rooms, folders, files and room access through natural language.
Web executable via SSE. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.ONLYOFFICE%2Fdocspace/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"mcpServers": {
"docspace": {
"type": "sse",
"url": "https://mcp.onlyoffice.com/sse"
}
}
}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 Apps.
The ONLYOFFICE Apps MCP Server connects AI tools directly to ONLYOFFICE Apps. 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.
You can connect to the ONLYOFFICE Apps MCP server using any MCP clients. We have covered some popular clients, such as Claude Desktop, Cursor, Devin Desktop, etc., and here you can read about it.
The remote ONLYOFFICE Apps MCP Server is hosted by ONLYOFFICE and provides the fastest way to start using ONLYOFFICE Apps tools inside your AI agent. You can connect to it instantly without deploying or configuring anything on your machine.
The public instance is available at https://mcp.onlyoffice.com/mcp for clients that support modern Streamable HTTP transport and at https://mcp.onlyoffice.com/sse for clients that support only the legacy SSE transport. It is preferable to use the Streamable HTTP transport whenever possible.
See all options for connecting clients to the Remote ONLYOFFICE Apps MCP Server here.
If your MCP host does not support remote MCP servers, you can run the local version of the ONLYOFFICE Apps MCP Server instead.
Most clients that implement the MCP protocol have a common configuration file in the JSON format, inside which you can add the ONLYOFFICE Apps MCP Local Server.
Note: The common example below is applicable for Docker image, so Docker must be installed on your system.
Find your client .json configuration file.
Insert the following block into the mcpServers section of your .json configuration file:
DOCSPACE_BASE_URL - the URL of your ONLYOFFICE Apps instance (e.g. https://your-instance.onlyoffice.com).DOCSPACE_API_KEY - your personal API key generated in ONLYOFFICE Apps Developer Tools → API keys (open Developer Tools from the banner at the bottom of the left sidebar).All available parameters are listed here.
Close and reopen your client. In most cases, the ONLYOFFICE Apps MCP Server will start automatically, and you'll be able to issue natural language commands like:
The ONLYOFFICE Apps MCP server implements the Tools concept described in the MCP specification.
All ONLYOFFICE Apps MCP server tools are described here.
The documentation is available in the docs directory.
The following examples show how to use ONLYOFFICE Apps MCP server.
The policies are available at Legal Terms and Privacy Policy.
The ONLYOFFICE Apps MCP server is distributed under the MIT license found in the LICENSE file.
Source: README.md at commit 181a1d3
Delete File
Delete a file.
fileIdrequiredGet File Info
Get file information.
fileIdrequiredfiltersrequiredUpdate File
Rename a file by setting a new title. The file content is not changed.
titlerequiredfileIdrequiredCopy Items
Copy to a folder.
fileIdsfolderIdsdestFolderIdMove Items
Move to a folder.
fileIdsfolderIdsdestFolderIdDownload File as Text
Download a file as text.
fileIdrequiredUpload File
Upload a file.
contentrequiredfilenamerequiredparentIdrequiredCreate Folder
Create a folder.
titlerequiredfiltersrequiredparentIdrequiredDelete Folder
Delete a folder.
folderIdrequiredGet Folder Content
Get content of a folder.
filtersrequiredfolderIdrequiredGet Folder Info
Get folder information.
filtersrequiredfolderIdrequiredRename Folder
Rename a folder.
titlerequiredfiltersrequiredfolderIdrequiredGet Files Folder
Get the 'My Documents' folder.
filtersrequiredCreate Room
Create a room.
titlerequiredfiltersrequiredroomTyperequiredGet Room Info
Get room information.
roomIdrequiredfiltersrequiredUpdate Room
Rename a room by setting a new title. Only the title can be changed; use set_room_security to change access rights and archive_room to archive the room.
titleroomIdrequiredfiltersrequiredArchive Room
Archive a room.
roomIdrequiredSet Room Access
Invite or remove users from a room.
notifyroomIdrequiredculturefiltersrequiredmessageinvitationsrequiredGet Room Access Info
Get a list of users with their access levels to a room.
roomIdrequiredfiltersrequiredGet Rooms Folder
Get the 'Rooms' folder.
filtersrequiredGet Room Types
Get a list of available room types.
Takes no parameters.
Get Room Access Levels
Get a list of available room invitation access levels.
roomIdrequiredGet All People
Get all people.
filtersrequired100% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
{ "mcpServers": { "onlyoffice-apps": { "command": "docker", "args": [ "run", "--interactive", "--rm", "--env", "DOCSPACE_BASE_URL", "--env", "DOCSPACE_API_KEY", "onlyoffice/docspace-mcp" ], "env": { "DOCSPACE_BASE_URL": "https://your-instance.onlyoffice.com", "DOCSPACE_API_KEY": "your-api-key" } } }}