MCP directory
D

Docspace

by github.com/ONLYOFFICE · v3.4.1 · updated Nov 19, 2026

A room-based collaborative platform

RemoteMCP BundlenpmDocker

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL (SSE)

https://mcp.onlyoffice.com/sse

Claude Code

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

Headers

  • X-Mcp-Api-Keysecret

    The API key for accessing the API.

  • X-Mcp-Auth-Tokensecret

    The Personal Access Token (PAT) for accessing the API.

  • X-Mcp-Base-Url

    The base URL of the ONLYOFFICE Apps instance for API requests.

  • X-Mcp-Disabled-Tools

    The list of tools to disable for the MCP server.

  • X-Mcp-Dynamic

    The flag that indicates whether the MCP server should use meta tools.

  • X-Mcp-Enabled-Tools

    The list of tools to enable for the MCP server.

  • X-Mcp-Passwordsecret

    The password for accessing the API using basic authentication.

  • X-Mcp-Toolsets

    The list of toolsets to enable for the MCP server.

  • X-Mcp-Username

    The username for accessing the API using basic authentication.

Server URL

https://mcp.onlyoffice.com/mcp

Claude Code

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

Headers

  • X-Mcp-Api-Keysecret

    The API key for accessing the API.

  • X-Mcp-Auth-Tokensecret

    The Personal Access Token (PAT) for accessing the API.

  • X-Mcp-Base-Url

    The base URL of the ONLYOFFICE Apps instance for API requests.

  • X-Mcp-Disabled-Tools

    The list of tools to disable for the MCP server.

  • X-Mcp-Dynamic

    The flag that indicates whether the MCP server should use meta tools.

  • X-Mcp-Enabled-Tools

    The list of tools to enable for the MCP server.

  • X-Mcp-Passwordsecret

    The password for accessing the API using basic authentication.

  • X-Mcp-Toolsets

    The list of toolsets to enable for the MCP server.

  • X-Mcp-Username

    The username for accessing the API using basic authentication.

Run it locally

Install the package and point your AI client at it.

MCP Bundle

https://github.com/ONLYOFFICE/docspace-mcp/releases/download/v3.4.1/onlyoffice-docspace-mcp-3.4.1.mcpb

Environment variables

  • DOCSPACE_API_KEYsecret

    The API key for accessing the API.

  • DOCSPACE_BASE_URL

    The base URL of the ONLYOFFICE Apps instance for API requests.

  • DOCSPACE_FILE_OPERATION_INTERVAL

    The interval for polling the status of in-progress file operations in milliseconds.

  • DOCSPACE_FILE_OPERATION_TIMEOUT

    The maximum time to wait for a file operation to complete in milliseconds.

npm

npx -y @onlyoffice/[email protected]

Environment variables

  • DOCSPACE_API_KEYsecret

    The API key for accessing the API.

  • DOCSPACE_AUTH_TOKENsecret

    The Personal Access Token (PAT) for accessing the API.

  • DOCSPACE_AUTHORIZATIONsecret

    The raw value to include in the Authorization header for API requests.

  • DOCSPACE_BASE_URL

    The base URL of the ONLYOFFICE Apps instance for API requests.

  • DOCSPACE_DISABLED_TOOLS

    The list of tools to disable for the MCP server.

  • DOCSPACE_DYNAMIC

    The flag that indicates whether the MCP server should use meta tools.

  • DOCSPACE_ENABLED_TOOLS

    The list of tools to enable for the MCP server.

  • DOCSPACE_FILE_OPERATION_INTERVAL

    The interval for polling the status of in-progress file operations in milliseconds.

  • DOCSPACE_FILE_OPERATION_TIMEOUT

    The maximum time to wait for a file operation to complete in milliseconds.

  • DOCSPACE_PASSWORDsecret

    The password for accessing the API using basic authentication.

  • DOCSPACE_TOOLSETS

    The list of toolsets to enable for the MCP server.

  • DOCSPACE_TRANSPORT

    The transport protocol to use for communication with the MCP server.

  • DOCSPACE_USER_AGENT

    The user agent to include in the User-Agent header for API requests.

  • DOCSPACE_USERNAME

    The username for accessing the API using basic authentication.

