ONLYOFFICE DocSpace for AI agents

ONLYOFFICE DocSpace is a document collaboration workspace for managing rooms, files, folders, and shared access within a hosted tenant. Teams use it to co-edit documents and control who can see them. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

DocumentsAPI keyMCP + RESTonlyoffice.com
AUDIT LOG · ONLYOFFICE DOCSPACEPOLICY: acme-support
09:41:07 · claude · u_8f2read
onlyoffice_docspace.list_rooms
List Rooms✓ allowed · 212ms
09:41:08 · claude · u_8f2read
onlyoffice_docspace.get_file
Get File✓ allowed · 164ms
09:41:09 · claude · u_8f2write
onlyoffice_docspace.create_folder
Create Folder✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
onlyoffice_docspace.delete_item
Delete File Or Folder✕ blocked · policy: deny
EVERY ONLYOFFICE DOCSPACE CALL, ON THE RECORD
01 · USE CASES

What agents do in ONLYOFFICE DocSpace.

01

Create a room for a project

Set up a new collaboration room with folders so a team can share files for a project.

02

List files in a folder read-only

Check what documents already exist in a folder before uploading a duplicate.

03

Delete a file or folder with approval

Remove an outdated file or folder only after the room owner approves the cleanup.

02 · ACTIONS

10 ONLYOFFICE DocSpace actions, graded by risk.

Every ONLYOFFICE DocSpace action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

7

Look things up. Allowed by default.

  • onlyoffice_docspace.get_file
    Get File
  • onlyoffice_docspace.get_room
    Get Room
  • onlyoffice_docspace.list_rooms
    List Rooms
  • onlyoffice_docspace.list_groups
    List Groups
  • onlyoffice_docspace.list_people
    List People
  • onlyoffice_docspace.list_folder_items
    List Folder Items
  • onlyoffice_docspace.get_account_context
    Get Account Context

write

2

Create and change things. Allow, or ask the user first.

  • onlyoffice_docspace.create_folder
    Create Folder
  • onlyoffice_docspace.create_text_file
    Create Text File

destructive

1

Delete, cancel or archive. Ask first, or deny outright.

  • onlyoffice_docspace.delete_item
    Delete File Or Folder
03 · HOW IT WORKS

ONLYOFFICE DocSpace in three steps.

  1. 01Your users connect ONLYOFFICE DocSpaceThey add their ONLYOFFICE DocSpace api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “create Folder” can wait for the user, and “delete File Or Folder” can be denied outright.
  3. 03Any agent can actYour agent calls ONLYOFFICE DocSpace through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('onlyoffice_docspace', {
  read: 'allow',
  write: 'ask',        // create_folder
  destructive: 'deny',  // delete_item
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How ONLYOFFICE DocSpace connects.

Users add their ONLYOFFICE DocSpace api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same ONLYOFFICE DocSpace connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use ONLYOFFICE DocSpace from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

ONLYOFFICE DocSpace and Arc0, answered.

Q01

Can I use ONLYOFFICE DocSpace with Claude, ChatGPT or Cursor?

Yes. Connect ONLYOFFICE DocSpace to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the ONLYOFFICE DocSpace actions you allow.

Q02

How do users connect ONLYOFFICE DocSpace?

Users add their ONLYOFFICE DocSpace api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which ONLYOFFICE DocSpace actions can my agent take?

10 in total: 7 read, 2 write and 1 destructive, such as “create Folder”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in ONLYOFFICE DocSpace?

Yes. Actions like “delete File Or Folder” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call ONLYOFFICE DocSpace too?

Yes. The same ONLYOFFICE DocSpace connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug ONLYOFFICE DocSpace into your agent.

Your users connect ONLYOFFICE DocSpace once, under your brand. Your agent gets 10 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan