Work from your local environment
Let your AI agent list PaperDock projects, inspect file trees, search LaTeX source, read text, and retrieve assets from the tools you already use.
Connect PaperDock once to use every project you can access.
Follow these steps in order.
Open a terminal.
Add PaperDock.
codex mcp add paperdock --url "https://app.paperdock.dev/api/mcp"Sign in to PaperDock.
codex mcp login paperdockStart Codex.
codexSign-in connects the AI environment to your PaperDock account so PaperDock can check your current project memberships and roles. You sign in on PaperDock's domain, and the AI environment receives an OAuth authorization rather than your sign-in credentials. You can deny the request or disconnect and authorize again later. The AI provider you choose processes project information you ask it to use under that provider's own terms and privacy policy.
Copy an example into your AI assistant, then replace the project name or task with your own.
Create a PaperDock project named Research Draft. We'll use this project for the rest of our work.
Read main.tex and propose a clearer abstract.
Read main.tex and leave your suggestions in Reviews and Chat. Reply to the Reviews I have already added with your thoughts.
Compile the project and help me understand any LaTeX errors in the latest job.
Use Codex, Claude Code, Gemini CLI, or another MCP-capable agent from the environment where you already work. PaperDock keeps the same project available for your team to edit, review, chat, and compile in the browser.
Let your AI agent list PaperDock projects, inspect file trees, search LaTeX source, read text, and retrieve assets from the tools you already use.
Create or update one or several LaTeX files, upload new files, and replace assets in the same PaperDock project your team uses in the browser.
Start a PaperDock compile, check its status and logs, and retrieve the resulting PDF while your team continues working online.
Ask your agent to read or create Reviews, reply or resolve them, and join the same project Chat your collaborators use on the web.
When an eligible PaperDock workspace is open, it can claim an agent text proposal and show it as an inline Diff. You can accept, decline, or revise individual changes and move between changed files.
Keep the web workspace open when you want to review edits inline before they are applied. If no eligible web client claims the proposal during the review window, PaperDock's normal auto-apply policy may be used.
File edits and binary replacement use current revision context. Agents can also list visible text history, and Owners or Editors can restore a listed revision through the normal review flow.
Effective access is the intersection of OAuth permission, your current PaperDock role, and PaperDock's MCP safety policy. Role changes and membership removal take effect on the existing connection.
All three roles can read and send Chat messages and can create, reply to, and resolve active Reviews. Owners and Editors can delete any active Review; a Viewer can delete only a Review they authored.
PaperDock intentionally does not expose the following actions through MCP. Use the web app when you need to perform them.
Open the item that matches what you are seeing.
Check your AI provider's current plan and workspace permissions. Custom MCP connections are not available in every plan or managed workspace.
Confirm that you approved the same PaperDock account that owns or belongs to the project. Ask the agent to list PaperDock projects again; new and newly shared projects appear without reconnecting.
PaperDock checks your current role on every tool call. A Viewer cannot edit or compile, and a recent role change applies to an existing connection immediately. Ask the project Owner to review your role in the web app.
Reauthentication can be needed after a disconnect, revoked access, or a long period of inactivity. Start the connection flow again and approve PaperDock in the account you want to use.
Remove the old connection and reconnect with the account-level URL shown in the guide above. Do not add a project ID or other query parameters to the URL.
Still stuck? Contact PaperDock at [email protected].
Most users can stop after the connection guide. These details are available for MCP clients, administrators, and directory review.
https://app.paperdock.dev/api/mcpdev.paperdock/paperdocklist_projects create_project get_project rename_project get_project_context
list_files search_files read_file upload_file replace_file create_file write_file apply_patch apply_changeset
compile_project get_compile_job
list_reviews create_review reply_to_review resolve_review delete_review list_chat_messages send_chat_message
list_file_revisions restore_file_revision
New projects and projects shared with you appear through the same connection. PaperDock continues to check your current access.