npm

npx -y @onlyoffice/[email protected]

Environment variables

  • DOCSPACE_API_KEYsecret

    The API key for accessing the API.

  • DOCSPACE_AUTH_TOKENsecret

    The Personal Access Token (PAT) for accessing the API.

  • DOCSPACE_AUTHORIZATIONsecret

    The raw value to include in the Authorization header for API requests.

  • DOCSPACE_BASE_URL

    The base URL of the ONLYOFFICE Apps instance for API requests.

  • DOCSPACE_DISABLED_TOOLS

    The list of tools to disable for the MCP server.

  • DOCSPACE_DYNAMIC

    The flag that indicates whether the MCP server should use meta tools.

  • DOCSPACE_ENABLED_TOOLS

    The list of tools to enable for the MCP server.

  • DOCSPACE_FILE_OPERATION_INTERVAL

    The interval for polling the status of in-progress file operations in milliseconds.

  • DOCSPACE_FILE_OPERATION_TIMEOUT

    The maximum time to wait for a file operation to complete in milliseconds.

  • DOCSPACE_HOST

    The host to bind the server to.

  • DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHM

    The algorithm to use for signing OAuth access tokens.

  • DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEYsecret

    The secret key to use for signing OAuth access tokens.

  • DOCSPACE_OAUTH_AUTH_TOKEN_TTL

    The time-to-live (TTL) for OAuth access tokens in milliseconds.

  • DOCSPACE_OAUTH_BASE_URL

    The base URL of the ONLYOFFICE Apps OAuth service for OAuth requests.

  • DOCSPACE_OAUTH_CLIENT_ID

    The client ID of the OAuth application.

  • DOCSPACE_OAUTH_CLIENT_SECRETsecret

    The client secret of the OAuth application.

  • DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHM

    The algorithm to use for signing OAuth state tokens.

  • DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEYsecret

    The secret key to use for signing OAuth state tokens.

  • DOCSPACE_OAUTH_STATE_TOKEN_TTL

    The time-to-live (TTL) for OAuth state tokens in milliseconds.

  • DOCSPACE_PASSWORDsecret

    The password for accessing the API using basic authentication.

  • DOCSPACE_PORT

    The port to bind the server to.

  • DOCSPACE_PROXY_HOPS

    The number of proxy servers between the server and the client.

  • DOCSPACE_REQUEST_AUTHORIZATION_HEADER

    The flag that indicates whether the server should check for the Authorization header in incoming requests.

  • DOCSPACE_REQUEST_HEADER_PREFIX

    The prefix to use with custom configuration headers.

  • DOCSPACE_REQUEST_QUERY

    The flag that indicates whether the server should accept configuration via query parameters in incoming requests.

  • DOCSPACE_SERVER_ALLOWED_HOSTNAMES

    The list of allowed hostnames.

  • DOCSPACE_SERVER_BASE_URL

    The base URL of the server.

  • DOCSPACE_SERVER_CORS_MCP_MAX_AGE

    The maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to MCP endpoints.

  • DOCSPACE_SERVER_CORS_MCP_ORIGIN

    The list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to MCP endpoints.

  • DOCSPACE_SERVER_CORS_OAUTH_MAX_AGE

    The maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to OAuth endpoints.

  • DOCSPACE_SERVER_CORS_OAUTH_ORIGIN

    The list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to OAuth endpoints.

  • DOCSPACE_SERVER_OPENAI_APPS_CHALLENGE

    The domain verification token to serve at the /.well-known/openai-apps-challenge endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITY

    The maximum number of requests allowed per window for the MCP endpoints.

  • DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOW

    The time window in milliseconds for the rate limit for the MCP endpoints.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITY

    The maximum number of requests allowed per window for the OAuth authorization endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOW

    The time window in milliseconds for the rate limit for the OAuth authorization endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITY

    The maximum number of requests allowed per window for the OAuth callback endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOW

    The time window in milliseconds for the rate limit for the OAuth callback endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITY

    The maximum number of requests allowed per window for the OAuth introspection endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOW

    The time window in milliseconds for the rate limit for the OAuth introspection endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITY

    The maximum number of requests allowed per window for the OAuth client registration endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOW

    The time window in milliseconds for the rate limit for the OAuth client registration endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITY

    The maximum number of requests allowed per window for the OAuth resource metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOW

    The time window in milliseconds for the rate limit for the OAuth resource metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITY

    The maximum number of requests allowed per window for the OAuth token revocation endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOW

    The time window in milliseconds for the rate limit for the OAuth token revocation endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITY

    The maximum number of requests allowed per window for the OAuth server metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOW

    The time window in milliseconds for the rate limit for the OAuth server metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITY

    The maximum number of requests allowed per window for the OAuth token endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOW

    The time window in milliseconds for the rate limit for the OAuth token endpoint.

  • DOCSPACE_SESSION_INTERVAL

    The interval for checking HTTP sessions for expiration in milliseconds.

  • DOCSPACE_SESSION_TTL

    The time-to-live (TTL) for HTTP sessions in milliseconds.

  • DOCSPACE_TOOLSETS

    The list of toolsets to enable for the MCP server.

  • DOCSPACE_TRANSPORT

    The transport protocol to use for communication with the MCP server.

  • DOCSPACE_USER_AGENT

    The user agent to include in the User-Agent header for API requests.

  • DOCSPACE_USERNAME

    The username for accessing the API using basic authentication.

