Skip to content
appsgit

Docspace

Docspace is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. A room-based collaborative platform. It has 31 GitHub stars, is released under the MIT license and runs locally with npx -y @onlyoffice/docspace-mcp.

github.com/ONLYOFFICE/docspace-mcp (opens in a new tab)

Install Docspace

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "docspace": {
      "command": "npx",
      "args": [
        "-y",
        "@onlyoffice/docspace-mcp"
      ],
      "env": {
        "DOCSPACE_AUTHORIZATION": "your-value",
        "DOCSPACE_API_KEY": "your-value",
        "DOCSPACE_AUTH_TOKEN": "your-value",
        "DOCSPACE_PASSWORD": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env DOCSPACE_AUTHORIZATION=your-value --env DOCSPACE_API_KEY=your-value --env DOCSPACE_AUTH_TOKEN=your-value --env DOCSPACE_PASSWORD=your-value --transport stdio docspace -- npx -y @onlyoffice/docspace-mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "docspace": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@onlyoffice/docspace-mcp"
      ],
      "env": {
        "DOCSPACE_AUTHORIZATION": "your-value",
        "DOCSPACE_API_KEY": "your-value",
        "DOCSPACE_AUTH_TOKEN": "your-value",
        "DOCSPACE_PASSWORD": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "docspace_authorization",
      "description": "DOCSPACE_AUTHORIZATION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "docspace_api_key",
      "description": "DOCSPACE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "docspace_auth_token",
      "description": "DOCSPACE_AUTH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "docspace_password",
      "description": "DOCSPACE_PASSWORD",
      "password": true
    }
  ],
  "servers": {
    "docspace": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@onlyoffice/docspace-mcp"
      ],
      "env": {
        "DOCSPACE_AUTHORIZATION": "${input:docspace_authorization}",
        "DOCSPACE_API_KEY": "${input:docspace_api_key}",
        "DOCSPACE_AUTH_TOKEN": "${input:docspace_auth_token}",
        "DOCSPACE_PASSWORD": "${input:docspace_password}"
      }
    }
  }
}

Claude Code (remote)

claude mcp add --transport http docspace "https://mcp.onlyoffice.com/mcp"

The same server is also hosted as a remote MCP endpoint, so nothing runs on your machine.

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
DOCSPACE_TRANSPORTNoThe transport protocol to use for communication with the MCP server.
DOCSPACE_DYNAMICNoThe flag that indicates whether the MCP server should use meta tools.
DOCSPACE_TOOLSETSNoThe list of toolsets to enable for the MCP server.
DOCSPACE_ENABLED_TOOLSNoThe list of tools to enable for the MCP server.
DOCSPACE_DISABLED_TOOLSNoThe list of tools to disable for the MCP server.
DOCSPACE_USER_AGENTNoThe user agent to include in the User-Agent header for API requests.
DOCSPACE_BASE_URLNoThe base URL of the DocSpace instance for API requests.
DOCSPACE_AUTHORIZATIONsecretNoThe raw value to include in the Authorization header for API requests.
DOCSPACE_API_KEYsecretNoThe API key for accessing the API.
DOCSPACE_AUTH_TOKENsecretNoThe Personal Access Token (PAT) for accessing the API.
DOCSPACE_USERNAMENoThe username for accessing the API using basic authentication.
DOCSPACE_PASSWORDsecretNoThe password for accessing the API using basic authentication.

About Docspace

[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].

  • docspace
  • mcp
  • onlyoffice
  • mcp-server

FAQ

Docspace FAQ

Still curious? Email info@appsgit.com.

What is Docspace?

Docspace is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. A room-based collaborative platform. It has 31 GitHub stars, is released under the MIT license and runs locally with npx -y @onlyoffice/docspace-mcp. The source code is at github.com/ONLYOFFICE/docspace-mcp.

How do I install the Docspace MCP server?

Add the command npx -y @onlyoffice/docspace-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Docspace free?

The server is open source under the MIT license, so running it is free. It needs credentials (DOCSPACE_AUTHORIZATION, DOCSPACE_API_KEY, DOCSPACE_AUTH_TOKEN and DOCSPACE_PASSWORD) for the service it connects to, which may require a paid account.

Is Docspace actively maintained?

The most recent commit was on Jul 16, 2026. The latest release is v3.2.0, published Mar 18, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.