---
canonical_url: "https://docs.composio.dev/toolkits/onlyoffice_docspace_mcp"
markdown_url: "https://docs.composio.dev/toolkits/onlyoffice_docspace_mcp.md"
product: "platform"
version: null
last_updated: null
---

# ONLYOFFICE DocSpace MCP

Browse, read, upload, update, copy, move and delete files and folders, create and manage collaboration rooms and their access, and list people in your ONLYOFFICE DocSpace through ONLYOFFICE's hosted MCP server.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 23
- **Triggers:** 0
- **Slug:** `ONLYOFFICE_DOCSPACE_MCP`
- **Version:** 00000000_00

## Tools

### Archive room

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_ARCHIVE_ROOM`

Archive a room.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `roomId` | number | Yes | The ID of the room to archive. |

### Copy batch items

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_COPY_BATCH_ITEMS`

Copy to a folder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fileIds` | array | No | The IDs of the files to copy. |
| `folderIds` | array | No | The IDs of the folders to copy. |
| `destFolderId` | string | No | The ID of the destination folder to copy the items to. |

### Create folder

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_CREATE_FOLDER`

Create a folder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | The title of the folder to create. |
| `filters` | object | Yes | The filters to apply to the folder creation. Use them to reduce the size of the response. |
| `parentId` | number | Yes | The ID of the room or folder to create the folder in. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | object | Yes | The created folder information. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Create room

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_CREATE_ROOM`

Create a room.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | The title of the room to create. |
| `filters` | object | Yes | The filters to apply to the room creation. |
| `roomType` | number | Yes | The type of the room to create.  1 - Form Filling Room. Upload PDF forms into the room. Invite members and guests to fill out a PDF form. Review completed forms and analyze data automatically collected in a spreadsheet. 2 - Collaboration room. Collaborate on one or multiple documents with your team. 5 - Custom room. Apply your own settings to use this room for any custom purpose. 6 - Public room. Share documents for viewing, editing, commenting, or reviewing without registration. You can also embed this room into any web interface. 8 - Virtual Data Room. Use VDR for advanced file security and transparency. Set watermarks, automatically index and track all content, restrict downloading and copying. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | object | Yes | The contents of the created room. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Delete file

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_DELETE_FILE`

Delete a file.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fileId` | number | Yes | The ID of the file to delete. |

### Delete folder

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_DELETE_FOLDER`

Delete a folder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `folderId` | number | Yes | The ID of the folder to delete. |

### Download file as text

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_DOWNLOAD_FILE_AS_TEXT`

Download a file as text.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fileId` | number | Yes | The ID of the file to download as text. |

### Get all people

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_GET_ALL_PEOPLE`

Get all people.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `filters` | object | Yes | The filters to apply to the list of people. Use them to reduce the size of the response. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | array | Yes |  |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Get file info

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_GET_FILE_INFO`

Get file information.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fileId` | number | Yes | The ID of the file to get info for. |
| `filters` | object | Yes | The filters to apply to the file info. Use them to reduce the size of the response. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | object | Yes | The file information. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Get folder content

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_GET_FOLDER_CONTENT`

Get content of a folder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `filters` | object | Yes | The filters to apply to the contents of the folder. Use them to reduce the size of the response. |
| `folderId` | number | Yes | The ID of the folder to get. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | object | Yes | The contents of the folder. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Get folder info

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_GET_FOLDER_INFO`

Get folder information.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `filters` | object | Yes | The filters to apply to the folder info. Use them to reduce the size of the response. |
| `folderId` | number | Yes | The ID of the folder to get info for. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | object | Yes | The folder information. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Get my folder

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_GET_MY_FOLDER`

Get the 'My Documents' folder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `filters` | object | Yes | The filters to apply to the My Documents folder. Use them to reduce the size of the response. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | object | Yes | The contents of the My Documents folder. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Get rooms folder

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_GET_ROOMS_FOLDER`

Get the 'Rooms' folder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `filters` | object | Yes | The filters to apply to the rooms folder. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | object | Yes | The contents of the rooms folder. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Get room access levels

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_GET_ROOM_ACCESS_LEVELS`

Get a list of available room invitation access levels.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `roomId` | number | Yes | The ID of the room to get the invitation access for. |

### Get room info

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_GET_ROOM_INFO`

Get room information.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `roomId` | number | Yes | The ID of the room to get info for. |
| `filters` | object | Yes | The filters to apply to the room info. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | object | Yes | The room information. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Get room security info

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_GET_ROOM_SECURITY_INFO`

Get a list of users with their access levels to a room.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `roomId` | number | Yes | The ID of the room to get a list of users with their access level for. |
| `filters` | object | Yes | The filters to apply to the room security info. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | array | Yes | The room security information. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Get room types

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_GET_ROOM_TYPES`

Get a list of available room types.

### Move batch items

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_MOVE_BATCH_ITEMS`

Move to a folder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fileIds` | array | No | The IDs of the files to move. |
| `folderIds` | array | No | The IDs of the folders to move items to. |
| `destFolderId` | string | No | The ID of the destination folder to move the items to. |

### Rename folder

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_RENAME_FOLDER`

Rename a folder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | The new title of the folder to set. |
| `filters` | object | Yes | The filters to apply to the folder renaming. Use them to reduce the size of the response. |
| `folderId` | number | Yes | The ID of the folder to rename. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | object | Yes | The renamed folder information. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Set room security

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_SET_ROOM_SECURITY`

Invite or remove users from a room.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `notify` | boolean | No | Whether to notify the user. |
| `roomId` | number | Yes | The ID of the room to invite or remove users from. |
| `culture` | string | No | The languages to use for the invitation. |
| `filters` | object | Yes | The filters to apply to the room security info. |
| `message` | string | No | The message to use for the invitation. |
| `invitations` | array | Yes | The invitations or removals to perform. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | object | Yes | The room security information after the operation. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Update file

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_UPDATE_FILE`

Rename a file by setting a new title. The file content is not changed.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | The new title of the file to set. |
| `fileId` | number | Yes | The ID of the file to update. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | object | Yes | The updated file information. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Update room

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | No | The new title of the room to set. |
| `roomId` | number | Yes | The ID of the room to update. |
| `filters` | object | Yes | The filters to apply to the room update. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `count` | number | No | The number of items in the response. |
| `links` | array | Yes | The links related to the response. |
| `total` | number | No | The total number of items available. |
| `status` | number | Yes | The status of the API response. |
| `response` | object | Yes | The updated room information. |
| `statusCode` | number | Yes | The HTTP status code of the API response. |

### Upload file

**Slug:** `ONLYOFFICE_DOCSPACE_MCP_UPLOAD_FILE`

Upload a file.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `content` | string | Yes | The content of the file to upload. |
| `filename` | string | Yes | The file name with an extension to upload. |
| `parentId` | number | Yes | The ID of the room or folder to upload the file to. |