npm

npx -y @onlyoffice/[email protected]

Environment variables

  • DOCSPACE_API_KEYsecret

    The API key for accessing the API.

  • DOCSPACE_AUTH_TOKENsecret

    The Personal Access Token (PAT) for accessing the API.

  • DOCSPACE_AUTHORIZATIONsecret

    The raw value to include in the Authorization header for API requests.

  • DOCSPACE_BASE_URL

    The base URL of the ONLYOFFICE Apps instance for API requests.

  • DOCSPACE_DISABLED_TOOLS

    The list of tools to disable for the MCP server.

  • DOCSPACE_DYNAMIC

    The flag that indicates whether the MCP server should use meta tools.

  • DOCSPACE_ENABLED_TOOLS

    The list of tools to enable for the MCP server.

  • DOCSPACE_FILE_OPERATION_INTERVAL

    The interval for polling the status of in-progress file operations in milliseconds.

  • DOCSPACE_FILE_OPERATION_TIMEOUT

    The maximum time to wait for a file operation to complete in milliseconds.

  • DOCSPACE_HOST

    The host to bind the server to.

  • DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHM

    The algorithm to use for signing OAuth access tokens.

  • DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEYsecret

    The secret key to use for signing OAuth access tokens.

  • DOCSPACE_OAUTH_AUTH_TOKEN_TTL

    The time-to-live (TTL) for OAuth access tokens in milliseconds.

  • DOCSPACE_OAUTH_BASE_URL

    The base URL of the ONLYOFFICE Apps OAuth service for OAuth requests.

  • DOCSPACE_OAUTH_CLIENT_ID

    The client ID of the OAuth application.

  • DOCSPACE_OAUTH_CLIENT_SECRETsecret

    The client secret of the OAuth application.

  • DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHM

    The algorithm to use for signing OAuth state tokens.

  • DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEYsecret

    The secret key to use for signing OAuth state tokens.

  • DOCSPACE_OAUTH_STATE_TOKEN_TTL

    The time-to-live (TTL) for OAuth state tokens in milliseconds.

  • DOCSPACE_PASSWORDsecret

    The password for accessing the API using basic authentication.

  • DOCSPACE_PORT

    The port to bind the server to.

  • DOCSPACE_PROXY_HOPS

    The number of proxy servers between the server and the client.

  • DOCSPACE_REQUEST_AUTHORIZATION_HEADER

    The flag that indicates whether the server should check for the Authorization header in incoming requests.

  • DOCSPACE_REQUEST_HEADER_PREFIX

    The prefix to use with custom configuration headers.

  • DOCSPACE_REQUEST_QUERY

    The flag that indicates whether the server should accept configuration via query parameters in incoming requests.

  • DOCSPACE_SERVER_ALLOWED_HOSTNAMES

    The list of allowed hostnames.

  • DOCSPACE_SERVER_BASE_URL

    The base URL of the server.

  • DOCSPACE_SERVER_CORS_MCP_MAX_AGE

    The maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to MCP endpoints.

  • DOCSPACE_SERVER_CORS_MCP_ORIGIN

    The list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to MCP endpoints.

  • DOCSPACE_SERVER_CORS_OAUTH_MAX_AGE

    The maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to OAuth endpoints.

  • DOCSPACE_SERVER_CORS_OAUTH_ORIGIN

    The list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to OAuth endpoints.

  • DOCSPACE_SERVER_OPENAI_APPS_CHALLENGE

    The domain verification token to serve at the /.well-known/openai-apps-challenge endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITY

    The maximum number of requests allowed per window for the MCP endpoints.

  • DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOW

    The time window in milliseconds for the rate limit for the MCP endpoints.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITY

    The maximum number of requests allowed per window for the OAuth authorization endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOW

    The time window in milliseconds for the rate limit for the OAuth authorization endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITY

    The maximum number of requests allowed per window for the OAuth callback endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOW

    The time window in milliseconds for the rate limit for the OAuth callback endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITY

    The maximum number of requests allowed per window for the OAuth introspection endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOW

    The time window in milliseconds for the rate limit for the OAuth introspection endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITY

    The maximum number of requests allowed per window for the OAuth client registration endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOW

    The time window in milliseconds for the rate limit for the OAuth client registration endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITY

    The maximum number of requests allowed per window for the OAuth resource metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOW

    The time window in milliseconds for the rate limit for the OAuth resource metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITY

    The maximum number of requests allowed per window for the OAuth token revocation endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOW

    The time window in milliseconds for the rate limit for the OAuth token revocation endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITY

    The maximum number of requests allowed per window for the OAuth server metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOW

    The time window in milliseconds for the rate limit for the OAuth server metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITY

    The maximum number of requests allowed per window for the OAuth token endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOW

    The time window in milliseconds for the rate limit for the OAuth token endpoint.

  • DOCSPACE_SESSION_INTERVAL

    The interval for checking HTTP sessions for expiration in milliseconds.

  • DOCSPACE_SESSION_TTL

    The time-to-live (TTL) for HTTP sessions in milliseconds.

  • DOCSPACE_TOOLSETS

    The list of toolsets to enable for the MCP server.

  • DOCSPACE_TRANSPORT

    The transport protocol to use for communication with the MCP server.

  • DOCSPACE_USER_AGENT

    The user agent to include in the User-Agent header for API requests.

  • DOCSPACE_USERNAME

    The username for accessing the API using basic authentication.

