This document describes how to connect to the DocSpace MCP server running on a remote machine.
The public instance is available at https://mcp.onlyoffice.com/mcp for clients that support modern Streamable HTTP transport and at https://mcp.onlyoffice.com/sse for clients that support only the legacy SSE transport. Prefer to use the Streamable HTTP transport whenever possible.
The public instance supports authentication using OAuth, API key, Personal
Access Token (PAT), username/password pair, or raw Authorization header.
Prefer to use OAuth authentication whenever possible.
The public instance provides access to all available tools by default. Tool selection can be customized using query parameters or custom headers. However, prefer to use the MCP client interface for tool configuration when supported.
The following examples demonstrate different authentication methods for connecting to the public instance.
Connect using the public OAuth application without custom credentials.
https://mcp.onlyoffice.com/mcpConnect using custom OAuth client ID and client secret.
https://mcp.onlyoffice.com/mcpOAuth Client ID: 68cf0a49...
OAuth Client Secret: vEHLGi5...
Connect using API key and base URL configured via custom headers.
https://mcp.onlyoffice.com/mcpX-Mcp-Base-Url: https://your-instance.onlyoffice.com/
X-Mcp-Api-Key: sk-a499e...Connect using API key in Authorization header and base URL in query parameter.
https://mcp.onlyoffice.com/mcp?base_url=https://your-instance.onlyoffice.comAuthorization: Bearer sk-a499e...Connect using URL-encoded credentials and base URL in query parameter.
https://henry.milton%40onlyoffice.com:ditgor-p...@mcp.onlyoffice.com/mcp?base_url=https://your-instance.onlyoffice.com/