A room-based collaborative platform

Hosted
officialservice

Deployment

Hosted
ssehttps://mcp.onlyoffice.com/sse
Headers
X-Mcp-Dynamic
The flag that indicates whether the MCP server should use meta tools.
X-Mcp-Toolsets
The list of toolsets to enable for the MCP server.
X-Mcp-Enabled-Tools
The list of tools to enable for the MCP server.
X-Mcp-Disabled-Tools
The list of tools to disable for the MCP server.
X-Mcp-Base-Url
The base URL of the DocSpace instance for API requests.
X-Mcp-Api-Key
The API key for accessing the API.
X-Mcp-Auth-Token
The Personal Access Token (PAT) for accessing the API.
X-Mcp-Username
The username for accessing the API using basic authentication.
X-Mcp-Password
The password for accessing the API using basic authentication.
streamable-httphttps://mcp.onlyoffice.com/mcp
Headers
X-Mcp-Dynamic
The flag that indicates whether the MCP server should use meta tools.
X-Mcp-Toolsets
The list of toolsets to enable for the MCP server.
X-Mcp-Enabled-Tools
The list of tools to enable for the MCP server.
X-Mcp-Disabled-Tools
The list of tools to disable for the MCP server.
X-Mcp-Base-Url
The base URL of the DocSpace instance for API requests.
X-Mcp-Api-Key
The API key for accessing the API.
X-Mcp-Auth-Token
The Personal Access Token (PAT) for accessing the API.
X-Mcp-Username
The username for accessing the API using basic authentication.
X-Mcp-Password
The password for accessing the API using basic authentication.

Package Details

Transportstdio
File SHA2561d97c2241fe0b136600069306abf57d3782dabcba262e525a6c4fa00f9ce9310

Environment Variables

DOCSPACE_BASE_URL(str)

The base URL of the DocSpace instance for API requests.

DOCSPACE_API_KEY(str)
Secret

The API key for accessing the API.

Transportstdio
Runtimenpx

Environment Variables

DOCSPACE_TRANSPORT(str)
Default:stdio

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

DOCSPACE_DYNAMIC(bool)
Default:false

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

DOCSPACE_TOOLSETS(str)
Default:all

The list of toolsets to enable for the MCP server.

DOCSPACE_ENABLED_TOOLS(str)

The list of tools to enable for the MCP server.

DOCSPACE_DISABLED_TOOLS(str)

The list of tools to disable for the MCP server.

DOCSPACE_USER_AGENT(str)
Default:@onlyoffice/docspace-mcp v3.1.0

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

DOCSPACE_BASE_URL(str)

The base URL of the DocSpace instance for API requests.

DOCSPACE_AUTHORIZATION(str)
Secret

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

DOCSPACE_API_KEY(str)
Secret

The API key for accessing the API.

DOCSPACE_AUTH_TOKEN(str)
Secret

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

DOCSPACE_USERNAME(str)

The username for accessing the API using basic authentication.

DOCSPACE_PASSWORD(str)
Secret

The password for accessing the API using basic authentication.

TransportSSE
Runtimenpx

Environment Variables

DOCSPACE_TRANSPORT(str)
Default:stdio

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

DOCSPACE_DYNAMIC(bool)
Default:false

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

DOCSPACE_TOOLSETS(str)
Default:all

The list of toolsets to enable for the MCP server.

DOCSPACE_ENABLED_TOOLS(str)

The list of tools to enable for the MCP server.

DOCSPACE_DISABLED_TOOLS(str)

The list of tools to disable for the MCP server.

DOCSPACE_SESSION_TTL(num)
Default:28800000

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

DOCSPACE_SESSION_INTERVAL(num)
Default:240000

The interval for checking HTTP sessions for expiration in milliseconds.

DOCSPACE_USER_AGENT(str)
Default:@onlyoffice/docspace-mcp v3.1.0

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

DOCSPACE_BASE_URL(str)

The base URL of the DocSpace instance for API requests.

DOCSPACE_AUTHORIZATION(str)
Secret

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

DOCSPACE_API_KEY(str)
Secret

The API key for accessing the API.

DOCSPACE_AUTH_TOKEN(str)
Secret

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

DOCSPACE_USERNAME(str)

The username for accessing the API using basic authentication.

DOCSPACE_PASSWORD(str)
Secret

The password for accessing the API using basic authentication.

DOCSPACE_OAUTH_BASE_URL(str)

The base URL of the DocSpace OAuth service for OAuth requests.

DOCSPACE_OAUTH_CLIENT_ID(str)

The client ID of the OAuth application.

DOCSPACE_OAUTH_CLIENT_SECRET(str)
Secret