Docker

docker run -i --rm docker.io/onlyoffice/docspace-mcp:3.4.1

Environment variables

  • DOCSPACE_API_KEYsecret

    The API key for accessing the API.

  • DOCSPACE_AUTH_TOKENsecret

    The Personal Access Token (PAT) for accessing the API.

  • DOCSPACE_AUTHORIZATIONsecret

    The raw value to include in the Authorization header for API requests.

  • DOCSPACE_BASE_URL

    The base URL of the ONLYOFFICE Apps instance for API requests.

  • DOCSPACE_DISABLED_TOOLS

    The list of tools to disable for the MCP server.

  • DOCSPACE_DYNAMIC

    The flag that indicates whether the MCP server should use meta tools.

  • DOCSPACE_ENABLED_TOOLS

    The list of tools to enable for the MCP server.

  • DOCSPACE_FILE_OPERATION_INTERVAL

    The interval for polling the status of in-progress file operations in milliseconds.

  • DOCSPACE_FILE_OPERATION_TIMEOUT

    The maximum time to wait for a file operation to complete in milliseconds.

  • DOCSPACE_PASSWORDsecret

    The password for accessing the API using basic authentication.

  • DOCSPACE_TOOLSETS

    The list of toolsets to enable for the MCP server.

  • DOCSPACE_TRANSPORT

    The transport protocol to use for communication with the MCP server.

  • DOCSPACE_USER_AGENT

    The user agent to include in the User-Agent header for API requests.

  • DOCSPACE_USERNAME

    The username for accessing the API using basic authentication.

