PDF Viewer (MCP Apps example) MCP server
Endpoint: https://example-server.modelcontextprotocol.io/pdf/mcp · Authentication: No auth
Example MCP App from the Model Context Protocol project that lists, reads, displays and saves PDFs from allowed sources such as arxiv.org in a PDF.js viewer. No authentication.
How do I authenticate?
Add the endpoint directly in your client. The catalog records no authentication requirement; no OAuth sign-in or API key is configured in this setup. The live server may change.
Authentication and connection guideConnection specification
- Remote endpoint
https://example-server.modelcontextprotocol.io/pdf/mcp- Browser access
- Not yet measured
- Declared MCP transport
- Streamable HTTP
- Live-validated MCP transport
- Streamable HTTP — Observed by the latest catalog validation
- Declared authentication
- No authentication
- Detected authentication
- No authentication detected or retained from publisher evidence
- Protocol lifecycle
- Stateful MCP · 2025-11-25
- Authorization server
https://example-server.modelcontextprotocol.io/- Category
- Productivity
Product documentation · Source repository · Claude connector directory listing
Provider guidance
- Demo server hosted by the MCP project; its README documents only the local stdio build, so the listing source is the Claude directory entry.
More Productivity MCP servers · Browse all MCP servers · Test this endpoint in the MCP Playground
Connect it
Live-validated endpoint: https://example-server.modelcontextprotocol.io/pdf/mcp · Streamable HTTP. No authentication is required by the catalog listing.
Agent prompt for Claude Code or Codex
Add the PDF Viewer (MCP Apps example) MCP server to my MCP client configuration and verify that it works. What it is: Example MCP App from the Model Context Protocol project that lists, reads, displays and saves PDFs from allowed sources such as arxiv.org in a PDF.js viewer. No authentication. Server URL: https://example-server.modelcontextprotocol.io/pdf/mcp Transport: Streamable HTTP (remote MCP server, no local install). Authentication: none. The server accepts connections without credentials. Tools (4, as last observed by mcptest): display_pdf, list_pdfs, read_pdf_bytes, save_pdf. Reference: https://mcptest.io/servers/mcp-pdf-viewer/ Steps: 1. Work out which MCP client I use (Claude Code, Codex, Cursor, VS Code or another) and add the server under the name "mcp-pdf-viewer" in that client's MCP configuration, user scope unless I ask otherwise. Claude Code: claude mcp add --transport http --scope user 'mcp-pdf-viewer' 'https://example-server.modelcontextprotocol.io/pdf/mcp' Codex: codex mcp add 'mcp-pdf-viewer' --url 'https://example-server.modelcontextprotocol.io/pdf/mcp' Other clients: use the setup for that client on the reference page. 2. Never write a credential value into a file that could be committed; reference an environment variable or the client's secret store, and ask me for any value you need. 3. Verify: connect to the server and call tools/list. Confirm the tools above are listed, and report any sign-in step I still have to complete.
Claude Code setup
Run in a terminal. This user-scoped entry is available across projects.
claude mcp add --transport http --scope user 'mcp-pdf-viewer' 'https://example-server.modelcontextprotocol.io/pdf/mcp'Codex CLI setup
Run in a terminal; Codex stores the entry in ~/.codex/config.toml.
codex mcp add 'mcp-pdf-viewer' --url 'https://example-server.modelcontextprotocol.io/pdf/mcp'Cursor setup
Add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects.
{
"mcpServers": {
"mcp-pdf-viewer": {
"url": "https://example-server.modelcontextprotocol.io/pdf/mcp"
}
}
}VS Code setup
Add to .vscode/mcp.json, or run “MCP: Open User Configuration” for a private user-level entry.
{
"servers": {
"mcp-pdf-viewer": {
"type": "http",
"url": "https://example-server.modelcontextprotocol.io/pdf/mcp"
}
}
}Claude setup
Add the endpoint above in Claude:
- Customize > Connectors > Add custom connector
- Team/Enterprise: Organization settings > Connectors > Add > Custom > Web
Claude Desktop setup
Add the endpoint above in Claude Desktop:
- Remote: Customize > Connectors (same as claude.ai)
- Local: Settings > Developer > Edit Config, or Settings > Extensions for .mcpb files
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows), local servers only
ChatGPT setup
Add the endpoint above in ChatGPT:
- ChatGPT web: Plugins > Add custom MCP server, then configure authentication and accept the risk warning
Windsurf setup
Add the endpoint above in Windsurf:
~/.config/devin/mcp_config.json(%APPDATA%\devin\mcp_config.jsonon Windows),serverUrlorurl- Cascade panel > ... > MCPs > Open MCP config file
Gemini CLI setup
Add the endpoint above in Gemini CLI:
gemini mcp add --transport http <name> <url>~/.gemini/settings.json(user) or.gemini/settings.json(project),mcpServers
MCP SDK setup
Add the endpoint above in MCP SDK:
- Programmatic:
new Client(...).connect(new StreamableHTTPClientTransport(url))
Notes for every client
- Provider guidance: Demo server hosted by the MCP project; its README documents only the local stdio build, so the listing source is the Claude directory entry.
Client compatibility
| Client | Status | Why |
|---|---|---|
| Claude Code | Supported | Claude Code supports Streamable HTTP servers and servers without authentication. |
| Codex | Partial | Codex's documentation does not state support for servers without authentication. |
| Cursor | Supported | Cursor supports Streamable HTTP servers and servers without authentication. |
| VS Code | Supported | VS Code supports Streamable HTTP servers and servers without authentication. |
| Claude | Supported | Claude supports Streamable HTTP servers and servers without authentication. |
| Claude Desktop | Supported | Claude Desktop supports Streamable HTTP servers and servers without authentication. |
| ChatGPT | Partial | Stateful routing needs operational care: ChatGPT can preserve MCP sessions, but the deployment must route a session consistently and retain its state. |
| Windsurf | Partial | Windsurf's documentation does not state support for servers without authentication. |
| Gemini CLI | Supported | Gemini CLI supports Streamable HTTP servers and servers without authentication. |
| MCP SDK | Supported | MCP SDK supports Streamable HTTP servers and servers without authentication. |
Computed from this server's validated transport, protocol and authentication against documented client support. Checks the catalog has not observed are not counted.
Latest validation evidence
- Validation status
- Online when last tested
- Validation checked at
- Nov 23, 2026 at 7:16 PM
- Validation detail
- Negotiated stateful MCP 2025-11-25 at https://example-server.modelcontextprotocol.io/pdf/mcp; detected transport streamable-http; authentication none; WARNING: OAuth authorization servers advertised; an anonymous MCP handshake does not establish anonymous tool access
Tool inventory
What the catalog validator observed on at https://example-server.modelcontextprotocol.io/pdf/mcp without credentials. The live server may have changed since; connect in the Playground for the current list.
Tools provided by PDF Viewer (MCP Apps example) 4
Some details were sanitized for public display.
display_pdfoutputSchema declaredShow and render a PDF in a read-only viewer. Use this tool when the user wants to view or read a PDF. The renderer displays the document for viewing. The widget exposes app-registered tools for page navigation, text extraction, searching, and zoom control. Accepts local files (use list_pdfs), client MCP root directories, or any HTTPS URL.
Input
page?: number, url?: stringpage?: numberoptionalInitial page
url?: stringoptionalPDF URL or local file path
list_pdfsNo outputSchemaList available PDFs that can be displayed
Input No parameters
read_pdf_bytesoutputSchema declaredRead a range of bytes from a PDF (max 512KB per request). The model should NOT call this tool directly.
Input
byteCount?: number, offset?: number, url: stringbyteCount?: numberoptionalBytes to read
offset?: numberoptionalByte offset
url: stringrequiredPDF URL or local file path
save_pdfoutputSchema declaredSave annotated PDF bytes back to a local file. The model should NOT call this tool directly — use interact with action: save_as instead.
Input
data: string, url: stringdata: stringrequiredBase64-encoded PDF bytes
url: stringrequiredOriginal PDF URL or local file path