# pdf-viewer MCP server

> List, open, read and save PDFs in pdf-viewer by asking the agent in plain English.

- Sign-in: See setup
- Connect in RevampKey: https://revampkey.com/marketplace/pdf-viewer-5f8ba9

## Agent skills (3)

- [pdf-viewer with AI: open, read and save PDFs safely](https://revampkey.com/marketplace/pdf-viewer-5f8ba9/skills/essentials.md): Finds the right PDF, shows it in the viewer, and reads or edits it step by step. It asks before saving or changing anything in the document.
- [PDF Viewer with AI: read and annotate a PDF](https://revampkey.com/marketplace/pdf-viewer-5f8ba9/skills/read-and-annotate-pdf.md): Opens a PDF in the viewer, reads its content and structure, and returns a summary and page-referenced notes without changing the file.
- [Save PDF changes safely with AI, after you confirm them](https://revampkey.com/marketplace/pdf-viewer-5f8ba9/skills/save-pdf-changes.md): Reviews the pending edits in your open PDF, lists them with destructive changes first, and saves only the set you approve. It then re-reads the file to check the result.

All skills: https://revampkey.com/marketplace/pdf-viewer-5f8ba9/skills.md

pdf-viewer is a viewer for PDF files. It shows PDF documents on your screen so you can page through them and work with them. Anyone who regularly opens PDF files can use it. Once it is connected, the agent can see the PDFs you have available and work on them with you.

After you connect pdf-viewer in RevampKey, you can ask the agent to list your PDFs, open one in the viewer, and read its contents. The agent can read the raw bytes of a file, so it works from the document itself. It can also use the viewer's commands and send the viewer's state. Before it saves a PDF or submits page or save data, it asks you first.

## What you can do

### Find the right PDF and open it

You ask for the contract you opened last week. The agent calls list_pdfs to show the PDFs it can see, then picks the matching file. It opens that file with display_pdf so you can see it on screen. Then you can ask it questions about what the document says.

### Get the main points before a meeting

Before a call, you ask the agent to read a PDF and pull out the key points. It uses read_pdf_bytes to get the contents of the file and gives you a short list. Reading does not change the file, so there is nothing for you to approve.

### Save changes to an open PDF

You have a PDF open in the viewer and ask the agent to save your work. The agent uses submit_save_data to pass the save details to the viewer, then calls save_pdf. It asks you before it saves, so nothing is written until you say yes.

## Things to ask

- List the PDFs you can open in pdf-viewer.
- Open the lease PDF and show me page one.
- Read the report PDF and give me the main points as a short list.
- Use the viewer to go to page 12 and tell me what that page says.
- Save the PDF I have open, but ask me before you write anything.

## What the agent can do

### Finding and opening PDFs

The agent can list the PDFs it can see in pdf-viewer. It can then open one with display_pdf so the document appears in the viewer for you to look at.

`list_pdfs`, `display_pdf`

### Reading PDF contents

The agent reads the raw bytes of a PDF with read_pdf_bytes. It can then work from the document's contents when you ask questions or ask for a summary.

`read_pdf_bytes`

### Viewer commands and state

The agent can act inside the open viewer with interact. It can check for viewer commands with poll_pdf_commands and send the viewer's state with submit_viewer_state.

`interact`, `poll_pdf_commands`, `submit_viewer_state`

### Page data and saving

The agent can submit page data with submit_page_data and submit save data with submit_save_data. It can then save the PDF with save_pdf. It asks you before any of these change the file.

`submit_page_data`, `submit_save_data`, `save_pdf`

## FAQ

### What do I need to connect pdf-viewer?

You need RevampKey on Mac, Windows or Linux. Open the Connectors tab in RevampKey and connect pdf-viewer. Once it is connected, the agent can use its tools when you ask for them in plain English.

### What can the agent do in pdf-viewer, and what can't it do?

It can list PDFs, open them, read their contents, act inside the open viewer, and save changes. It can only use the nine tools pdf-viewer exposes. It cannot take actions that none of those tools support, and it asks before it changes anything.

### Does the agent change my PDFs without asking?

No. The agent asks before it changes anything. Listing, opening and reading a PDF do not change the file. Saving a PDF or submitting page or save data waits for your approval. Check the agent's answers against the PDF before you rely on them.

### Can the agent work with any PDF on my computer?

The agent can only work with the PDFs that pdf-viewer lists through list_pdfs. If a file does not appear in that list, the agent cannot open or read it through this connector. You choose which PDF to work on when you ask.

### Is the pdf-viewer MCP server local or remote?

It runs on your own computer with npx (package @modelcontextprotocol/server-pdf). Your client starts it as a local process; nothing is hosted.

### What can an AI agent do with the pdf-viewer MCP server?

It exposes 9 tools: 9 that read and 0 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for pdf-viewer?

Yes. 3 SKILL.md playbooks teach an agent how to do real pdf-viewer work step by step. RevampKey installs them when you connect pdf-viewer; for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (9)

- `display_pdf`
- `interact`
- `list_pdfs`
- `poll_pdf_commands`
- `read_pdf_bytes`
- `save_pdf`
- `submit_page_data`
- `submit_save_data`
- `submit_viewer_state`

## Details

- Maker: Anthropic
- Setup: Connect from the app

Page: https://revampkey.com/marketplace/pdf-viewer-5f8ba9
