ONLYOFFICE DocSpace MCP Server
About
Interact with ONLYOFFICE DocSpace for document collaboration and management.
Details
- Author
- ONLYOFFICE
- GitHub stars
- 28
- Downloads
- 313
- Categories
- Productivity, Other, Communication, File Management
Jump to
- Tools with granular enable/disable and meta tools
- Supports stdio, SSE, and Streamable HTTP transports
- Authentication via API keys, PAT, Basic, or OAuth 2.0
- Request‑level authentication and tool selection via custom HTTP headers
- Distributed as Docker image, Docker MCP Server, MCP bundle, or Node.js application
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
ONLYOFFICE DocSpace MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Use the public remote instance at https://mcp.onlyoffice.com/mcp or https://mcp.onlyoffice.com/sse. For local deployment, add a Docker configuration to your MCP client’s .json file with DOCSPACE_BASE_URL and DOCSPACE_API_KEY environment variables. Restart the client to issue commands like “Create a new project room and invite Anna with editor rights.”
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"onlyoffice docspace mcp server": {
"onlyoffice-docspace": {
"command": "docker",
"args": [
"run",
"--interactive",
"--rm",
"--env",
"DOCSPACE_BASE_URL",
"--env",
"DOCSPACE_API_KEY",
"onlyoffice/docspace-mcp"
],
"env": {
"DOCSPACE_BASE_URL": "https://your-instance.onlyoffice.com",
"DOCSPACE_API_KEY": "your-api-key"
}
}
}
}
}
McpServers
{
"onlyoffice-docspace": {
"command": "docker",
"args": [
"run",
"--interactive",
"--rm",
"--env",
"DOCSPACE_BASE_URL",
"--env",
"DOCSPACE_API_KEY",
"onlyoffice/docspace-mcp"
],
"env": {
"DOCSPACE_BASE_URL": "https://your-instance.onlyoffice.com",
"DOCSPACE_API_KEY": "your-api-key"
}
}
}
Connecting Clients to DocSpace MCP Server
You can connect to the DocSpace MCP server using any MCP clients. We have covered some popular clients, such as Claude Desktop, Cursor, Windsurf, etc., and](https://github.com/ONLYOFFICE/docspace-mcp/blob/HEAD/docs/distribution/npm-registry.md#user-content-nodejs-application)hereyou can read about it.
The remote DocSpace MCP Server is hosted by ONLYOFFICE and provides the fastest way to start using DocSpace tools inside your AI agent. You can connect to it instantly without deploying or configuring anything on your machine.
The public instance is available athttps://mcp.onlyoffice.com/mcpfor clients that support modern Streamable HTTP transport and athttps://mcp.onlyoffice.com/ssefor clients that support only the legacy SSE transport. It is preferable to use the Streamable HTTP transport whenever possible.
See all options for connecting clients to the Remote DocSpace MCP Serverhere.
If your MCP host does not support remote MCP servers, you can run thelocal versionof the DocSpace MCP Server instead.
Most clients that implement the MCP protocol have a common configuration file in theJSONformat, inside which you can add the ONLYOFFICE DocSpace MCP Local Server.
Note: The common example below is applicable for Docker image, so Docker must be installed on your system.
Find your client.jsonconfiguration file.
Step 2. Add the DocSpace MCP Server entry
Insert the following block into themcpServerssection of your.jsonconfiguration file:
{ "mcpServers": { "onlyoffice-docspace": { "command": "docker", "args": [ "run", "--interactive", "--rm", "--env", "DOCSPACE_BASE_URL", "--env", "DOCSPACE_API_KEY", "onlyoffice/docspace-mcp" ], "env": { "DOCSPACE_BASE_URL": "https://your-instance.onlyoffice.com", "DOCSPACE_API_KEY": "your-api-key" } } } }
- DOCSPACE_BASE_URL- the URL of your DocSpace instance (e.g.https://portal.onlyoffice.com).
- DOCSPACE_API_KEY- your personal API key generated in DocSpace settings -> Developer Tools -> API keys.
All available parameters are listedhere.
Close and reopen your client. In most cases, the DocSpace MCP Server will start automatically, and you'll be able to issue natural language commands like:
- Create a new project room and invite Anna with editor rights.
- Upload this file to "My documents".
The DocSpace MCP server implements the Tools concept described in theMCP specification.
All DocSpace MCP server tools are describedhere.
The documentation is available in thedocsdirectory.
The followingexamplesshow how to use ONLYOFFICE DocSpace MCP server.
The policies are available atLegal TermsandPrivacy Policy.
The DocSpace MCP server is distributed under the MIT license found in theLICENSEfile.
A secure, multi-user server connecting LLMs to Microsoft 365 services.
Collaborative word processor you can use with your agent
Carryo is a remote MCP server for sharing Claude or ChatGPT-created HTML artifacts as live links.
An MCP server that enables AI assistants to interact with Confluence content through a standardized interface.
Publish Markdown or HTML to a clean, shareable link straight from your AI assistant — OAuth, no API keys.
An MCP server for interacting with the esa.io knowledge-sharing platform.
Access the esa.io API to manage your team's knowledge base.
A MCP server for the document sharing service esa.io.
A Model Context Protocol (MCP) server for integrating Google Docs with AI clients.
Create, edit, inspect, and publish collaborative HTML documents from AI agents.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





