Skip to main content

Docspace

io.github.ONLYOFFICE/docspace

v3.4.1Updated Nov 19, 2026stdio · MCPBstdio · npmstdio · Dockerremote · httpremote · sse

A room-based collaborative platform

Install

Replace 3 placeholders with your own values.

Run in your terminal. Replace 3 placeholders.

claude mcp add --transport http --header 'X-Mcp-Api-Key: <your-x-mcp-api-key>' --header 'X-Mcp-Auth-Token: <your-x-mcp-auth-token>' --header 'X-Mcp-Password: <your-x-mcp-password>' docspace https://mcp.onlyoffice.com/mcp

Configuration

65 settings.

  • X-Mcp-Api-Key
    Header· optional· secret
    The API key for accessing the API.
  • X-Mcp-Auth-Token
    Header· optional· secret
    The Personal Access Token (PAT) for accessing the API.
  • X-Mcp-Password
    Header· optional· secret
    The password for accessing the API using basic authentication.
  • DOCSPACE_API_KEY
    Env var· optional· secret
    The API key for accessing the API.
  • DOCSPACE_AUTH_TOKEN
    Env var· optional· secret
    The Personal Access Token (PAT) for accessing the API.
  • DOCSPACE_AUTHORIZATION
    Env var· optional· secret
    The raw value to include in the Authorization header for API requests.
