This document describes how to connect to the DocSpace MCP server using Windsurf.
Connect to the MCP server running remotely using Streamable-HTTP transport. This is the preferred connection method.
- Open Windsurf;
- Bring up Command Palette;
- Select "Open Windsurf User Settings";
- Navigate to Cascade;
- Click "Open MCP Marketplace";
- Click "Settings";
- Add a new record to the
mcpServerssection:{ "mcpServers": { "onlyoffice-docspace": { "serverUrl": "https://mcp.onlyoffice.com/mcp" } } } - Save the file;
- Complete the OAuth authentication process.
Connect to the locally running MCP server using stdio transport.
Ensure Docker is installed on your system.
- Open Windsurf;
- Bring up Command Palette;
- Select "Open Windsurf User Settings";
- Navigate to Cascade;
- Click "Open MCP Marketplace";
- Click "Settings";
- Add a new record to the
mcpServerssection:{ "mcpServers": { "onlyoffice-docspace": { "command": "docker", "args": [ "run", "--interactive", "--rm", "--env", "DOCSPACE_BASE_URL", "--env", "DOCSPACE_API_KEY", "onlyoffice/docspace-mcp" ], "env": { "DOCSPACE_BASE_URL": "https://your-instance.onlyoffice.com", "DOCSPACE_API_KEY": "your-api-key" } } } } - Save the file.