archive_room
Archive a room.
Run an ONLYOFFICE DocSpace portal from your assistant — create rooms, invite people, move and upload files, and read a document's text back.
LABSCO SUMMARY
Creating a room of the right type, inviting the right people at the right access level, and moving the documents in is one continuous task here rather than three trips through the web interface — and get_room_types and get_room_access_levels mean the model asks the portal what is valid instead of guessing. The meta-tool mode is worth knowing about if tool-list size matters to you: the same operations become five entries that a model discovers through, at the cost of an extra call before each action.
ONLYOFFICE's own server for DocSpace, hosted or local. Tools are grouped into four toolsets — files, folders, rooms and people — and can be exposed either directly or behind meta tools that let a model discover and call them without loading every schema.
An ONLYOFFICE DocSpace portal and credentials for it. The hosted server is the fastest route — https://mcp.onlyoffice.com/mcp over Streamable HTTP, or /sse for clients that only speak the legacy transport. Running it locally means DOCSPACE_BASE_URL plus one authentication method: DOCSPACE_API_KEY, DOCSPACE_AUTH_TOKEN, or a DOCSPACE_USERNAME and DOCSPACE_PASSWORD pair — they are mutually exclusive. OAuth 2.0 with dynamic client registration is supported for remote setups. It ships as a Docker image, an npm package (@onlyoffice/docspace-mcp), an MCP bundle and a Docker MCP server.
Add the hosted endpoint, then sign in — paste it into your client, then approve the OAuth sign-in
USE CASES
Check which room types the portal offers, create the room, then invite the people who need it at the access level they should have.
Find it in its folder and download the text, so the answer comes from the document rather than from memory.
Read what is in the folders, create the structure you want, and move whole sets of files and folders in one call.
List the current members with their access levels, and remove or re-invite the ones that are wrong.
Upload it into the right parent folder and confirm it landed with the title you meant.
Archive the room rather than deleting it, after copying anything worth keeping somewhere else.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
archive_roomArchive a room.
copy_batch_itemsCopy to a folder.
create_folderCreate a folder.
create_roomCreate a room.
delete_fileDelete a file.
delete_folderDelete a folder.
download_file_as_textDownload a file as text.
get_all_peopleGet all people.
get_file_infoGet file information.
get_folder_contentGet content of a folder.
get_folder_infoGet folder information.
get_my_folderGet the 'My Documents' folder.
get_room_access_levelsGet a list of available room invitation access levels.
get_room_infoGet room information.
get_room_security_infoGet a list of users with their access levels to a room.
get_room_typesGet a list of available room types.
get_rooms_folderGet the 'Rooms' folder.
move_batch_itemsMove to a folder.
rename_folderRename a folder.
set_room_securityInvite or remove users from a room.
update_fileUpdate a file.
update_roomUpdate a room.
upload_fileUpload a file.
BEFORE YOU INSTALL
23 tools when we connected; the project documents 28. The 28 includes five meta tools (list_tools, call_tool and others) that, when enabled, wrap the 23 regular tools, so a client sees one set or the other. Toolsets and individual tools can also be disabled.
INSTALLATION
https://mcp.onlyoffice.com/mcpAdd this hosted endpoint to your MCP client, then sign in.
URL: https://mcp.onlyoffice.com/mcp
How: Intelligence -> Connectors -> Add Connector -> Custom MCP Connector -> enter a name and server -> select "OAuth" in Authentication Methods -> Connect
{
"mcpServers": {
"onlyoffice-docspace": {
"type": "http",
"url": "https://mcp.onlyoffice.com/mcp"
}
}
}Click Connect and complete the OAuth sign-in to your DocSpace portal when the client asks — the hosted endpoint needs no key in this configuration.
{
"servers": {
"onlyoffice-docspace": {
"type": "http",
"url": "https://mcp.onlyoffice.com/mcp"
}
}
}Click Connect and complete the OAuth sign-in to your DocSpace portal when the client asks — the hosted endpoint needs no key in this configuration.
{
"mcpServers": {
"onlyoffice-docspace": {
"serverUrl": "https://mcp.onlyoffice.com/mcp"
}
}
}Click Connect and complete the OAuth sign-in to your DocSpace portal when the client asks — the hosted endpoint needs no key in this configuration.
{
"mcpServers": {
"onlyoffice-docspace": {
"command": "npx",
"args": [
"--yes",
"@onlyoffice/docspace-mcp"
],
"env": {
"DOCSPACE_BASE_URL": "https://<YOUR_INSTANCE>.onlyoffice.com",
"DOCSPACE_API_KEY": "<YOUR_DOCSPACE_API_KEY>"
}
}
}
}Local run: https://<YOUR_INSTANCE>.onlyoffice.com is your DocSpace portal address, and <YOUR_DOCSPACE_API_KEY> an API key from that portal. DOCSPACE_API_KEY can instead be DOCSPACE_AUTH_TOKEN, or a DOCSPACE_USERNAME and DOCSPACE_PASSWORD pair — set only one of these. Needs Node.js 18 or later.
{
"mcpServers": {
"onlyoffice-docspace": {
"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_DOCSPACE_API_KEY>"
}
}
}
}Local run: https://<YOUR_INSTANCE>.onlyoffice.com is your DocSpace portal address, and <YOUR_DOCSPACE_API_KEY> an API key from that portal. DOCSPACE_API_KEY can instead be DOCSPACE_AUTH_TOKEN, or a DOCSPACE_USERNAME and DOCSPACE_PASSWORD pair — set only one of these. Needs Docker.