Back to Home
ONLYOFFICE icon

docspace-mcp

Verified Safe

by ONLYOFFICE

Overview

The DocSpace MCP server provides an interface for AI clients to interact with an ONLYOFFICE DocSpace collaborative platform, enabling file management, folder operations, room management, and user interaction through a Model Context Protocol.

Installation

Run Command
npx @onlyoffice/docspace-mcp

Environment Variables

  • DOCSPACE_API_BASE_URL
  • DOCSPACE_USERNAME
  • DOCSPACE_PASSWORD
  • DOCSPACE_API_KEY
  • DOCSPACE_PAT
  • DOCSPACE_USER_AGENT
  • MCP_AUTH_TOKEN_SECRET
  • MCP_STATE_TOKEN_SECRET
  • MCP_HOST
  • MCP_PORT
  • MCP_SESSION_TTL
  • MCP_SESSION_INACTIVITY_TIMEOUT
  • MCP_RATE_LIMIT_CAPACITY
  • MCP_RATE_LIMIT_WINDOW
  • MCP_TRANSPORT
  • MCP_DYNAMIC
  • MCP_TOOLSETS
  • MCP_ENABLED_TOOLS
  • MCP_DISABLED_TOOLS

Security Notes

The server utilizes Express with CORS and rate-limiting middleware, indicating an attempt to secure web endpoints. Zod schemas are used for input validation, which is a good practice for API robustness. Authentication relies on standard methods (API keys, OAuth tokens, basic auth) and expects secrets to be provided via environment variables, avoiding hardcoding. File chunk uploading is handled, but comprehensive validation of file content beyond basic size/name would typically reside on the backend DocSpace server, which is external to this MCP component. No obvious 'eval' or malicious patterns were found in the provided code snippets.

Similar Servers

Stats

Interest Score38
Security Score8
Cost ClassMedium
Avg Tokens5000
Stars13
Forks6
Last Update2026-01-14

Tags

DocSpaceCollaborationFile ManagementMCP ServerAPI Integration