ONLYOFFICE DocSpace MCP Server

Connect AI agents to ONLYOFFICE DocSpace for seamless, automated, and secure management of documents, spaces, users, and permissions.

ONLYOFFICE DocSpace MCP Server

What does “ONLYOFFICE DocSpace” MCP Server do?

The ONLYOFFICE DocSpace MCP Server acts as a bridge connecting AI assistants and tools to ONLYOFFICE DocSpace, a collaborative document management platform. By exposing DocSpace’s data and operations through the Model Context Protocol (MCP), this server enables AI-powered workflows and automations that can interact with documents, spaces, users, and permissions. Developers can use this server to build assistants capable of querying workspace data, managing files, orchestrating collaborative tasks, and integrating with external APIs or services. This enhances development workflows by allowing seamless automation of document-related operations, secure file access, and advanced document management scenarios—all through a standardized protocol interface.

List of Prompts

No prompt templates are mentioned in the available repository files.

List of Resources

No explicit MCP resources are described in the available repository files.

List of Tools

No explicit tool definitions are found in the available repository files. The server likely exposes DocSpace API functionality, but no MCP tool names or details are present.

Use Cases of this MCP Server

  • Collaborative Document Management: Enable AI assistants to automate document uploads, sharing, and permission management within DocSpace, streamlining team workflows.
  • Automated Workspace Orchestration: Allow developers to manage spaces, folders, and user access programmatically, improving efficiency in large organizations.
  • AI-Augmented File Search: Integrate with AI tools to provide intelligent search and summarization of files and documents stored in DocSpace.
  • API Integration for Document Automation: Facilitate the connection of DocSpace with third-party APIs (e.g., CRM, project management) for end-to-end workflow automation.
  • Secure Document Handling: Use environment-based authentication to ensure that sensitive document operations can be performed securely by authorized AI agents.

How to set it up

Windsurf

  1. Ensure Node.js is installed on your system.
  2. Locate your Windsurf configuration file.
  3. Add the ONLYOFFICE DocSpace MCP Server to the mcpServers object using the following JSON:
    {
      "onlyoffice-docspace": {
        "command": "npx",
        "args": ["--yes", "@onlyoffice/docspace-mcp@latest"]
      }
    }
    
  4. Save the configuration file and restart Windsurf.
  5. Verify setup by checking the MCP server logs or Windsurf UI.

Securing API Keys:
Add environment variables for sensitive keys in your configuration:

{
  "env": {
    "DOCSPACE_BASE_URL": "${input:docspace_base_url}",
    "DOCSPACE_API_KEY": "${input:docspace_api_key}"
  },
  "inputs": [
    {"type": "promptString", "id": "docspace_base_url", "description": "The base URL of the DocSpace instance."},
    {"type": "promptString", "id": "docspace_api_key", "description": "The API key for accessing DocSpace.", "password": true}
  ]
}

Claude

  1. Install Node.js if not already available.
  2. Open your Claude configuration file.
  3. Insert the following JSON to add the MCP server:
    {
      "onlyoffice-docspace": {
        "command": "npx",
        "args": ["--yes", "@onlyoffice/docspace-mcp@latest"]
      }
    }
    
  4. Save changes and restart Claude.
  5. Confirm the server is running and accessible.

Cursor

  1. Confirm Node.js is installed.
  2. Edit the Cursor configuration file.
  3. Add the DocSpace MCP Server:
    {
      "onlyoffice-docspace": {
        "command": "npx",
        "args": ["--yes", "@onlyoffice/docspace-mcp@latest"]
      }
    }
    
  4. Save and restart Cursor to activate the server.
  5. Check the system logs for successful startup.

Cline

  1. Install Node.js if necessary.
  2. Open the Cline configuration.
  3. Configure the MCP server as follows:
    {
      "onlyoffice-docspace": {
        "command": "npx",
        "args": ["--yes", "@onlyoffice/docspace-mcp@latest"]
      }
    }
    
  4. Save the configuration and restart Cline.
  5. Ensure the MCP server is running without errors.

Securing API Keys:
Use environment variables in the configuration as shown above for Windsurf.

How to use this MCP inside flows

Using MCP in FlowHunt

To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:

FlowHunt MCP flow

Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:

{
  "onlyoffice-docspace": {
    "transport": "streamable_http",
    "url": "https://yourmcpserver.example/pathtothemcp/url"
  }
}

Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “onlyoffice-docspace” to the actual name of your MCP server and replace the URL with your own MCP server URL.


Overview

SectionAvailabilityDetails/Notes
Overview
List of PromptsNo prompt templates found
List of ResourcesNo explicit resources described
List of ToolsNo explicit tools listed
Securing API KeysShown in VS Code badge/config
Sampling Support (less important in evaluation)No mention found

Based on the information available, the ONLYOFFICE DocSpace MCP Server repository provides basic setup guidance and license info, but lacks detailed documentation about prompts, resources, and tools. It is functional as an MCP server for DocSpace, but more documentation would be beneficial for developer onboarding. I would rate this MCP a 3/10 for immediate utility and transparency.


MCP Score

Has a LICENSE✅ (Apache-2.0)
Has at least one tool
Number of Forks0
Number of Stars1

Frequently asked questions

What does the ONLYOFFICE DocSpace MCP Server enable?

It connects AI assistants and automation tools to ONLYOFFICE DocSpace, allowing them to manage documents, spaces, users, and permissions through a standardized protocol for enhanced workflow automation and secure file operations.

Are there built-in prompt templates or tools in this server?

No explicit prompt templates or MCP tools are provided in the current repository. The server exposes DocSpace’s core API functionality for document and workspace automation.

How do I secure my DocSpace API keys?

Store sensitive information such as your DocSpace API key and base URL in environment variables, as shown in the configuration examples for each client. This helps protect your credentials.

What are common use cases for this MCP server?

Typical use cases include collaborative document management, secure file sharing, workspace orchestration, AI-augmented search, and automated workflow integration with external APIs directly from DocSpace.

How can I use this MCP server in a FlowHunt flow?

Add the MCP component in your FlowHunt workflow, configure it with your ONLYOFFICE DocSpace MCP server details, and connect it to your AI agent for automated document operations.

Supercharge Document Workflows with ONLYOFFICE DocSpace MCP

Empower your AI assistants to automate document collaboration, management, and secure file access directly within ONLYOFFICE DocSpace using FlowHunt’s robust MCP integration.

Learn more