Skip to content

feat: update ONLYOFFICE DocSpace MCP Server #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 49 additions & 9 deletions servers/onlyoffice-docspace/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ config:
env: DOCSPACE_PASSWORD
example: ditgor-p...
env:
- name: DOCSPACE_BASE_URL
example: https://your-instance.onlyoffice.com
value: '{{onlyoffice-docspace.base_url}}'
- name: DOCSPACE_ORIGIN
example: https://your-instance.onlyoffice.com
value: '{{onlyoffice-docspace.origin}}'
- name: DOCSPACE_INTERNAL
example: false
value: '{{onlyoffice-docspace.internal}}'
- name: DOCSPACE_TRANSPORT
example: stdio
value: '{{onlyoffice-docspace.transport}}'
- name: DOCSPACE_USER_AGENT
example: '@onlyoffice/docspace-mcp'
value: '{{onlyoffice-docspace.user_agent}}'
Expand All @@ -44,16 +44,56 @@ config:
- name: DOCSPACE_TOOLSETS
example: all
value: '{{onlyoffice-docspace.toolsets}}'
- name: DOCSPACE_ENABLED_TOOLS
example: archive_room
value: '{{onlyoffice-docspace.enabled_tools}}'
- name: DOCSPACE_DISABLED_TOOLS
example: archive_room
value: '{{onlyoffice-docspace.disabled_tools}}'
- name: DOCSPACE_BASE_URL
example: https://your-instance.onlyoffice.com
value: '{{onlyoffice-docspace.base_url}}'
- name: DOCSPACE_ORIGIN
example: https://your-instance.onlyoffice.com
value: '{{onlyoffice-docspace.origin}}'
- name: DOCSPACE_HOST
example: 127.0.0.1
value: '{{onlyoffice-docspace.host}}'
- name: DOCSPACE_PORT
example: 8080
value: '{{onlyoffice-docspace.port}}'
- name: DOCSPACE_SESSION_TTL
example: 28800000
value: '{{onlyoffice-docspace.session_ttl}}'
- name: DOCSPACE_SESSION_INTERVAL
example: 240000
value: '{{onlyoffice-docspace.session_interval}}'
parameters:
type: object
properties:
base_url:
type: string
origin:
internal:
type: boolean
transport:
type: string
user_agent:
type: string
dynamic:
type: boolean
toolsets:
type: string
enabled_tools:
type: string
disabled_tools:
type: string
base_url:
type: string
origin:
type: string
host:
type: string
port:
type: integer
session_ttl:
type: integer
session_interval:
type: integer