The client secret of the OAuth application.

DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHM(str)
Default:HS256

The algorithm to use for signing OAuth access tokens.

DOCSPACE_OAUTH_AUTH_TOKEN_TTL(num)
Default:3600000

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

DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEY(str)
Secret

The secret key to use for signing OAuth access tokens.

DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHM(str)
Default:HS256

The algorithm to use for signing OAuth state tokens.

DOCSPACE_OAUTH_STATE_TOKEN_TTL(num)
Default:3600000

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

DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEY(str)
Secret

The secret key to use for signing OAuth state tokens.

DOCSPACE_SERVER_BASE_URL(str)

The base URL of the server.

DOCSPACE_HOST(str)
Default:127.0.0.1

The host to bind the server to.

DOCSPACE_PORT(num)
Default:8080

The port to bind the server to.

DOCSPACE_SERVER_PROXY_HOPS(num)
Default:0

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

DOCSPACE_SERVER_CORS_MCP_ORIGIN(str)
Default:*

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

DOCSPACE_SERVER_CORS_MCP_MAX_AGE(num)
Default:86400000

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

DOCSPACE_SERVER_CORS_OAUTH_ORIGIN(str)
Default:*

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

DOCSPACE_SERVER_CORS_OAUTH_MAX_AGE(num)
Default:86400000

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

DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITY(num)
Default:1000

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

DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOW(num)
Default:1000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOW(num)
Default:60000

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

DOCSPACE_REQUEST_QUERY(bool)
Default:true

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

DOCSPACE_REQUEST_AUTHORIZATION_HEADER(bool)
Default:true

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

DOCSPACE_REQUEST_HEADER_PREFIX(str)
Default:x-mcp-

The prefix to use with custom configuration headers.

TransportStreamable HTTP
Runtimenpx

Environment Variables

DOCSPACE_TRANSPORT(str)
Default:stdio

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

DOCSPACE_DYNAMIC(bool)
Default:false

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

DOCSPACE_TOOLSETS(str)
Default:all

The list of toolsets to enable for the MCP server.

DOCSPACE_ENABLED_TOOLS(str)

The list of tools to enable for the MCP server.

DOCSPACE_DISABLED_TOOLS(str)

The list of tools to disable for the MCP server.

DOCSPACE_SESSION_TTL(num)
Default:28800000

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

DOCSPACE_SESSION_INTERVAL(num)
Default:240000

The interval for checking HTTP sessions for expiration in milliseconds.

DOCSPACE_USER_AGENT(str)
Default:@onlyoffice/docspace-mcp v3.1.0

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

DOCSPACE_BASE_URL(str)

The base URL of the DocSpace instance for API requests.

DOCSPACE_AUTHORIZATION(str)
Secret

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

DOCSPACE_API_KEY(str)
Secret

The API key for accessing the API.

DOCSPACE_AUTH_TOKEN(str)
Secret

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

DOCSPACE_USERNAME(str)

The username for accessing the API using basic authentication.

DOCSPACE_PASSWORD(str)
Secret

The password for accessing the API using basic authentication.

DOCSPACE_OAUTH_BASE_URL(str)

The base URL of the DocSpace OAuth service for OAuth requests.

DOCSPACE_OAUTH_CLIENT_ID(str)

The client ID of the OAuth application.

DOCSPACE_OAUTH_CLIENT_SECRET(str)
Secret

The client secret of the OAuth application.

DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHM(str)
Default:HS256

The algorithm to use for signing OAuth access tokens.

DOCSPACE_OAUTH_AUTH_TOKEN_TTL(num)
Default:3600000

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

DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEY(str)
Secret

The secret key to use for signing OAuth access tokens.

DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHM(str)
Default:HS256

The algorithm to use for signing OAuth state tokens.

DOCSPACE_OAUTH_STATE_TOKEN_TTL(num)
Default:3600000

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

DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEY(str)
Secret

The secret key to use for signing OAuth state tokens.

DOCSPACE_SERVER_BASE_URL(str)

The base URL of the server.

DOCSPACE_HOST(str)
Default:127.0.0.1

The host to bind the server to.

DOCSPACE_PORT(num)
Default:8080

The port to bind the server to.

DOCSPACE_SERVER_PROXY_HOPS(num)
Default:0

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

DOCSPACE_SERVER_CORS_MCP_ORIGIN(str)
Default:*

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

DOCSPACE_SERVER_CORS_MCP_MAX_AGE(num)
Default:86400000

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

DOCSPACE_SERVER_CORS_OAUTH_ORIGIN(str)
Default:*

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

DOCSPACE_SERVER_CORS_OAUTH_MAX_AGE(num)
Default:86400000

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

DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITY(num)
Default:1000

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

DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOW(num)
Default:1000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOW(num)
Default:60000

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

DOCSPACE_REQUEST_QUERY(bool)
Default:true

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

DOCSPACE_REQUEST_AUTHORIZATION_HEADER(bool)
Default:true

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

DOCSPACE_REQUEST_HEADER_PREFIX(str)
Default:x-mcp-

The prefix to use with custom configuration headers.

docker.io/onlyoffice/docspace-mcp:3.1.0

Transportstdio
Runtimedocker

Environment Variables

DOCSPACE_TRANSPORT(str)
Default:stdio

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

DOCSPACE_DYNAMIC(bool)
Default:false

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

DOCSPACE_TOOLSETS(str)
Default:all

The list of toolsets to enable for the MCP server.

DOCSPACE_ENABLED_TOOLS(str)

The list of tools to enable for the MCP server.

DOCSPACE_DISABLED_TOOLS(str)

The list of tools to disable for the MCP server.

DOCSPACE_USER_AGENT(str)
Default:@onlyoffice/docspace-mcp v3.1.0

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

DOCSPACE_BASE_URL(str)

The base URL of the DocSpace instance for API requests.

DOCSPACE_AUTHORIZATION(str)
Secret

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

DOCSPACE_API_KEY(str)
Secret

The API key for accessing the API.

DOCSPACE_AUTH_TOKEN(str)
Secret

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

DOCSPACE_USERNAME(str)

The username for accessing the API using basic authentication.

DOCSPACE_PASSWORD(str)
Secret

The password for accessing the API using basic authentication.

docker.io/onlyoffice/docspace-mcp:3.1.0

TransportSSE
Runtimedocker

Environment Variables

DOCSPACE_TRANSPORT(str)
Default:stdio

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

DOCSPACE_DYNAMIC(bool)
Default:false

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

DOCSPACE_TOOLSETS(str)
Default:all

The list of toolsets to enable for the MCP server.

DOCSPACE_ENABLED_TOOLS(str)

The list of tools to enable for the MCP server.

DOCSPACE_DISABLED_TOOLS(str)

The list of tools to disable for the MCP server.

DOCSPACE_SESSION_TTL(num)
Default:28800000

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

DOCSPACE_SESSION_INTERVAL(num)
Default:240000

The interval for checking HTTP sessions for expiration in milliseconds.

DOCSPACE_USER_AGENT(str)
Default:@onlyoffice/docspace-mcp v3.1.0

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

DOCSPACE_BASE_URL(str)

The base URL of the DocSpace instance for API requests.

DOCSPACE_AUTHORIZATION(str)
Secret

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

DOCSPACE_API_KEY(str)
Secret

The API key for accessing the API.

DOCSPACE_AUTH_TOKEN(str)
Secret

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

DOCSPACE_USERNAME(str)

The username for accessing the API using basic authentication.

DOCSPACE_PASSWORD(str)
Secret

The password for accessing the API using basic authentication.

DOCSPACE_OAUTH_BASE_URL(str)

The base URL of the DocSpace OAuth service for OAuth requests.

DOCSPACE_OAUTH_CLIENT_ID(str)

The client ID of the OAuth application.

DOCSPACE_OAUTH_CLIENT_SECRET(str)
Secret

The client secret of the OAuth application.

DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHM(str)
Default:HS256

The algorithm to use for signing OAuth access tokens.

DOCSPACE_OAUTH_AUTH_TOKEN_TTL(num)
Default:3600000

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

DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEY(str)
Secret

The secret key to use for signing OAuth access tokens.

DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHM(str)
Default:HS256

The algorithm to use for signing OAuth state tokens.

DOCSPACE_OAUTH_STATE_TOKEN_TTL(num)
Default:3600000

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

DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEY(str)
Secret

The secret key to use for signing OAuth state tokens.

DOCSPACE_SERVER_BASE_URL(str)

The base URL of the server.

DOCSPACE_HOST(str)
Default:127.0.0.1

The host to bind the server to.

DOCSPACE_PORT(num)
Default:8080

The port to bind the server to.

DOCSPACE_SERVER_PROXY_HOPS(num)
Default:0

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

DOCSPACE_SERVER_CORS_MCP_ORIGIN(str)
Default:*

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

DOCSPACE_SERVER_CORS_MCP_MAX_AGE(num)
Default:86400000

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

DOCSPACE_SERVER_CORS_OAUTH_ORIGIN(str)
Default:*

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

DOCSPACE_SERVER_CORS_OAUTH_MAX_AGE(num)
Default:86400000

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

DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITY(num)
Default:1000

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

DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOW(num)
Default:1000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOW(num)
Default:60000

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

DOCSPACE_REQUEST_QUERY(bool)
Default:true

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

DOCSPACE_REQUEST_AUTHORIZATION_HEADER(bool)
Default:true

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

DOCSPACE_REQUEST_HEADER_PREFIX(str)
Default:x-mcp-

The prefix to use with custom configuration headers.

docker.io/onlyoffice/docspace-mcp:3.1.0

TransportStreamable HTTP
Runtimedocker

Environment Variables

DOCSPACE_TRANSPORT(str)
Default:stdio

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

DOCSPACE_DYNAMIC(bool)
Default:false

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

DOCSPACE_TOOLSETS(str)
Default:all

The list of toolsets to enable for the MCP server.

DOCSPACE_ENABLED_TOOLS(str)

The list of tools to enable for the MCP server.

DOCSPACE_DISABLED_TOOLS(str)

The list of tools to disable for the MCP server.

DOCSPACE_SESSION_TTL(num)
Default:28800000

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

DOCSPACE_SESSION_INTERVAL(num)
Default:240000

The interval for checking HTTP sessions for expiration in milliseconds.

DOCSPACE_USER_AGENT(str)
Default:@onlyoffice/docspace-mcp v3.1.0

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

DOCSPACE_BASE_URL(str)

The base URL of the DocSpace instance for API requests.

DOCSPACE_AUTHORIZATION(str)
Secret

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

DOCSPACE_API_KEY(str)
Secret

The API key for accessing the API.

DOCSPACE_AUTH_TOKEN(str)
Secret

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

DOCSPACE_USERNAME(str)

The username for accessing the API using basic authentication.

DOCSPACE_PASSWORD(str)
Secret

The password for accessing the API using basic authentication.

DOCSPACE_OAUTH_BASE_URL(str)

The base URL of the DocSpace OAuth service for OAuth requests.

DOCSPACE_OAUTH_CLIENT_ID(str)

The client ID of the OAuth application.

DOCSPACE_OAUTH_CLIENT_SECRET(str)
Secret

The client secret of the OAuth application.

DOCSPACE_OAUTH_AUTH_TOKEN_ALGORITHM(str)
Default:HS256

The algorithm to use for signing OAuth access tokens.

DOCSPACE_OAUTH_AUTH_TOKEN_TTL(num)
Default:3600000

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

DOCSPACE_OAUTH_AUTH_TOKEN_SECRET_KEY(str)
Secret

The secret key to use for signing OAuth access tokens.

DOCSPACE_OAUTH_STATE_TOKEN_ALGORITHM(str)
Default:HS256

The algorithm to use for signing OAuth state tokens.

DOCSPACE_OAUTH_STATE_TOKEN_TTL(num)
Default:3600000

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

DOCSPACE_OAUTH_STATE_TOKEN_SECRET_KEY(str)
Secret

The secret key to use for signing OAuth state tokens.

DOCSPACE_SERVER_BASE_URL(str)

The base URL of the server.

DOCSPACE_HOST(str)
Default:127.0.0.1

The host to bind the server to.

DOCSPACE_PORT(num)
Default:8080

The port to bind the server to.

DOCSPACE_SERVER_PROXY_HOPS(num)
Default:0

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

DOCSPACE_SERVER_CORS_MCP_ORIGIN(str)
Default:*

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

DOCSPACE_SERVER_CORS_MCP_MAX_AGE(num)
Default:86400000

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

DOCSPACE_SERVER_CORS_OAUTH_ORIGIN(str)
Default:*

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

DOCSPACE_SERVER_CORS_OAUTH_MAX_AGE(num)
Default:86400000

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

DOCSPACE_SERVER_RATE_LIMITS_MCP_CAPACITY(num)
Default:1000

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

DOCSPACE_SERVER_RATE_LIMITS_MCP_WINDOW(num)
Default:1000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_SERVER_METADATA_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_RESOURCE_METADATA_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_AUTHORIZE_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_CAPACITY(num)
Default:200

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_CALLBACK_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_INTROSPECT_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REGISTER_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_REVOKE_WINDOW(num)
Default:60000

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_CAPACITY(num)
Default:10

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

DOCSPACE_SERVER_RATE_LIMITS_OAUTH_TOKEN_WINDOW(num)
Default:60000

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

DOCSPACE_REQUEST_QUERY(bool)
Default:true

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

DOCSPACE_REQUEST_AUTHORIZATION_HEADER(bool)
Default:true

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

DOCSPACE_REQUEST_HEADER_PREFIX(str)
Default:x-mcp-

The prefix to use with custom configuration headers.