ONLYOFFICE DocSpace

Provides an MCP server to connect LLMs with ONLYOFFICE DocSpace for context management and tool orchestration.
  • other

8

GitHub Stars

other

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "onlyoffice-docspace-mcp": {
      "command": "docker",
      "args": [
        "run",
        "onlyoffice/docspace-mcp",
        "--interactive",
        "--rm",
        "--env",
        "DOCSPACE_BASE_URL",
        "--env",
        "DOCSPACE_API_KEY"
      ],
      "env": {
        "DOCSPACE_API_KEY": "your-api-key",
        "DOCSPACE_BASE_URL": "https://your-instance.onlyoffice.com"
      }
    }
  }
}

You can deploy the ONLYOFFICE DocSpace MCP Server to manage context between large language models and DocSpace, using Docker. This server enables tool access, multi-transport communication, and flexible authentication to power cohesive interactions between your LLMs and DocSpace workflows.

How to use

Connect an MCP client to the DocSpace MCP Server to start managing context between your LLMs and ONLYOFFICE DocSpace. You can initialize sessions with different authentication methods and access a range of tools organized into toolsets. The server supports multiple transport options and can be run locally or in your container ecosystem, enabling you to integrate DocSpace capabilities into your AI workflows.

How to install

Prerequisites: Install Docker on your machine or in your deployment environment.

Set up the environment variables for your DocSpace instance.

Run the MCP server using Docker with the following command.

Installing and running with Docker

export DOCSPACE_BASE_URL=https://your-instance.onlyoffice.com
export DOCSPACE_API_KEY=your-api-key

# Start the ONLYOFFICE DocSpace MCP Server image
docker run --interactive --rm \
  --env DOCSPACE_BASE_URL \
  --env DOCSPACE_API_KEY \
  onlyoffice/docspace-mcp

Notes on configuration and startup

The server is intended to be run in a containerized environment where Docker is available. You provide the base URL of your DocSpace instance and an API key to authorize requests. If you plan to deploy in orchestration systems, you can adapt the command to fit your deployment scripts while preserving the required environment variables.

Configuration example

{
  "mcpServers": {
    "onlyoffice_docspace": {
      "command": "docker",
      "args": ["run", "onlyoffice/docspace-mcp", "--interactive", "--rm", "--env", "DOCSPACE_BASE_URL", "--env", "DOCSPACE_API_KEY"],
      "env": {
        "DOCSPACE_BASE_URL": "https://your-instance.onlyoffice.com",
        "DOCSPACE_API_KEY": "your-api-key"
      }
    }
  }
}

Additional sections

Security and maintenance: Keep your API key secure and rotate credentials according to your security policy. Monitor the MCP server preview state and plan upgrades as features evolve to avoid breaking changes in production workflows.

Available tools

toolsets_control

Granular control over logical toolsets with enable/disable capabilities and meta tools.

transports

Support for multiple transport protocols including stdio, SSE, and Streamable HTTP.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational