MCP 서버

PaperDock

dev.paperdock/paperdock
개발자 도구 지식 및 문서 공개 · 연결 가능 MCP 2025-11-25

이 MCP로 할 수 있는 일

Provides collaborative online LaTeX project editing, file management, comments, chat, source search, and access to compiled PDFs.

create_comment
Create a project comment
Create an open Comment on a .tex project file and post it immediately to project collaborators without changing the source file. Later deletion cannot undo prior delivery or reading. Selection offsets may be inferred from quote. Provide exactly one target: fileId or path.
파괴적 작업
입력 스키마
{'type': 'object', 'oneOf': [{'required': ['fileId']}, {'required': ['path']}], 'required': ['projectId', 'body'], 'properties': {'body': {'type': 'string', 'maxLength': 4000}, 'path': {'type': 'string', 'minLength': 1}, 'quote': {'type': 'string', 'maxLength': 1000}, 'fileId': {'type': 'string', 'format': 'uuid'}, 'projectId': {'type': 'string', 'format': 'uuid'}, 'selectionTo': {'type': 'integer', 'minimum': 0}, 'contextAfter': {'type': 'string', 'maxLength': 500}, 'contextBefore': {'type': 'string', 'maxLength': 500}, 'selectionFrom': {'type': 'integer', 'minimum': 0}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['comment'], 'properties': {'comment': {'type': 'object', 'required': ['authorType', 'body', 'filePath', 'quote', 'commentId', 'replies', 'selectionFrom', 'selectionTo', 'status'], 'properties': {'body': {'type': 'string'}, 'quote': {'type': 'string'}, 'status': {'enum': ['open', 'resolved'], 'type': 'string'}, 'replies': {'type': 'array', 'items': {'type': 'object', 'required': ['authorType', 'body'], 'properties': {'body': {'type': 'string'}, 'authorType': {'enum': ['person', 'ai_agent'], 'type': 'string'}}, 'additionalProperties': False}}, 'filePath': {'type': 'string'}, 'commentId': {'type': 'string'}, 'authorType': {'enum': ['person', 'ai_agent'], 'type': 'string'}, 'selectionTo': {'type': 'integer'}, 'selectionFrom': {'type': 'integer'}}, 'additionalProperties': False}}, 'additionalProperties': False}
create_file
Create a text project file
Create a new editable text file at a new project path from supplied content. Pass an explicit empty string to create an empty file. Existing paths are never overwritten.
입력 스키마
{'type': 'object', 'required': ['projectId', 'path', 'content'], 'properties': {'path': {'type': 'string', 'minLength': 1}, 'content': {'type': 'string'}, 'projectId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['file', 'status'], 'properties': {'file': {'type': 'object', 'required': ['kind', 'mimeType', 'path', 'revision', 'sizeBytes'], 'properties': {'kind': {'enum': ['source', 'asset'], 'type': 'string'}, 'path': {'type': 'string'}, 'mimeType': {'type': ['string', 'null']}, 'revision': {'type': 'integer'}, 'sizeBytes': {'type': ['integer', 'null']}}, 'additionalProperties': False}, 'status': {'type': 'string', 'const': 'created'}}, 'additionalProperties': False}
create_project
Create a PaperDock project
Create a new PaperDock project with a starter main.tex only when the user explicitly asks. Names are unique per owner, ignoring letter case and leading/trailing spaces. On PROJECT_NAME_ALREADY_EXISTS, do not retry create_project with the same name or a case/whitespace-only variant. Call list_projects to find the existing project. If the user's intent is unclear, ask whether to use that project or create a new one with a different name. Never modify the existing project or choose a different name without the user's authorization.
입력 스키마
{'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['initialFilePath', 'project'], 'properties': {'project': {'type': 'object', 'required': ['capabilities', 'name', 'projectId', 'role'], 'properties': {'name': {'type': 'string'}, 'role': {'enum': ['owner', 'editor', 'viewer'], 'type': 'string'}, 'projectId': {'type': 'string'}, 'capabilities': {'type': 'object', 'required': ['chatRead', 'chatWrite', 'commentRead', 'commentWrite', 'projectWrite', 'read', 'write'], 'properties': {'read': {'type': 'boolean'}, 'write': {'type': 'boolean'}, 'chatRead': {'type': 'boolean'}, 'chatWrite': {'type': 'boolean'}, 'commentRead': {'type': 'boolean'}, 'commentWrite': {'type': 'boolean'}, 'projectWrite': {'type': 'boolean'}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'initialFilePath': {'type': 'string', 'const': 'main.tex'}}, 'additionalProperties': False}
edit_file
Edit a text project file
Immediately edit one existing editable text file and record the applied change in PaperDock's Review changes UI. Provide exactly one target (fileId or path) and exactly one payload: operations, content, or rangeToken with insert. Read the relevant current text first and pass its baseRevision. For a long replacement covering every line returned by an exact read_file.lineRange call, pass its rangeToken with insert; the token is connection-, file-, revision-, range-, and content-bound and expires after 10 minutes. For other focused edits, use sequential UTF-16 operations and copy expectedText exactly from read_file without retyping, normalization, spelling correction, or manual Unicode escaping; insertions use expectedText: "". On a conflict, read again and retry once. Use content only when broadly rewriting most of the file. This tool cannot create, rename, or delete files.
파괴적 작업
입력 스키마
{'type': 'object', 'allOf': [{'oneOf': [{'required': ['fileId']}, {'required': ['path']}]}, {'oneOf': [{'required': ['operations']}, {'required': ['content']}, {'required': ['rangeToken', 'insert']}]}], 'required': ['projectId', 'baseRevision'], 'properties': {'path': {'type': 'string', 'minLength': 1}, 'fileId': {'type': 'string', 'format': 'uuid'}, 'insert': {'type': 'string'}, 'content': {'type': 'string'}, 'projectId': {'type': 'string', 'format': 'uuid'}, 'operations': {'type': 'array', 'items': {'type': 'object', 'required': ['expectedText', 'from', 'insert', 'to'], 'properties': {'to': {'type': 'integer', 'minimum': 0}, 'from': {'type': 'integer', 'minimum': 0}, 'insert': {'type': 'string'}, 'expectedText': {'type': 'string'}}, 'additionalProperties': False}, 'maxItems': 5000, 'minItems': 1}, 'rangeToken': {'type': 'string', 'maxLength': 2048, 'minLength': 1}, 'baseRevision': {'type': 'integer', 'minimum': 0}, 'expectedUpdatedAt': {'type': 'string'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['applicationStatus', 'file'], 'properties': {'file': {'type': 'object', 'required': ['kind', 'mimeType', 'path', 'revision', 'sizeBytes'], 'properties': {'kind': {'enum': ['source', 'asset'], 'type': 'string'}, 'path': {'type': 'string'}, 'mimeType': {'type': ['string', 'null']}, 'revision': {'type': 'integer'}, 'sizeBytes': {'type': ['integer', 'null']}}, 'additionalProperties': False}, 'applicationStatus': {'enum': ['applied', 'applying', 'not_applied', 'pending_review'], 'type': 'string'}}, 'additionalProperties': False}
list_chat_messages
List project chat messages
Read recent project chat messages in chronological order.
읽기 전용
입력 스키마
{'type': 'object', 'required': ['projectId'], 'properties': {'limit': {'type': 'integer', 'maximum': 200, 'minimum': 1}, 'projectId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['messages', 'truncated'], 'properties': {'messages': {'type': 'array', 'items': {'type': 'object', 'required': ['authorType', 'body'], 'properties': {'body': {'type': 'string'}, 'authorType': {'enum': ['person', 'ai_agent'], 'type': 'string'}}, 'additionalProperties': False}}, 'truncated': {'type': 'boolean'}}, 'additionalProperties': False}
list_comments
List project comments
List active project comments and their replies. Resolved comment history is not returned by this tool.
읽기 전용
입력 스키마
{'type': 'object', 'required': ['projectId'], 'properties': {'projectId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['comments', 'status'], 'properties': {'status': {'type': 'string', 'const': 'open'}, 'comments': {'type': 'array', 'items': {'type': 'object', 'required': ['authorType', 'body', 'filePath', 'quote', 'commentId', 'replies', 'selectionFrom', 'selectionTo', 'status'], 'properties': {'body': {'type': 'string'}, 'quote': {'type': 'string'}, 'status': {'enum': ['open', 'resolved'], 'type': 'string'}, 'replies': {'type': 'array', 'items': {'type': 'object', 'required': ['authorType', 'body'], 'properties': {'body': {'type': 'string'}, 'authorType': {'enum': ['person', 'ai_agent'], 'type': 'string'}}, 'additionalProperties': False}}, 'filePath': {'type': 'string'}, 'commentId': {'type': 'string'}, 'authorType': {'enum': ['person', 'ai_agent'], 'type': 'string'}, 'selectionTo': {'type': 'integer'}, 'selectionFrom': {'type': 'integer'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
list_files
List project files
List project file metadata without loading full file contents.
읽기 전용
입력 스키마
{'type': 'object', 'required': ['projectId'], 'properties': {'projectId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['files'], 'properties': {'files': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'mimeType', 'path', 'revision', 'sizeBytes'], 'properties': {'kind': {'enum': ['source', 'asset'], 'type': 'string'}, 'path': {'type': 'string'}, 'mimeType': {'type': ['string', 'null']}, 'revision': {'type': 'integer'}, 'sizeBytes': {'type': ['integer', 'null']}}, 'additionalProperties': False}}}, 'additionalProperties': False}
list_projects
List PaperDock projects
List standard PaperDock projects accessible to the connected account, including its current role and effective MCP capabilities for each. Use projectId only for subsequent tool calls and do not show it unless explicitly requested.
읽기 전용
입력 스키마
{'type': 'object', 'properties': {}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['projects'], 'properties': {'projects': {'type': 'array', 'items': {'type': 'object', 'required': ['capabilities', 'name', 'projectId', 'role'], 'properties': {'name': {'type': 'string'}, 'role': {'enum': ['owner', 'editor', 'viewer'], 'type': 'string'}, 'projectId': {'type': 'string'}, 'capabilities': {'type': 'object', 'required': ['chatRead', 'chatWrite', 'commentRead', 'commentWrite', 'projectWrite', 'read', 'write'], 'properties': {'read': {'type': 'boolean'}, 'write': {'type': 'boolean'}, 'chatRead': {'type': 'boolean'}, 'chatWrite': {'type': 'boolean'}, 'commentRead': {'type': 'boolean'}, 'commentWrite': {'type': 'boolean'}, 'projectWrite': {'type': 'boolean'}}, 'additionalProperties': False}}, 'additionalProperties': False}}}, 'additionalProperties': False}
read_file
Read a project file
Read an editable project file or return a 10-minute signed download URL for a private project asset. Provide exactly one target: fileId or path. For a localized task in a large text file, pass lineRange with inclusive 1-based startLine and endLine values to return at most 400 lines, absolute UTF-16 offsets, and a revision-bound rangeToken. If replacing all returned source lines, pass that rangeToken to edit_file instead of retyping the old text. Refine lineRange first when only part of the returned range should change. Omit lineRange when the full file is required.
읽기 전용
입력 스키마
{'type': 'object', 'oneOf': [{'required': ['fileId']}, {'required': ['path']}], 'required': ['projectId'], 'properties': {'path': {'type': 'string', 'minLength': 1}, 'fileId': {'type': 'string', 'format': 'uuid'}, 'lineRange': {'type': 'object', 'required': ['startLine', 'endLine'], 'properties': {'endLine': {'type': 'integer', 'minimum': 1}, 'startLine': {'type': 'integer', 'minimum': 1}}, 'additionalProperties': False}, 'projectId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['file'], 'properties': {'file': {'type': 'object', 'required': ['kind', 'mimeType', 'path', 'revision', 'sizeBytes'], 'properties': {'kind': {'enum': ['source', 'asset'], 'type': 'string'}, 'path': {'type': 'string'}, 'mimeType': {'type': ['string', 'null']}, 'revision': {'type': 'integer'}, 'sizeBytes': {'type': ['integer', 'null']}}, 'additionalProperties': False}, 'range': {'type': 'object', 'required': ['endLine', 'endOffset', 'rangeToken', 'startLine', 'startOffset', 'totalLines', 'truncated'], 'properties': {'endLine': {'type': 'integer'}, 'endOffset': {'type': 'integer'}, 'startLine': {'type': 'integer'}, 'truncated': {'type': 'boolean'}, 'rangeToken': {'type': 'string'}, 'totalLines': {'type': 'integer'}, 'startOffset': {'type': 'integer'}}, 'additionalProperties': False}, 'content': {'type': 'string'}, 'downloadUrl': {'type': ['string', 'null']}}, 'additionalProperties': False}
read_pdf
Read an existing compiled PDF
Get the latest successful compiled PDF for an explicit entry .tex path, with a signed download link valid for at most 10 minutes, size, generation time, and freshness information. This never compiles, waits, or polls. A newer running or failed compile may coexist with an older successful PDF. Freshness is unknown unless later source changes are detected; never assume the PDF matches current or unsaved source. Download and open the PDF using a PDF-capable tool before discussing its contents or layout; a link alone is not a PDF inspection. If no result exists or it has expired, ask the user to compile in the web app. Use read_file for uploaded PDF assets.
읽기 전용
입력 스키마
{'type': 'object', 'required': ['projectId', 'path'], 'properties': {'path': {'type': 'string', 'minLength': 1, 'description': 'Project-relative entry .tex path, such as main.tex. Not a PDF path or URL.'}, 'projectId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['status', 'mainPath', 'mimeType', 'downloadUrl', 'downloadExpiry', 'compiledAt', 'sizeBytes', 'freshness', 'latestCompileStatus', 'isLatestCompile', 'message'], 'properties': {'status': {'enum': ['available', 'not_compiled', 'unavailable'], 'type': 'string'}, 'message': {'type': 'string'}, 'mainPath': {'type': 'string'}, 'mimeType': {'type': 'string', 'const': 'application/pdf'}, 'freshness': {'enum': ['outdated', 'unknown'], 'type': 'string'}, 'sizeBytes': {'type': ['integer', 'null']}, 'compiledAt': {'type': ['string', 'null']}, 'downloadUrl': {'type': ['string', 'null']}, 'downloadExpiry': {'type': ['string', 'null']}, 'isLatestCompile': {'type': 'boolean'}, 'latestCompileStatus': {'enum': ['queued', 'running', 'completed', 'failed', 'canceled', 'expired', None], 'type': ['string', 'null']}}, 'additionalProperties': False}
reply_to_comment
Reply to a project comment
Post a reply under the connected PaperDock account, marked as created via an AI agent, immediately to an open Comment. Use a commentId returned by list_comments or copied from PaperDock. If a Comment is not found, call list_comments once and do not retry the same missing commentId. It is visible to project collaborators, and later removal cannot undo prior delivery or reading. Write body as natural, collaborator-facing prose.
파괴적 작업
입력 스키마
{'type': 'object', 'required': ['projectId', 'commentId', 'body'], 'properties': {'body': {'type': 'string'}, 'commentId': {'type': 'string', 'format': 'uuid'}, 'projectId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['commentId', 'reply'], 'properties': {'reply': {'type': 'object', 'required': ['authorType', 'body'], 'properties': {'body': {'type': 'string'}, 'authorType': {'enum': ['person', 'ai_agent'], 'type': 'string'}}, 'additionalProperties': False}, 'commentId': {'type': 'string'}}, 'additionalProperties': False}
search_files
Search project files
Find where a word, phrase, citation key, label, LaTeX command, or other text appears across editable project files when its file or location is unknown. Search is case-insensitive and returns matching paths, positions, revisions, and short snippets. If the target file is already known, use read_file directly instead.
읽기 전용
입력 스키마
{'type': 'object', 'required': ['projectId', 'query'], 'properties': {'limit': {'type': 'number', 'maximum': 50, 'minimum': 1}, 'query': {'type': 'string', 'minLength': 1}, 'projectId': {'type': 'string', 'format': 'uuid'}, 'extensions': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['matches', 'searchedFiles', 'truncated'], 'properties': {'matches': {'type': 'array', 'items': {'type': 'object', 'required': ['column', 'line', 'path', 'revision', 'snippet', 'type'], 'properties': {'line': {'type': 'integer'}, 'path': {'type': 'string'}, 'type': {'type': 'string', 'const': 'content'}, 'column': {'type': 'integer'}, 'snippet': {'type': 'string'}, 'revision': {'type': 'integer'}}, 'additionalProperties': False}}, 'truncated': {'type': 'boolean'}, 'searchedFiles': {'type': 'integer'}}, 'additionalProperties': False}
send_chat_message
Send a project chat message
Post a message under the connected PaperDock account, marked as created via an AI agent, immediately to the selected private PaperDock project's Chat. It is visible to project members, and later editing or deletion cannot undo prior delivery or reading.
파괴적 작업
입력 스키마
{'type': 'object', 'required': ['projectId', 'body'], 'properties': {'body': {'type': 'string', 'maxLength': 4000}, 'projectId': {'type': 'string', 'format': 'uuid'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['message'], 'properties': {'message': {'type': 'object', 'required': ['authorType', 'body'], 'properties': {'body': {'type': 'string'}, 'authorType': {'enum': ['person', 'ai_agent'], 'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
upload_file
Upload a text project file
Create one new editable text file from UTF-8 content. For compatibility contentBase64 is accepted only for UTF-8 text at an editable extension. Existing paths are never overwritten; use edit_file for existing text. Binary uploads and replacements are not supported by MCP: ask the user to upload or replace images, PDFs, and other binary assets directly in the PaperDock web app. Do not recreate them under another path or extension.
입력 스키마
{'type': 'object', 'oneOf': [{'required': ['content']}, {'required': ['contentBase64']}], 'required': ['projectId', 'path'], 'properties': {'path': {'type': 'string', 'minLength': 1}, 'sha256': {'type': 'string'}, 'content': {'type': 'string'}, 'mimeType': {'type': 'string'}, 'projectId': {'type': 'string', 'format': 'uuid'}, 'contentBase64': {'type': 'string'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['file', 'status'], 'properties': {'file': {'type': 'object', 'required': ['kind', 'mimeType', 'path', 'revision', 'sizeBytes'], 'properties': {'kind': {'enum': ['source', 'asset'], 'type': 'string'}, 'path': {'type': 'string'}, 'mimeType': {'type': ['string', 'null']}, 'revision': {'type': 'integer'}, 'sizeBytes': {'type': ['integer', 'null']}}, 'additionalProperties': False}, 'status': {'type': 'string', 'const': 'created'}}, 'additionalProperties': False}
추가됨
send_chat_message
2026년 9월 17일 12:39 PM
추가됨
list_chat_messages
2026년 9월 17일 12:39 PM
추가됨
reply_to_comment
2026년 9월 17일 12:39 PM
추가됨
create_comment
2026년 9월 17일 12:39 PM
추가됨
list_comments
2026년 9월 17일 12:39 PM
추가됨
edit_file
2026년 9월 17일 12:39 PM
추가됨
create_file
2026년 9월 17일 12:39 PM
추가됨
upload_file
2026년 9월 17일 12:39 PM
추가됨
read_pdf
2026년 9월 17일 12:39 PM
추가됨
read_file
2026년 9월 17일 12:39 PM
추가됨
search_files
2026년 9월 17일 12:39 PM
추가됨
list_files
2026년 9월 17일 12:39 PM
추가됨
create_project
2026년 9월 17일 12:39 PM
추가됨
list_projects
2026년 9월 17일 12:39 PM