# Docspace (MCP server)

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

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

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/ONLYOFFICE/docspace-mcp |
| GitHub stars | 31 |
| License | MIT |
| Language | TypeScript |
| Transport | stdio, sse, streamable-http |
| Packages | npm: @onlyoffice/docspace-mcp; docker: docker.io/onlyoffice/docspace-mcp:3.2.0 |
| Remote URL | https://mcp.onlyoffice.com/sse, https://mcp.onlyoffice.com/mcp |
| Needs API key | yes |
| Official | yes |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code, Claude.ai, ChatGPT |
| Category | Other |
| Latest release | v3.2.0 (Mar 18, 2026) |
| Last commit | Jul 16, 2026 |
| MCP registry name | io.github.ONLYOFFICE/docspace |

## Install

### Claude Desktop (claude_desktop_config.json)

```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

```sh
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)

```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)

```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)

```sh
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 2026-10-07.

## Environment variables

- `DOCSPACE_TRANSPORT`: The transport protocol to use for communication with the MCP server.
- `DOCSPACE_DYNAMIC`: The flag that indicates whether the MCP server should use meta tools.
- `DOCSPACE_TOOLSETS`: The list of toolsets to enable for the MCP server.
- `DOCSPACE_ENABLED_TOOLS`: The list of tools to enable for the MCP server.
- `DOCSPACE_DISABLED_TOOLS`: The list of tools to disable for the MCP server.
- `DOCSPACE_USER_AGENT`: The user agent to include in the User-Agent header for API requests.
- `DOCSPACE_BASE_URL`: The base URL of the DocSpace instance for API requests.
- `DOCSPACE_AUTHORIZATION` (secret): The raw value to include in the Authorization header for API requests.
- `DOCSPACE_API_KEY` (secret): The API key for accessing the API.
- `DOCSPACE_AUTH_TOKEN` (secret): The Personal Access Token (PAT) for accessing the API.
- `DOCSPACE_USERNAME`: The username for accessing the API using basic authentication.
- `DOCSPACE_PASSWORD` (secret): The password for accessing the API using basic authentication.

## Similar MCP servers

- [Reactive Resume](https://appsgit.com/mcp-servers/reactive-resume): A one-of-a-kind resume builder that keeps your privacy in mind. (43,921 stars, MIT)
- [N8n MCP](https://appsgit.com/mcp-servers/n8n-mcp): A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you. (23,047 stars, MIT)
- [XHS Downloader](https://appsgit.com/mcp-servers/xhs-downloader): 小红书（XiaoHongShu、RedNote）链接提取/作品采集工具. (12,922 stars, GPL-3.0)
- [MCP Use](https://appsgit.com/mcp-servers/mcp-use): The fullstack MCP framework to develop MCP Apps for ChatGPT / Claude & MCP Servers for AI Agents. (10,726 stars, MIT)
- [Ha MCP](https://appsgit.com/mcp-servers/ha-mcp): Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants. (4,964 stars, MIT)
- [MCP Server Chart](https://appsgit.com/mcp-servers/mcp-server-chart): A Model Context Protocol server for generating charts using AntV. (4,391 stars, MIT, needs API key)

---

Canonical page: https://appsgit.com/mcp-servers/docspace
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