Show 59 more
  • DOCSPACE_PASSWORD
    Env var· optional· secret
    The password for accessing the API using basic authentication.
  • DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEY
    Env var· optional· secret
    The secret key to use for signing OAuth access tokens.
  • DOCSPACE_OAUTH_CLIENT_SECRET
    Env var· optional· secret
    The client secret of the OAuth application.
  • DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEY
    Env var· optional· secret
    The secret key to use for signing OAuth state tokens.
  • X-Mcp-Base-Url
    Header· optional
    The base URL of the ONLYOFFICE Apps instance for API requests.
  • X-Mcp-Disabled-Tools
    Header· optional
    The list of tools to disable for the MCP server.
  • X-Mcp-Dynamic
    Header· optional
    The flag that indicates whether the MCP server should use meta tools.
  • X-Mcp-Enabled-Tools
    Header· optional
    The list of tools to enable for the MCP server.
  • X-Mcp-Toolsets
    Header· optional
    The list of toolsets to enable for the MCP server.
  • X-Mcp-Username
    Header· optional
    The username for accessing the API using basic authentication.
  • DOCSPACE_BASE_URL
    Env var· optional
    The base URL of the ONLYOFFICE Apps instance for API requests.
  • DOCSPACE_FILE_OPERATION_INTERVAL
    Env var· optional
    The interval for polling the status of in-progress file operations in milliseconds.Default: 300
  • DOCSPACE_FILE_OPERATION_TIMEOUT
    Env var· optional
    The maximum time to wait for a file operation to complete in milliseconds.Default: 3600000
  • DOCSPACE_DISABLED_TOOLS
    Env var· optional
    The list of tools to disable for the MCP server.
  • DOCSPACE_DYNAMIC
    Env var· optional
    The flag that indicates whether the MCP server should use meta tools.Default: false
  • DOCSPACE_ENABLED_TOOLS
    Env var· optional
    The list of tools to enable for the MCP server.
  • DOCSPACE_TOOLSETS
    Env var· optional
    The list of toolsets to enable for the MCP server.Default: all
  • DOCSPACE_TRANSPORT
    Env var· optional
    The transport protocol to use for communication with the MCP server.Default: stdio
  • DOCSPACE_USER_AGENT
    Env var· optional
    The user agent to include in the User-Agent header for API requests.Default: @onlyoffice/docspace-mcp v3.4.1
  • DOCSPACE_USERNAME
    Env var· optional
    The username for accessing the API using basic authentication.
  • DOCSPACE_HOST
    Env var· optional
    The host to bind the server to.Default: 127.0.0.1
  • DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHM
    Env var· optional
    The algorithm to use for signing OAuth access tokens.Default: HS256
  • DOCSPACE_OAUTH_AUTH_TOKEN_TTL
    Env var· optional
    The time-to-live (TTL) for OAuth access tokens in milliseconds.Default: 3600000
  • DOCSPACE_OAUTH_BASE_URL
    Env var· optional
    The base URL of the ONLYOFFICE Apps OAuth service for OAuth requests.
  • DOCSPACE_OAUTH_CLIENT_ID
    Env var· optional
    The client ID of the OAuth application.
  • DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHM
    Env var· optional
    The algorithm to use for signing OAuth state tokens.Default: HS256
  • DOCSPACE_OAUTH_STATE_TOKEN_TTL
    Env var· optional
    The time-to-live (TTL) for OAuth state tokens in milliseconds.Default: 3600000
  • DOCSPACE_PORT
    Env var· optional
    The port to bind the server to.Default: 8080
  • DOCSPACE_PROXY_HOPS
    Env var· optional
    The number of proxy servers between the server and the client.Default: 0
  • DOCSPACE_REQUEST_AUTHORIZATION_HEADER
    Env var· optional
    The flag that indicates whether the server should check for the Authorization header in incoming requests.Default: true
  • DOCSPACE_REQUEST_HEADER_PREFIX
    Env var· optional
    The prefix to use with custom configuration headers.Default: X-Mcp-
  • DOCSPACE_REQUEST_QUERY
    Env var· optional
    The flag that indicates whether the server should accept configuration via query parameters in incoming requests.Default: true
  • DOCSPACE_SERVER_ALLOWED_HOSTNAMES
    Env var· optional
    The list of allowed hostnames.Default: localhost,127.0.0.1,[::1]
  • DOCSPACE_SERVER_BASE_URL
    Env var· optional
    The base URL of the server.
  • DOCSPACE_SERVER_CORS_MCP_MAX_AGE
    Env var· optional
    The maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to MCP endpoints.Default: 86400000
  • DOCSPACE_SERVER_CORS_MCP_ORIGIN
    Env var· optional
    The list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to MCP endpoints.Default: *
  • DOCSPACE_SERVER_CORS_OAUTH_MAX_AGE
    Env var· optional
    The maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to OAuth endpoints.Default: 86400000
  • DOCSPACE_SERVER_CORS_OAUTH_ORIGIN
    Env var· optional
    The list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to OAuth endpoints.Default: *
  • DOCSPACE_SERVER_OPENAI_APPS_CHALLENGE
    Env var· optional
    The domain verification token to serve at the /.well-known/openai-apps-challenge endpoint.
  • DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITY
    Env var· optional
    The maximum number of requests allowed per window for the MCP endpoints.Default: 1000
  • DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOW
    Env var· optional
    The time window in milliseconds for the rate limit for the MCP endpoints.Default: 1000
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITY
    Env var· optional
    The maximum number of requests allowed per window for the OAuth authorization endpoint.Default: 200
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOW
    Env var· optional
    The time window in milliseconds for the rate limit for the OAuth authorization endpoint.Default: 60000
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITY
    Env var· optional
    The maximum number of requests allowed per window for the OAuth callback endpoint.Default: 200
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOW
    Env var· optional
    The time window in milliseconds for the rate limit for the OAuth callback endpoint.Default: 60000
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITY
    Env var· optional
    The maximum number of requests allowed per window for the OAuth introspection endpoint.Default: 10
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOW
    Env var· optional
    The time window in milliseconds for the rate limit for the OAuth introspection endpoint.Default: 60000
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITY
    Env var· optional
    The maximum number of requests allowed per window for the OAuth client registration endpoint.Default: 10
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOW
    Env var· optional
    The time window in milliseconds for the rate limit for the OAuth client registration endpoint.Default: 60000
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITY
    Env var· optional
    The maximum number of requests allowed per window for the OAuth resource metadata endpoint.Default: 200
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOW
    Env var· optional
    The time window in milliseconds for the rate limit for the OAuth resource metadata endpoint.Default: 60000
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITY
    Env var· optional
    The maximum number of requests allowed per window for the OAuth token revocation endpoint.Default: 10
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOW
    Env var· optional
    The time window in milliseconds for the rate limit for the OAuth token revocation endpoint.Default: 60000
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITY
    Env var· optional
    The maximum number of requests allowed per window for the OAuth server metadata endpoint.Default: 200
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOW
    Env var· optional
    The time window in milliseconds for the rate limit for the OAuth server metadata endpoint.Default: 60000
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITY
    Env var· optional
    The maximum number of requests allowed per window for the OAuth token endpoint.Default: 10
  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOW
    Env var· optional
    The time window in milliseconds for the rate limit for the OAuth token endpoint.Default: 60000
  • DOCSPACE_SESSION_INTERVAL
    Env var· optional
    The interval for checking HTTP sessions for expiration in milliseconds.Default: 240000
  • DOCSPACE_SESSION_TTL
    Env var· optional
    The time-to-live (TTL) for HTTP sessions in milliseconds.Default: 28800000

Listed in the official MCP Registry since Nov 19, 2026. Mirrored daily; last checked Nov 26, 2026.