Docker

docker run -i --rm docker.io/onlyoffice/docspace-mcp:3.4.1

Environment variables

  • DOCSPACE_API_KEYsecret

    The API key for accessing the API.

  • DOCSPACE_AUTH_TOKENsecret

    The Personal Access Token (PAT) for accessing the API.

  • DOCSPACE_AUTHORIZATIONsecret

    The raw value to include in the Authorization header for API requests.

  • DOCSPACE_BASE_URL

    The base URL of the ONLYOFFICE Apps instance for API requests.

  • DOCSPACE_DISABLED_TOOLS

    The list of tools to disable for the MCP server.

  • DOCSPACE_DYNAMIC

    The flag that indicates whether the MCP server should use meta tools.

  • DOCSPACE_ENABLED_TOOLS

    The list of tools to enable for the MCP server.

  • DOCSPACE_FILE_OPERATION_INTERVAL

    The interval for polling the status of in-progress file operations in milliseconds.

  • DOCSPACE_FILE_OPERATION_TIMEOUT

    The maximum time to wait for a file operation to complete in milliseconds.

  • DOCSPACE_HOST

    The host to bind the server to.

  • DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHM

    The algorithm to use for signing OAuth access tokens.

  • DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEYsecret

    The secret key to use for signing OAuth access tokens.

  • DOCSPACE_OAUTH_AUTH_TOKEN_TTL

    The time-to-live (TTL) for OAuth access tokens in milliseconds.

  • DOCSPACE_OAUTH_BASE_URL

    The base URL of the ONLYOFFICE Apps OAuth service for OAuth requests.

  • DOCSPACE_OAUTH_CLIENT_ID

    The client ID of the OAuth application.

  • DOCSPACE_OAUTH_CLIENT_SECRETsecret

    The client secret of the OAuth application.

  • DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHM

    The algorithm to use for signing OAuth state tokens.

  • DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEYsecret

    The secret key to use for signing OAuth state tokens.

  • DOCSPACE_OAUTH_STATE_TOKEN_TTL

    The time-to-live (TTL) for OAuth state tokens in milliseconds.

  • DOCSPACE_PASSWORDsecret

    The password for accessing the API using basic authentication.

  • DOCSPACE_PORT

    The port to bind the server to.

  • DOCSPACE_PROXY_HOPS

    The number of proxy servers between the server and the client.

  • DOCSPACE_REQUEST_AUTHORIZATION_HEADER

    The flag that indicates whether the server should check for the Authorization header in incoming requests.

  • DOCSPACE_REQUEST_HEADER_PREFIX

    The prefix to use with custom configuration headers.

  • DOCSPACE_REQUEST_QUERY

    The flag that indicates whether the server should accept configuration via query parameters in incoming requests.

  • DOCSPACE_SERVER_ALLOWED_HOSTNAMES

    The list of allowed hostnames.

  • DOCSPACE_SERVER_BASE_URL

    The base URL of the server.

  • DOCSPACE_SERVER_CORS_MCP_MAX_AGE

    The maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to MCP endpoints.

  • DOCSPACE_SERVER_CORS_MCP_ORIGIN

    The list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to MCP endpoints.

  • DOCSPACE_SERVER_CORS_OAUTH_MAX_AGE

    The maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to OAuth endpoints.

  • DOCSPACE_SERVER_CORS_OAUTH_ORIGIN

    The list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to OAuth endpoints.

  • DOCSPACE_SERVER_OPENAI_APPS_CHALLENGE

    The domain verification token to serve at the /.well-known/openai-apps-challenge endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITY

    The maximum number of requests allowed per window for the MCP endpoints.

  • DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOW

    The time window in milliseconds for the rate limit for the MCP endpoints.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITY

    The maximum number of requests allowed per window for the OAuth authorization endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOW

    The time window in milliseconds for the rate limit for the OAuth authorization endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITY

    The maximum number of requests allowed per window for the OAuth callback endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOW

    The time window in milliseconds for the rate limit for the OAuth callback endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITY

    The maximum number of requests allowed per window for the OAuth introspection endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOW

    The time window in milliseconds for the rate limit for the OAuth introspection endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITY

    The maximum number of requests allowed per window for the OAuth client registration endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOW

    The time window in milliseconds for the rate limit for the OAuth client registration endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITY

    The maximum number of requests allowed per window for the OAuth resource metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOW

    The time window in milliseconds for the rate limit for the OAuth resource metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITY

    The maximum number of requests allowed per window for the OAuth token revocation endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOW

    The time window in milliseconds for the rate limit for the OAuth token revocation endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITY

    The maximum number of requests allowed per window for the OAuth server metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOW

    The time window in milliseconds for the rate limit for the OAuth server metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITY

    The maximum number of requests allowed per window for the OAuth token endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOW

    The time window in milliseconds for the rate limit for the OAuth token endpoint.

  • DOCSPACE_SESSION_INTERVAL

    The interval for checking HTTP sessions for expiration in milliseconds.

  • DOCSPACE_SESSION_TTL

    The time-to-live (TTL) for HTTP sessions in milliseconds.

  • DOCSPACE_TOOLSETS

    The list of toolsets to enable for the MCP server.

  • DOCSPACE_TRANSPORT

    The transport protocol to use for communication with the MCP server.

  • DOCSPACE_USER_AGENT

    The user agent to include in the User-Agent header for API requests.

  • DOCSPACE_USERNAME

    The username for accessing the API using basic authentication.

