Skip to content
MCP server

Docspace

MCP server connecting AI assistants to ONLYOFFICE DocSpace rooms, files and permissions

Install
Pricing
Open source
Platforms
API, CLI, self-hosted
Runs
Remotely or Locally
Version
3.4.0
Listing updated
today

Similar MCP servers

About Docspace

Docspace is an open-source MCP server for files and documents. It can run locally on your machine or as a hosted remote server.

The README describes this server as a bridge between AI clients and ONLYOFFICE DocSpace, the room-based workspace for documents and collaboration. Once connected, a client can work with rooms, folders and files through natural-language requests rather than through the web interface.

The server is available as a hosted remote endpoint run by ONLYOFFICE, using Streamable HTTP or legacy SSE, and as a local package distributed through Docker, an MCP bundle and npm. Local setups authenticate with an API key, while the npm build also accepts personal access tokens, basic credentials and OAuth 2.0 with dynamic client registration, according to the README.

It suits teams that already keep project files and access rights in DocSpace and want AI agents to handle routine administration, such as setting up rooms, inviting people or moving batches of files. The project is MIT licensed.

Install

Run in a terminal

claude mcp add --transport http docspace https://mcp.onlyoffice.com/mcp

Add to Settings → Connectors → Add custom connector

https://mcp.onlyoffice.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "docspace": {
      "url": "https://mcp.onlyoffice.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "docspace": {
      "type": "http",
      "url": "https://mcp.onlyoffice.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "docspace": {
      "serverUrl": "https://mcp.onlyoffice.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "docspace": {
      "type": "http",
      "url": "https://mcp.onlyoffice.com/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • DOCSPACE_API_KEYThe API key for accessing the API.
  • DOCSPACE_BASE_URLThe base URL of the ONLYOFFICE Apps instance for API requests.
  • DOCSPACE_FILE_OPERATION_INTERVALThe interval for polling the status of in-progress file operations in milliseconds.
  • DOCSPACE_FILE_OPERATION_TIMEOUTThe maximum time to wait for a file operation to complete in milliseconds.
  • DOCSPACE_API_KEYThe API key for accessing the API.
  • DOCSPACE_AUTH_TOKENThe Personal Access Token (PAT) for accessing the API.
  • DOCSPACE_AUTHORIZATIONThe raw value to include in the Authorization header for API requests.
  • DOCSPACE_BASE_URLThe base URL of the ONLYOFFICE Apps instance for API requests.
  • DOCSPACE_DISABLED_TOOLSThe list of tools to disable for the MCP server.
  • DOCSPACE_DYNAMICThe flag that indicates whether the MCP server should use meta tools.
  • DOCSPACE_ENABLED_TOOLSThe list of tools to enable for the MCP server.
  • DOCSPACE_FILE_OPERATION_INTERVALThe interval for polling the status of in-progress file operations in milliseconds.
  • DOCSPACE_FILE_OPERATION_TIMEOUTThe maximum time to wait for a file operation to complete in milliseconds.
  • DOCSPACE_PASSWORDThe password for accessing the API using basic authentication.
  • DOCSPACE_TOOLSETSThe list of toolsets to enable for the MCP server.
  • DOCSPACE_TRANSPORTThe transport protocol to use for communication with the MCP server.
  • DOCSPACE_USER_AGENTThe user agent to include in the User-Agent header for API requests.
  • DOCSPACE_USERNAMEThe username for accessing the API using basic authentication.
  • DOCSPACE_API_KEYThe API key for accessing the API.
  • DOCSPACE_AUTH_TOKENThe Personal Access Token (PAT) for accessing the API.
  • DOCSPACE_AUTHORIZATIONThe raw value to include in the Authorization header for API requests.
  • DOCSPACE_BASE_URLThe base URL of the ONLYOFFICE Apps instance for API requests.
  • DOCSPACE_DISABLED_TOOLSThe list of tools to disable for the MCP server.
  • DOCSPACE_DYNAMICThe flag that indicates whether the MCP server should use meta tools.
  • DOCSPACE_ENABLED_TOOLSThe list of tools to enable for the MCP server.
  • DOCSPACE_FILE_OPERATION_INTERVALThe interval for polling the status of in-progress file operations in milliseconds.
  • DOCSPACE_FILE_OPERATION_TIMEOUTThe maximum time to wait for a file operation to complete in milliseconds.
  • DOCSPACE_HOSTThe host to bind the server to.
  • DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHMThe algorithm to use for signing OAuth access tokens.
  • DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEYThe secret key to use for signing OAuth access tokens.
  • DOCSPACE_OAUTH_AUTH_TOKEN_TTLThe time-to-live (TTL) for OAuth access tokens in milliseconds.
  • DOCSPACE_OAUTH_BASE_URLThe base URL of the ONLYOFFICE Apps OAuth service for OAuth requests.
  • DOCSPACE_OAUTH_CLIENT_IDThe client ID of the OAuth application.
  • DOCSPACE_OAUTH_CLIENT_SECRETThe client secret of the OAuth application.
  • DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHMThe algorithm to use for signing OAuth state tokens.
  • DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEYThe secret key to use for signing OAuth state tokens.
  • DOCSPACE_OAUTH_STATE_TOKEN_TTLThe time-to-live (TTL) for OAuth state tokens in milliseconds.
  • DOCSPACE_PASSWORDThe password for accessing the API using basic authentication.
  • DOCSPACE_PORTThe port to bind the server to.
  • DOCSPACE_PROXY_HOPSThe number of proxy servers between the server and the client.
  • DOCSPACE_REQUEST_AUTHORIZATION_HEADERThe flag that indicates whether the server should check for the Authorization header in incoming requests.
  • DOCSPACE_REQUEST_HEADER_PREFIXThe prefix to use with custom configuration headers.
  • DOCSPACE_REQUEST_QUERYThe flag that indicates whether the server should accept configuration via query parameters in incoming requests.
  • DOCSPACE_SERVER_ALLOWED_HOSTNAMESThe list of allowed hostnames.
  • DOCSPACE_SERVER_BASE_URLThe base URL of the server.
  • DOCSPACE_SERVER_CORS_MCP_MAX_AGEThe maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to MCP endpoints.
  • DOCSPACE_SERVER_CORS_MCP_ORIGINThe list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to MCP endpoints.
  • DOCSPACE_SERVER_CORS_OAUTH_MAX_AGEThe maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to OAuth endpoints.
  • DOCSPACE_SERVER_CORS_OAUTH_ORIGINThe list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to OAuth endpoints.
  • DOCSPACE_SERVER_OPENAI_APPS_CHALLENGEThe domain verification token to serve at the /.well-known/openai-apps-challenge endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITYThe maximum number of requests allowed per window for the MCP endpoints.
  • DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOWThe time window in milliseconds for the rate limit for the MCP endpoints.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITYThe maximum number of requests allowed per window for the OAuth authorization endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOWThe time window in milliseconds for the rate limit for the OAuth authorization endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITYThe maximum number of requests allowed per window for the OAuth callback endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOWThe time window in milliseconds for the rate limit for the OAuth callback endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITYThe maximum number of requests allowed per window for the OAuth introspection endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOWThe time window in milliseconds for the rate limit for the OAuth introspection endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITYThe maximum number of requests allowed per window for the OAuth client registration endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOWThe time window in milliseconds for the rate limit for the OAuth client registration endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITYThe maximum number of requests allowed per window for the OAuth resource metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOWThe time window in milliseconds for the rate limit for the OAuth resource metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITYThe maximum number of requests allowed per window for the OAuth token revocation endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOWThe time window in milliseconds for the rate limit for the OAuth token revocation endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITYThe maximum number of requests allowed per window for the OAuth server metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOWThe time window in milliseconds for the rate limit for the OAuth server metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITYThe maximum number of requests allowed per window for the OAuth token endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOWThe time window in milliseconds for the rate limit for the OAuth token endpoint.
  • DOCSPACE_SESSION_INTERVALThe interval for checking HTTP sessions for expiration in milliseconds.
  • DOCSPACE_SESSION_TTLThe time-to-live (TTL) for HTTP sessions in milliseconds.
  • DOCSPACE_TOOLSETSThe list of toolsets to enable for the MCP server.
  • DOCSPACE_TRANSPORTThe transport protocol to use for communication with the MCP server.
  • DOCSPACE_USER_AGENTThe user agent to include in the User-Agent header for API requests.
  • DOCSPACE_USERNAMEThe username for accessing the API using basic authentication.
  • DOCSPACE_API_KEYThe API key for accessing the API.
  • DOCSPACE_AUTH_TOKENThe Personal Access Token (PAT) for accessing the API.
  • DOCSPACE_AUTHORIZATIONThe raw value to include in the Authorization header for API requests.
  • DOCSPACE_BASE_URLThe base URL of the ONLYOFFICE Apps instance for API requests.
  • DOCSPACE_DISABLED_TOOLSThe list of tools to disable for the MCP server.
  • DOCSPACE_DYNAMICThe flag that indicates whether the MCP server should use meta tools.
  • DOCSPACE_ENABLED_TOOLSThe list of tools to enable for the MCP server.
  • DOCSPACE_FILE_OPERATION_INTERVALThe interval for polling the status of in-progress file operations in milliseconds.
  • DOCSPACE_FILE_OPERATION_TIMEOUTThe maximum time to wait for a file operation to complete in milliseconds.
  • DOCSPACE_HOSTThe host to bind the server to.
  • DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHMThe algorithm to use for signing OAuth access tokens.
  • DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEYThe secret key to use for signing OAuth access tokens.
  • DOCSPACE_OAUTH_AUTH_TOKEN_TTLThe time-to-live (TTL) for OAuth access tokens in milliseconds.
  • DOCSPACE_OAUTH_BASE_URLThe base URL of the ONLYOFFICE Apps OAuth service for OAuth requests.
  • DOCSPACE_OAUTH_CLIENT_IDThe client ID of the OAuth application.
  • DOCSPACE_OAUTH_CLIENT_SECRETThe client secret of the OAuth application.
  • DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHMThe algorithm to use for signing OAuth state tokens.
  • DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEYThe secret key to use for signing OAuth state tokens.
  • DOCSPACE_OAUTH_STATE_TOKEN_TTLThe time-to-live (TTL) for OAuth state tokens in milliseconds.
  • DOCSPACE_PASSWORDThe password for accessing the API using basic authentication.
  • DOCSPACE_PORTThe port to bind the server to.
  • DOCSPACE_PROXY_HOPSThe number of proxy servers between the server and the client.
  • DOCSPACE_REQUEST_AUTHORIZATION_HEADERThe flag that indicates whether the server should check for the Authorization header in incoming requests.
  • DOCSPACE_REQUEST_HEADER_PREFIXThe prefix to use with custom configuration headers.
  • DOCSPACE_REQUEST_QUERYThe flag that indicates whether the server should accept configuration via query parameters in incoming requests.
  • DOCSPACE_SERVER_ALLOWED_HOSTNAMESThe list of allowed hostnames.
  • DOCSPACE_SERVER_BASE_URLThe base URL of the server.
  • DOCSPACE_SERVER_CORS_MCP_MAX_AGEThe maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to MCP endpoints.
  • DOCSPACE_SERVER_CORS_MCP_ORIGINThe list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to MCP endpoints.
  • DOCSPACE_SERVER_CORS_OAUTH_MAX_AGEThe maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to OAuth endpoints.
  • DOCSPACE_SERVER_CORS_OAUTH_ORIGINThe list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to OAuth endpoints.
  • DOCSPACE_SERVER_OPENAI_APPS_CHALLENGEThe domain verification token to serve at the /.well-known/openai-apps-challenge endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITYThe maximum number of requests allowed per window for the MCP endpoints.
  • DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOWThe time window in milliseconds for the rate limit for the MCP endpoints.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITYThe maximum number of requests allowed per window for the OAuth authorization endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOWThe time window in milliseconds for the rate limit for the OAuth authorization endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITYThe maximum number of requests allowed per window for the OAuth callback endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOWThe time window in milliseconds for the rate limit for the OAuth callback endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITYThe maximum number of requests allowed per window for the OAuth introspection endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOWThe time window in milliseconds for the rate limit for the OAuth introspection endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITYThe maximum number of requests allowed per window for the OAuth client registration endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOWThe time window in milliseconds for the rate limit for the OAuth client registration endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITYThe maximum number of requests allowed per window for the OAuth resource metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOWThe time window in milliseconds for the rate limit for the OAuth resource metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITYThe maximum number of requests allowed per window for the OAuth token revocation endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOWThe time window in milliseconds for the rate limit for the OAuth token revocation endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITYThe maximum number of requests allowed per window for the OAuth server metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOWThe time window in milliseconds for the rate limit for the OAuth server metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITYThe maximum number of requests allowed per window for the OAuth token endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOWThe time window in milliseconds for the rate limit for the OAuth token endpoint.
  • DOCSPACE_SESSION_INTERVALThe interval for checking HTTP sessions for expiration in milliseconds.
  • DOCSPACE_SESSION_TTLThe time-to-live (TTL) for HTTP sessions in milliseconds.
  • DOCSPACE_TOOLSETSThe list of toolsets to enable for the MCP server.
  • DOCSPACE_TRANSPORTThe transport protocol to use for communication with the MCP server.
  • DOCSPACE_USER_AGENTThe user agent to include in the User-Agent header for API requests.
  • DOCSPACE_USERNAMEThe username for accessing the API using basic authentication.
  • DOCSPACE_API_KEYThe API key for accessing the API.
  • DOCSPACE_AUTH_TOKENThe Personal Access Token (PAT) for accessing the API.
  • DOCSPACE_AUTHORIZATIONThe raw value to include in the Authorization header for API requests.
  • DOCSPACE_BASE_URLThe base URL of the ONLYOFFICE Apps instance for API requests.
  • DOCSPACE_DISABLED_TOOLSThe list of tools to disable for the MCP server.
  • DOCSPACE_DYNAMICThe flag that indicates whether the MCP server should use meta tools.
  • DOCSPACE_ENABLED_TOOLSThe list of tools to enable for the MCP server.
  • DOCSPACE_FILE_OPERATION_INTERVALThe interval for polling the status of in-progress file operations in milliseconds.
  • DOCSPACE_FILE_OPERATION_TIMEOUTThe maximum time to wait for a file operation to complete in milliseconds.
  • DOCSPACE_PASSWORDThe password for accessing the API using basic authentication.
  • DOCSPACE_TOOLSETSThe list of toolsets to enable for the MCP server.
  • DOCSPACE_TRANSPORTThe transport protocol to use for communication with the MCP server.
  • DOCSPACE_USER_AGENTThe user agent to include in the User-Agent header for API requests.
  • DOCSPACE_USERNAMEThe username for accessing the API using basic authentication.
  • DOCSPACE_API_KEYThe API key for accessing the API.
  • DOCSPACE_AUTH_TOKENThe Personal Access Token (PAT) for accessing the API.
  • DOCSPACE_AUTHORIZATIONThe raw value to include in the Authorization header for API requests.
  • DOCSPACE_BASE_URLThe base URL of the ONLYOFFICE Apps instance for API requests.
  • DOCSPACE_DISABLED_TOOLSThe list of tools to disable for the MCP server.
  • DOCSPACE_DYNAMICThe flag that indicates whether the MCP server should use meta tools.
  • DOCSPACE_ENABLED_TOOLSThe list of tools to enable for the MCP server.
  • DOCSPACE_FILE_OPERATION_INTERVALThe interval for polling the status of in-progress file operations in milliseconds.
  • DOCSPACE_FILE_OPERATION_TIMEOUTThe maximum time to wait for a file operation to complete in milliseconds.
  • DOCSPACE_HOSTThe host to bind the server to.
  • DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHMThe algorithm to use for signing OAuth access tokens.
  • DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEYThe secret key to use for signing OAuth access tokens.
  • DOCSPACE_OAUTH_AUTH_TOKEN_TTLThe time-to-live (TTL) for OAuth access tokens in milliseconds.
  • DOCSPACE_OAUTH_BASE_URLThe base URL of the ONLYOFFICE Apps OAuth service for OAuth requests.
  • DOCSPACE_OAUTH_CLIENT_IDThe client ID of the OAuth application.
  • DOCSPACE_OAUTH_CLIENT_SECRETThe client secret of the OAuth application.
  • DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHMThe algorithm to use for signing OAuth state tokens.
  • DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEYThe secret key to use for signing OAuth state tokens.
  • DOCSPACE_OAUTH_STATE_TOKEN_TTLThe time-to-live (TTL) for OAuth state tokens in milliseconds.
  • DOCSPACE_PASSWORDThe password for accessing the API using basic authentication.
  • DOCSPACE_PORTThe port to bind the server to.
  • DOCSPACE_PROXY_HOPSThe number of proxy servers between the server and the client.
  • DOCSPACE_REQUEST_AUTHORIZATION_HEADERThe flag that indicates whether the server should check for the Authorization header in incoming requests.
  • DOCSPACE_REQUEST_HEADER_PREFIXThe prefix to use with custom configuration headers.
  • DOCSPACE_REQUEST_QUERYThe flag that indicates whether the server should accept configuration via query parameters in incoming requests.
  • DOCSPACE_SERVER_ALLOWED_HOSTNAMESThe list of allowed hostnames.
  • DOCSPACE_SERVER_BASE_URLThe base URL of the server.
  • DOCSPACE_SERVER_CORS_MCP_MAX_AGEThe maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to MCP endpoints.
  • DOCSPACE_SERVER_CORS_MCP_ORIGINThe list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to MCP endpoints.
  • DOCSPACE_SERVER_CORS_OAUTH_MAX_AGEThe maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to OAuth endpoints.
  • DOCSPACE_SERVER_CORS_OAUTH_ORIGINThe list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to OAuth endpoints.
  • DOCSPACE_SERVER_OPENAI_APPS_CHALLENGEThe domain verification token to serve at the /.well-known/openai-apps-challenge endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITYThe maximum number of requests allowed per window for the MCP endpoints.
  • DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOWThe time window in milliseconds for the rate limit for the MCP endpoints.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITYThe maximum number of requests allowed per window for the OAuth authorization endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOWThe time window in milliseconds for the rate limit for the OAuth authorization endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITYThe maximum number of requests allowed per window for the OAuth callback endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOWThe time window in milliseconds for the rate limit for the OAuth callback endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITYThe maximum number of requests allowed per window for the OAuth introspection endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOWThe time window in milliseconds for the rate limit for the OAuth introspection endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITYThe maximum number of requests allowed per window for the OAuth client registration endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOWThe time window in milliseconds for the rate limit for the OAuth client registration endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITYThe maximum number of requests allowed per window for the OAuth resource metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOWThe time window in milliseconds for the rate limit for the OAuth resource metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITYThe maximum number of requests allowed per window for the OAuth token revocation endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOWThe time window in milliseconds for the rate limit for the OAuth token revocation endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITYThe maximum number of requests allowed per window for the OAuth server metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOWThe time window in milliseconds for the rate limit for the OAuth server metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITYThe maximum number of requests allowed per window for the OAuth token endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOWThe time window in milliseconds for the rate limit for the OAuth token endpoint.
  • DOCSPACE_SESSION_INTERVALThe interval for checking HTTP sessions for expiration in milliseconds.
  • DOCSPACE_SESSION_TTLThe time-to-live (TTL) for HTTP sessions in milliseconds.
  • DOCSPACE_TOOLSETSThe list of toolsets to enable for the MCP server.
  • DOCSPACE_TRANSPORTThe transport protocol to use for communication with the MCP server.
  • DOCSPACE_USER_AGENTThe user agent to include in the User-Agent header for API requests.
  • DOCSPACE_USERNAMEThe username for accessing the API using basic authentication.
  • DOCSPACE_API_KEYThe API key for accessing the API.
  • DOCSPACE_AUTH_TOKENThe Personal Access Token (PAT) for accessing the API.
  • DOCSPACE_AUTHORIZATIONThe raw value to include in the Authorization header for API requests.
  • DOCSPACE_BASE_URLThe base URL of the ONLYOFFICE Apps instance for API requests.
  • DOCSPACE_DISABLED_TOOLSThe list of tools to disable for the MCP server.
  • DOCSPACE_DYNAMICThe flag that indicates whether the MCP server should use meta tools.
  • DOCSPACE_ENABLED_TOOLSThe list of tools to enable for the MCP server.
  • DOCSPACE_FILE_OPERATION_INTERVALThe interval for polling the status of in-progress file operations in milliseconds.
  • DOCSPACE_FILE_OPERATION_TIMEOUTThe maximum time to wait for a file operation to complete in milliseconds.
  • DOCSPACE_HOSTThe host to bind the server to.
  • DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHMThe algorithm to use for signing OAuth access tokens.
  • DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEYThe secret key to use for signing OAuth access tokens.
  • DOCSPACE_OAUTH_AUTH_TOKEN_TTLThe time-to-live (TTL) for OAuth access tokens in milliseconds.
  • DOCSPACE_OAUTH_BASE_URLThe base URL of the ONLYOFFICE Apps OAuth service for OAuth requests.
  • DOCSPACE_OAUTH_CLIENT_IDThe client ID of the OAuth application.
  • DOCSPACE_OAUTH_CLIENT_SECRETThe client secret of the OAuth application.
  • DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHMThe algorithm to use for signing OAuth state tokens.
  • DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEYThe secret key to use for signing OAuth state tokens.
  • DOCSPACE_OAUTH_STATE_TOKEN_TTLThe time-to-live (TTL) for OAuth state tokens in milliseconds.
  • DOCSPACE_PASSWORDThe password for accessing the API using basic authentication.
  • DOCSPACE_PORTThe port to bind the server to.
  • DOCSPACE_PROXY_HOPSThe number of proxy servers between the server and the client.
  • DOCSPACE_REQUEST_AUTHORIZATION_HEADERThe flag that indicates whether the server should check for the Authorization header in incoming requests.
  • DOCSPACE_REQUEST_HEADER_PREFIXThe prefix to use with custom configuration headers.
  • DOCSPACE_REQUEST_QUERYThe flag that indicates whether the server should accept configuration via query parameters in incoming requests.
  • DOCSPACE_SERVER_ALLOWED_HOSTNAMESThe list of allowed hostnames.
  • DOCSPACE_SERVER_BASE_URLThe base URL of the server.
  • DOCSPACE_SERVER_CORS_MCP_MAX_AGEThe maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to MCP endpoints.
  • DOCSPACE_SERVER_CORS_MCP_ORIGINThe list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to MCP endpoints.
  • DOCSPACE_SERVER_CORS_OAUTH_MAX_AGEThe maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to OAuth endpoints.
  • DOCSPACE_SERVER_CORS_OAUTH_ORIGINThe list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to OAuth endpoints.
  • DOCSPACE_SERVER_OPENAI_APPS_CHALLENGEThe domain verification token to serve at the /.well-known/openai-apps-challenge endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITYThe maximum number of requests allowed per window for the MCP endpoints.
  • DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOWThe time window in milliseconds for the rate limit for the MCP endpoints.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITYThe maximum number of requests allowed per window for the OAuth authorization endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOWThe time window in milliseconds for the rate limit for the OAuth authorization endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITYThe maximum number of requests allowed per window for the OAuth callback endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOWThe time window in milliseconds for the rate limit for the OAuth callback endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITYThe maximum number of requests allowed per window for the OAuth introspection endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOWThe time window in milliseconds for the rate limit for the OAuth introspection endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITYThe maximum number of requests allowed per window for the OAuth client registration endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOWThe time window in milliseconds for the rate limit for the OAuth client registration endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITYThe maximum number of requests allowed per window for the OAuth resource metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOWThe time window in milliseconds for the rate limit for the OAuth resource metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITYThe maximum number of requests allowed per window for the OAuth token revocation endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOWThe time window in milliseconds for the rate limit for the OAuth token revocation endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITYThe maximum number of requests allowed per window for the OAuth server metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOWThe time window in milliseconds for the rate limit for the OAuth server metadata endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITYThe maximum number of requests allowed per window for the OAuth token endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOWThe time window in milliseconds for the rate limit for the OAuth token endpoint.
  • DOCSPACE_SESSION_INTERVALThe interval for checking HTTP sessions for expiration in milliseconds.
  • DOCSPACE_SESSION_TTLThe time-to-live (TTL) for HTTP sessions in milliseconds.
  • DOCSPACE_TOOLSETSThe list of toolsets to enable for the MCP server.
  • DOCSPACE_TRANSPORTThe transport protocol to use for communication with the MCP server.
  • DOCSPACE_USER_AGENTThe user agent to include in the User-Agent header for API requests.
  • DOCSPACE_USERNAMEThe username for accessing the API using basic authentication.

