Docspace

io.github.ONLYOFFICEv3.3.0更新於 Oct 10, 2026

A room-based collaborative platform

概覽

AI 產生的概覽

讓助理以自然語言管理 ONLYOFFICE DocSpace 的房間、檔案與權限。

功能
將 AI 助理連接到 ONLYOFFICE DocSpace 執行個體,使其能建立、更新與封存房間,管理成員與存取層級,並處理資料夾與檔案,例如上傳文件、批次複製或移動、重新命名、刪除,以及查看檔案或資料夾詳細資料。它也能邀請或移除使用者、檢視存取權限、取得「我的文件」或「房間」資料夾內容、以文字形式下載檔案,並列出工作區中的人員。工具依工具集分組,可啟用或停用,伺服器支援 stdio、SSE 與 Streamable HTTP 傳輸。
適用情境
當助理需要在 ONLYOFFICE DocSpace 工作區內工作時使用:建立專案房間、邀請協作者、整理文件,或透過對話自動化文件流程。若想使用託管端點而不在本機執行任何程式,也適合使用。
執行需求
可使用託管的遠端端點,也可透過 npm 套件、Docker 映像或 MCP 套件在本機執行。需要 DocSpace 執行個體網址(DOCSPACE_BASE_URL)與認證資訊:API 金鑰(DOCSPACE_API_KEY)、個人存取權杖(DOCSPACE_AUTH_TOKEN)、基本驗證(DOCSPACE_PASSWORD)或 OAuth 用戶端認證。本機執行需要 Docker 或 Node.js。
安裝前請注意
伺服器會要求提供 DOCSPACE_API_KEY、DOCSPACE_AUTH_TOKEN、DOCSPACE_PASSWORD、DOCSPACE_AUTHORIZATION 以及 OAuth 用戶端密鑰與簽章金鑰等機密,請勿放入共用設定。其工具可以寫入、移動、重新命名與刪除檔案和資料夾,並變更房間成員與權限,誤操作會影響真實的工作區內容與存取權限。託管端點會將你的請求與認證資訊傳送給 ONLYOFFICE。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Docspace,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 SSE。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "docspace": {
      "type": "sse",
      "url": "https://mcp.onlyoffice.com/sse"
    }
  }
}

README

ONLYOFFICE Apps 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 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.

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 workspace to streamline invitations and access management.

Connecting Clients to ONLYOFFICE Apps MCP Server

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.

Remote ONLYOFFICE Apps MCP Server

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.

Local ONLYOFFICE Apps MCP Server

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.

Step 1. Locate your config file

Find your client .json configuration file.

Step 2. Add the ONLYOFFICE Apps MCP Server entry

Insert the following block into the mcpServers section of your .json configuration file:

json
{  "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"      }    }  }}
Step 3. Set environment values
  • 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.

Step 4. Restart the client

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:

  • Create a new project room and invite Anna with editor rights.
  • Upload this file to "My documents".

Tools

The ONLYOFFICE Apps MCP server implements the Tools concept described in the MCP specification.

All ONLYOFFICE Apps MCP server tools are described here.

Documentation

The documentation is available in the docs directory.

Samples

The following examples show how to use ONLYOFFICE Apps MCP server.

Privacy Policy

The policies are available at Legal Terms and Privacy Policy.

License

The ONLYOFFICE Apps MCP server is distributed under the MIT license found in the LICENSE file.

來源:README.md,提交 181a1d3

工具

0
工具後設資料尚未被收錄。

版本歷史

2
  1. v3.3.0最新Oct 9, 2026
  2. v3.2.0Sep 16, 2026