Docker

docker run -i --rm docker.io/onlyoffice/docspace-mcp:3.4.1

Environment variables

  • DOCSPACE_API_KEYsecret

    The API key for accessing the API.

  • DOCSPACE_AUTH_TOKENsecret

    The Personal Access Token (PAT) for accessing the API.

  • DOCSPACE_AUTHORIZATIONsecret

    The raw value to include in the Authorization header for API requests.

  • DOCSPACE_BASE_URL

    The base URL of the ONLYOFFICE Apps instance for API requests.

  • DOCSPACE_DISABLED_TOOLS

    The list of tools to disable for the MCP server.

  • DOCSPACE_DYNAMIC

    The flag that indicates whether the MCP server should use meta tools.

  • DOCSPACE_ENABLED_TOOLS

    The list of tools to enable for the MCP server.

  • DOCSPACE_FILE_OPERATION_INTERVAL

    The interval for polling the status of in-progress file operations in milliseconds.

  • DOCSPACE_FILE_OPERATION_TIMEOUT

    The maximum time to wait for a file operation to complete in milliseconds.

  • DOCSPACE_HOST

    The host to bind the server to.

  • DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHM

    The algorithm to use for signing OAuth access tokens.

  • DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEYsecret

    The secret key to use for signing OAuth access tokens.

  • DOCSPACE_OAUTH_AUTH_TOKEN_TTL

    The time-to-live (TTL) for OAuth access tokens in milliseconds.

  • DOCSPACE_OAUTH_BASE_URL

    The base URL of the ONLYOFFICE Apps OAuth service for OAuth requests.

  • DOCSPACE_OAUTH_CLIENT_ID

    The client ID of the OAuth application.

  • DOCSPACE_OAUTH_CLIENT_SECRETsecret

    The client secret of the OAuth application.

  • DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHM

    The algorithm to use for signing OAuth state tokens.

  • DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEYsecret

    The secret key to use for signing OAuth state tokens.

  • DOCSPACE_OAUTH_STATE_TOKEN_TTL

    The time-to-live (TTL) for OAuth state tokens in milliseconds.

  • DOCSPACE_PASSWORDsecret

    The password for accessing the API using basic authentication.

  • DOCSPACE_PORT

    The port to bind the server to.

  • DOCSPACE_PROXY_HOPS

    The number of proxy servers between the server and the client.

  • DOCSPACE_REQUEST_AUTHORIZATION_HEADER

    The flag that indicates whether the server should check for the Authorization header in incoming requests.

  • DOCSPACE_REQUEST_HEADER_PREFIX

    The prefix to use with custom configuration headers.

  • DOCSPACE_REQUEST_QUERY

    The flag that indicates whether the server should accept configuration via query parameters in incoming requests.

  • DOCSPACE_SERVER_ALLOWED_HOSTNAMES

    The list of allowed hostnames.

  • DOCSPACE_SERVER_BASE_URL

    The base URL of the server.

  • DOCSPACE_SERVER_CORS_MCP_MAX_AGE

    The maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to MCP endpoints.

  • DOCSPACE_SERVER_CORS_MCP_ORIGIN

    The list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to MCP endpoints.

  • DOCSPACE_SERVER_CORS_OAUTH_MAX_AGE

    The maximum age in milliseconds to include in the Access-Control-Max-Age header for CORS requests to OAuth endpoints.

  • DOCSPACE_SERVER_CORS_OAUTH_ORIGIN

    The list of allowed origins to include in the Access-Control-Allow-Origin header for CORS requests to OAuth endpoints.

  • DOCSPACE_SERVER_OPENAI_APPS_CHALLENGE

    The domain verification token to serve at the /.well-known/openai-apps-challenge endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITY

    The maximum number of requests allowed per window for the MCP endpoints.

  • DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOW

    The time window in milliseconds for the rate limit for the MCP endpoints.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITY

    The maximum number of requests allowed per window for the OAuth authorization endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOW

    The time window in milliseconds for the rate limit for the OAuth authorization endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITY

    The maximum number of requests allowed per window for the OAuth callback endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOW

    The time window in milliseconds for the rate limit for the OAuth callback endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITY

    The maximum number of requests allowed per window for the OAuth introspection endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOW

    The time window in milliseconds for the rate limit for the OAuth introspection endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITY

    The maximum number of requests allowed per window for the OAuth client registration endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOW

    The time window in milliseconds for the rate limit for the OAuth client registration endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITY

    The maximum number of requests allowed per window for the OAuth resource metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOW

    The time window in milliseconds for the rate limit for the OAuth resource metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITY

    The maximum number of requests allowed per window for the OAuth token revocation endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOW

    The time window in milliseconds for the rate limit for the OAuth token revocation endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITY

    The maximum number of requests allowed per window for the OAuth server metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOW

    The time window in milliseconds for the rate limit for the OAuth server metadata endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITY

    The maximum number of requests allowed per window for the OAuth token endpoint.

  • DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOW

    The time window in milliseconds for the rate limit for the OAuth token endpoint.

  • DOCSPACE_SESSION_INTERVAL

    The interval for checking HTTP sessions for expiration in milliseconds.

  • DOCSPACE_SESSION_TTL

    The time-to-live (TTL) for HTTP sessions in milliseconds.

  • DOCSPACE_TOOLSETS

    The list of toolsets to enable for the MCP server.

  • DOCSPACE_TRANSPORT

    The transport protocol to use for communication with the MCP server.

  • DOCSPACE_USER_AGENT

    The user agent to include in the User-Agent header for API requests.

  • DOCSPACE_USERNAME

    The username for accessing the API using basic authentication.

More MCP servers