dataroom.dev

MCP

The data room your agent can drive.

Model Context Protocol turns the Papermark API into a set of tools any compatible host can invoke. No glue code. No fragile prompts. Real authenticated calls.

Read full docsGive your agent dataroom access. Full MCP reference

What is MCP

The Model Context Protocol is an open standard for connecting LLMs to external tools and data. Anthropic launched it. Claude Desktop, Claude Code, Cursor, Zed, and a growing list of hosts support it.

@papermark/mcp-server implements the protocol over stdio (for desktop clients) and HTTP+OAuth (for hosted agents). Each tool maps 1:1 onto a REST endpoint.

Install

For stdio hosts, no install step is needed, npx handles it:

bash
npx -y @papermark/mcp-server

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\\Claude\\claude_desktop_config.json (Windows):

claude_desktop_config.jsonjson
{
  "mcpServers": {
    "papermark": {
      "command": "npx",
      "args": ["-y", "@papermark/mcp-server"],
      "env": {
        "PAPERMARK_TOKEN": "pm_live_…"
      }
    }
  }
}

Restart Claude Desktop. The Papermark tools appear in the tools tray.

Claude Code

bash
claude mcp add papermark \
  -e PAPERMARK_TOKEN=pm_live_… \
  -- npx -y @papermark/mcp-server

Tools

43 tools, grouped by resource. Every tool name matches a REST endpoint, so an agent that knows the API knows the tools.

Datarooms

text
create_dataroom
get_dataroom
list_datarooms
search_datarooms
update_dataroom
delete_dataroom
list_dataroom_documents
attach_dataroom_document
list_dataroom_folders
create_dataroom_folder
get_dataroom_folder
update_dataroom_folder
move_dataroom_folder
delete_dataroom_folder
get_dataroom_analytics

Documents

text
upload_document
list_documents
search_documents
get_document
update_document
delete_document
add_document_version
list_document_versions
get_document_version
promote_document_version
get_document_analytics

Folders

text
create_folder
list_folders
get_folder
update_folder
move_folder
delete_folder

Links

text
create_link
list_links
get_link
update_link
delete_link
get_link_analytics
list_link_views

Visitors & views

text
list_visitors
get_visitor
list_visitor_views
get_view_analytics

Auth & scopes

The MCP server inherits your token's scopes. An agent with a documents.read token literally cannot call delete_document. The server returns the same invalid_scope error a curl would.

For hosted agents, the server supports OAuth 2.1 authorization-code flow + PKCE.

Example agent prompts

Provision a deal room

text
Create a dataroom named "Acme. Series B" with a folder for "Financials".
Upload all PDFs from ~/Documents/AcmeDD into that folder.
Generate three password-protected links. One for each partner. And email the URLs
to dave@vc.com, lena@vc.com, and mark@vc.com.

Daily analytics digest

text
Every morning, list views from the last 24 hours across all my datarooms.
Group by visitor email. Flag anyone who spent more than 5 minutes on a single document.

Cleanup

text
Find all dataroom links that expired more than 30 days ago.
Revoke them and summarize which datarooms had inactive links.