Cover image
Try Now
2025-04-14

Docpace MCP Server

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

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

Installation

Most clients that implement the MCP protocol have a common configuration file in JSON format, inside which you can add ONLYOFFICE DocSpace MCP server as follows:

{
	"mcpServers": {
		"onlyoffice-docspace": {
			"env": {
				"DOCSPACE_BASE_URL": "https://your-instance.onlyoffice.com",
				"DOCSPACE_API_KEY": "your-api-key"
			},
			"command": "npx",
			"args": ["--yes", "@onlyoffice/docspace-mcp"]
		}
	}
}

For a more detailed example of the MCP server installation process, see how it can be done using Claude Desktop.

Configuration

The only way to configure ONLYOFFICE DocSpace MCP server is through environment variables. Below is a table with the names of available environment variables and their descriptions:

Name Description
DOCSPACE_BASE_URL The base URL of the DocSpace instance. This configuration is required for making API requests to DocSpace.
DOCSPACE_ORIGIN The origin of the DocSpace instance. This configuration is not required but can be used to specify the Origin header in requests to DocSpace.
DOCSPACE_USER_AGENT The user agent to use for requests. This configuration is not required but can be used to specify the User-Agent header in requests to DocSpace.
DOCSPACE_API_KEY The API key for accessing the DocSpace API. This configuration is required if nether DOCSPACE_AUTH_TOKEN nor DOCSPACE_USERNAME and DOCSPACE_PASSWORD are provided.
DOCSPACE_AUTH_TOKEN The authentication token for accessing the DocSpace API. This configuration is required if neither DOCSPACE_API_KEY nor DOCSPACE_USERNAME and DOCSPACE_PASSWORD are provided.
DOCSPACE_USERNAME The username for accessing the DocSpace API using basic authentication. This configuration is required if neither DOCSPACE_API_KEY nor DOCSPACE_AUTH_TOKEN are provided. This is used in conjunction with DOCSPACE_PASSWORD.
DOCSPACE_PASSWORD The password for accessing the DocSpace API using basic authentication. This configuration is required if neither DOCSPACE_API_KEY nor DOCSPACE_AUTH_TOKEN are provided. This is used in conjunction with DOCSPACE_USERNAME.

Usage

Model Context Protocol describes several different concepts, however ONLYOFFICE DocSpace MCP server implements Tools only.

Tools

Below is a table with the names of available tools and their descriptions:

# Name Description
1 files.archive_room Archive a room.
2 files.copy_batch_items Copy to a folder.
3 files.create_folder Create a folder.
4 files.create_room Create a room.
5 files.delete_file Delete a file.
6 files.delete_folder Delete a folder.
7 files.get_file_info Get file information.
8 files.get_folder Get content of a folder.
9 files.get_folder_info Get folder information.
10 files.get_folders Get subfolders of a folder.
11 files.get_my_folder Get the 'My Documents' folder.
12 files.get_operation_statuses Get active file operations.
13 files.get_room_info Get room information.
14 files.get_room_security_info Get room access rights.
15 files.get_rooms_folder Get the 'Rooms' folder.
16 files.move_batch_items Move to a folder.
17 files.rename_folder Rename a folder.
18 files.set_room_security Set room access rights.
19 files.update_file Update a file.
20 files.update_room Update a room.
21 others.download_as_text Download a file as text.
22 others.upload_file Upload a file.
23 people.get_all Get all people.

License

This SDK is distributed under the Apache-2.0 license found in the LICENSE file.

相关推荐

  • av
  • Exécutez sans effort LLM Backends, API, Frontends et Services avec une seule commande.

  • 1Panel-dev
  • 🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

  • rulego
  • ⛓️RULEGO est un cadre de moteur de règle d'orchestration des composants de nouvelle génération légère, intégrée, intégrée et de nouvelle génération pour GO.

  • sigoden
  • Créez facilement des outils et des agents LLM à l'aide de fonctions Plain Bash / JavaScript / Python.

  • hkr04
  • SDK C ++ MCP (Protocole de contexte modèle léger)

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 QQ / 微信 (企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Dify 、 Claude 、 GEMINI 、 XAI 、 PPIO 、 OLLAMA 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 ChatGlm 、 Sillytraven 、 MCP 等 LLM 的机器人 / Agent | Plateforme de bots de messagerie instantanée basés sur LLM, prend en charge Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack

  • dmayboroda
  • Rag de conversation sur site avec des conteneurs configurables

  • modelscope
  • Commencez à construire des applications multi-agents LLM, plus facilement.

  • paulwing
  • Un référentiel de test créé à l'aide du service MCP

    Reviews

    3.8 (4)
    Avatar
    user_VbboN2Ws
    2025-04-24

    As a dedicated user of docspace-mcp by ONLYOFFICE, I am thoroughly impressed by its seamless integration and user-friendly interface. This product has significantly enhanced my document management and collaboration experience. Highly recommended for anyone looking to streamline their workflow and improve productivity!

    Avatar
    user_eZf2wVpp
    2025-04-24

    As an avid user of docspace-mcp, I can confidently say that this application is a game-changer for document management and collaboration. ONLYOFFICE has truly outdone themselves with this intuitive and feature-rich product. Whether you are handling complex projects or everyday tasks, this tool streamlines the process, making it incredibly efficient and user-friendly. Highly recommend!

    Avatar
    user_BcxdXMWX
    2025-04-24

    As a loyal user of docspace-mcp, I am highly impressed by its seamless integration and intuitive interface. ONLYOFFICE has outdone themselves with this product, making document collaboration and management more efficient than ever. It's a game-changer for productivity, and I highly recommend it to anyone looking for a robust document management solution.

    Avatar
    user_7NLlVT8C
    2025-04-24

    As a loyal user of docspace-mcp by ONLYOFFICE, I must say this application is a game-changer for managing documents efficiently. It offers seamless navigation, excellent collaboration features, and robust security measures. Highly recommend it to anyone looking to enhance their document management workflow!