delete_file
Delete File
Delete a file.
fileId必填
io.github.ONLYOFFICE由 GitHub 账号 ONLYOFFICE 发布v3.4.1更新于 Nov 20, 2026
A room-based collaborative platform
将助手连接到 ONLYOFFICE Apps(DocSpace),用自然语言管理房间、文件夹、文件和房间访问权限。
Web executable,通过 SSE。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.ONLYOFFICE%2Fdocspace/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"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.
来源:README.md,提交 181a1d3
Delete File
Delete a file.
fileId必填Get File Info
Get file information.
fileId必填filters必填Update File
Rename a file by setting a new title. The file content is not changed.
title必填fileId必填Copy Items
Copy to a folder.
fileIdsfolderIdsdestFolderIdMove Items
Move to a folder.
fileIdsfolderIdsdestFolderIdDownload File as Text
Download a file as text.
fileId必填Upload File
Upload a file.
content必填filename必填parentId必填Create Folder
Create a folder.
title必填filters必填parentId必填Delete Folder
Delete a folder.
folderId必填Get Folder Content
Get content of a folder.
filters必填folderId必填Get Folder Info
Get folder information.
filters必填folderId必填Rename Folder
Rename a folder.
title必填filters必填folderId必填Get Files Folder
Get the 'My Documents' folder.
filters必填Create Room
Create a room.
title必填filters必填roomType必填Get Room Info
Get room information.
roomId必填filters必填Update 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.
titleroomId必填filters必填Archive Room
Archive a room.
roomId必填Set Room Access
Invite or remove users from a room.
notifyroomId必填culturefilters必填messageinvitations必填Get Room Access Info
Get a list of users with their access levels to a room.
roomId必填filters必填Get Rooms Folder
Get the 'Rooms' folder.
filters必填Get Room Types
Get a list of available room types.
无需输入参数。
Get Room Access Levels
Get a list of available room invitation access levels.
roomId必填Get All People
Get all people.
filters必填已满足适用检查项的 100%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
{ "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" } } }}