What it does

Room management tools
Create, update and archive rooms, set room types and control membership and access levels.
File and folder operations
Upload documents, copy or move items in batches, rename or delete content and read file details.
Permission administration
Invite or remove users, adjust security settings and review current access rights.
Text download of files
Retrieve folder contents and download files as text for use in an AI conversation.
Multiple connection options
Hosted endpoint or local install via Docker, MCP bundle or npm, using stdio, SSE or Streamable HTTP.
Configurable toolsets
Enable or disable individual tools or toolsets through environment settings.

Good for

  • Setting up a project room and inviting colleagues with editor rights from a chat prompt
  • Uploading a document into a shared folder without leaving the AI assistant
  • Reviewing who currently has access to a room before sharing sensitive files
  • Moving or renaming batches of files in a DocSpace workspace
  • Looking up people in the workspace to streamline access management

Pricing

Open source

Free MIT-licensed server; requires an ONLYOFFICE Apps (DocSpace) instance.

Prices change. Check onlyoffice.github.io before you buy.

Docspace FAQ

Is there a hosted version I can connect to without installing anything?

Yes. The README says ONLYOFFICE hosts a public instance at mcp.onlyoffice.com, offered over Streamable HTTP and, for older clients, over SSE.

What license is the server released under?

The README states the ONLYOFFICE Apps MCP server is distributed under the MIT license.

Which authentication methods are supported?

The README lists API keys, Personal Access Tokens, basic authentication and OAuth 2.0 with dynamic client registration, with the npm build exposing the most options.

Which clients can use it?

The README mentions Claude Desktop, Cursor and Devin Desktop as examples, and says any MCP client can connect.

Is Docspace free?

Yes. Docspace is open source, so you can use and self-host it for free.

How do I add Docspace to Claude Code?

Run this command in your terminal: claude mcp add --transport http docspace https://mcp.onlyoffice.com/mcp

What are the best alternatives to Docspace?

The closest alternatives to Docspace are Documenso MCP by usefulapi, Clearooms MCP by usefulapi, Dockito, Docuwriter and PaperOffice AI.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers