Common issues
The following issues can occur with any MCP client when connecting to or using the DocSpace MCP server.
Parsing errors
If an error occurs during global configuration parsing, the DocSpace MCP server will automatically fall back to using the stdio transport and defer the configuration error until tool execution:
- Encounter an error while parsing global configuration.
- Start successfully using stdio transport.
- Respond normally to MCP protocol requests.
- Return the original configuration parsing error when any tool is called.
This fallback behavior is implemented to ensure compatibility with the Docker MCP Registry, which requires servers to start successfully even with configuration issues.
Connection fails after entering the server URL
The MCP server URL may be unreachable due to network restrictions, a VPN, or a typo in the URL. Try any of these solutions:
- Ensure the URL is entered correctly:
https://mcp.onlyoffice.com/mcp. - Check that your network or firewall does not block access to
mcp.onlyoffice.com. - If you are using a VPN, try disabling it and reconnecting.
- Open the URL directly in a browser to verify it is reachable.
OAuth authentication fails or the browser does not open
Sometimes OAuth authentication fails or the browser fails to open to authenticate the DocSpace MCP server - MCP client connection. This may be due to any of these reasons:
- No default browser configured. The client opens the OAuth page in the system default browser. Ensure a default browser is set in your OS settings.
- The MCP server URL is incorrect. Verify that the URL entered in is correct with no trailing slash issues or typos.
- Pop-ups are blocked. If the authentication page does not appear, check that your browser is not blocking pop-ups from
mcp.onlyoffice.com. - Session expired or token revoked. Delete the existing
onlyoffice-docspaceentry, re-add it, and repeat the authentication process. - Corporate firewall or proxy. If your organization uses a proxy, make sure that
mcp.onlyoffice.comis reachable. Contact your network administrator if needed.
The API key is invalid or authentication returns a 401 error (Local MCP Server)
This signals invalid authentication credentials to access the server and may result from any of these:
- Key copied incorrectly. Regenerate the API key in DocSpace settings → Developer Tools → API Keys and paste it again, making sure there are no leading or trailing whitespace characters.
- Invalid key. Check to confirm your API key is still valid and not revoked. If revoked, generate a new API key and update the value of
DOCSPACE_API_KEYin the configuration file. - Insufficient permissions. Ensure your DocSpace account has the permissions required by the MCP server. Contact your DocSpace administrator to verify your account role.
"Sign In" fails during the OAuth process
Incorrect credentials or the DocSpace account may not be activated. To fix:
- Double-check your email and password.
- Ensure your DocSpace account is active and you have access to your DocSpace portal.
- If you have forgotten your password, use the Forgot Password option on the DocSpace sign-in page.
"Access denied" error during OAuth
Your DocSpace account does not have sufficient permissions, or the OAuth application is not authorized for your portal. To fix this:
- Contact your DocSpace administrator to ensure your account has the necessary access rights.
- Ask the administrator to verify that third-party OAuth integrations are allowed on the portal.
"Connect" button is missing or grayed out
This usually means the configuration file contains a JSON syntax error. Verify the mcp_settings.json file is valid JSON — check for missing commas, mismatched braces, or trailing commas after the last property. You can use an online JSON validator or run json.tool in the terminal:
python -m json.tool mcp_settings.json
"Connection refused" or "Unable to reach DocSpace instance"
Check that DOCSPACE_BASE_URL is correct and reachable from your machine:
curl -I https://your-instance.onlyoffice.com
If you are using a self-hosted DocSpace instance with a self-signed SSL certificate, Docker may reject the connection. Contact your administrator to add the certificate to the Docker trust store.
Connection drops after a period of inactivity
Streamable-HTTP connections can time out due to network or firewall settings. Reconnect via MCP Settings → Connect. If the problem persists, consider switching to the Local MCP Server setup.
Connector appears as connected but client still can't access DocSpace
The MCP server-client connection was successful but you can't access tools or interact with DocSpace because:
- Permissions were not granted during OAuth: Disconnect the connector, click Connect again, and make sure to click Allow on the permissions screen.
- The DocSpace account has restricted API access: Check with your DocSpace administrator that your account has the necessary permissions (at minimum, read access to rooms and files).
- The DocSpace instance is unreachable: Verify that your DocSpace portal is accessible in a browser.
The MCP Extension does not appear after installation
After installing the MCP bundle, the extension is not listed under Extensions. This may be due to the following:
- Unsupported Node.js version: Verify that Node.js 18 or higher is installed by running
node --versionin a terminal. Install the required version from nodejs.org. - The bundle file is corrupted or from an outdated release: Re-download the latest MCP bundle from GitHub Releases.
- Claude Desktop needs to be restarted: Fully quit Claude Desktop (not just close the window) and relaunch it after installation.
Docker-based Local MCP server fails to start
After editing the client config.json file, the client displays an error for the onlyoffice-docspace server, or the server is not listed among the available connections.
- Docker is not running: Make sure Docker Desktop (or the Docker daemon on Linux) is started before launching the client.
- The Docker image is not pulled: Run
docker pull onlyoffice/docspace-mcpmanually in a terminal to verify the image can be downloaded. - Invalid JSON in the config file: A single misplaced comma or brace will prevent the config from loading. Validate the file with a JSON linter (e.g., jsonlint.com) before saving.
- Incorrect environment variable values: Double-check that
DOCSPACE_BASE_URLincludes thehttps://scheme and has no trailing slash, and thatDOCSPACE_API_KEYis copied correctly from DocSpace Settings → Developer Tools → API Keys and update theenvblock inmcp_settings.json. - The API key has been revoked or expired: Generate a new API key in DocSpace and update the config file, then restart Claude Desktop.
- Port conflict. If another local service occupies the default port, try restarting Docker or the conflicting service.
The MCP server is configured but no tools appear in the MCP client
The configuration is saved successfully, but the MCP client does not show any DocSpace tools. Try any of these steps to fix the problem:
- Verify that the URL specified in
DOCSPACE_BASE_URLis accessible from your machine by opening it in a browser as the DocSpace instance may be unreachable. - Restart the client after saving the configuration.
- Open the configuration again and verify the server entry is still present and correctly formatted.
- Sign in to your DocSpace portal and confirm that the account used for authentication has access to at least one room.
- Check that the Docker image was pulled successfully and the container can start. Sometimes, your Docker image may be outdated - run
docker pull onlyoffice/docspace-mcpto update to the latest version of the image.
Issues uploading a file to DocSpace room with Claude Desktop
Receiving error messages like Claude's response could not be fully generated or any other issues uploading a file to your DocSpace with the Claude Desktop client.
- Issues with Claude Desktop: Delete and reinstall Claude Desktop
- Incorrect environment variable values: Double-check that your
DOCSPACE_BASE_URLis correct and thatDOCSPACE_API_KEYis still valid and copied correctly.