proofdrop-mcp

proofdrop-mcp

Enables AI agents to upload temporary public review artifacts (screenshots, screen recordings) to Neon Storage and obtain shareable URLs for use in GitHub PR descriptions, issue comments, and agent reports.

Category
访问服务器

README

Proofdrop MCP

attach-review-proof installs

Small HTTP MCP server that lets agents drop temporary public review proofs into configurable files-sdk storage and get a URL back.

The intended use case is screenshots and other review artifacts for GitHub PR descriptions, issue comments, and agent reports. Agents can upload the asset and embed the returned URL instead of creating throwaway branches, pushing binary files to unrelated repos, or abusing a burner repository.

DISCLAIMER

This service is for PUBLIC, SHORT-LIVED REVIEW ASSETS ONLY.

Use it for GitHub PR screenshots, issue comments, agent reports, and other short-lived review artifacts that need image, screen recording, or screenshot URLs.

Do NOT upload internal documents, customer data, secrets, private product screenshots, credentials, unreleased confidential material, or anything that should stay private. Treat every returned URL as public to anyone who has it.

PROOFDROP_API_KEY can restrict who is allowed to call the hosted MCP endpoint, but it does not make uploaded images private. The uploaded asset URL is still shareable/public for as long as the URL works.

Tools

  • upload_asset: uploads a local file to the configured files-sdk storage adapter and returns a URL.
  • delete_asset: deletes an uploaded object by the returned storage key.

Uploaded objects may be private at the storage layer, but the returned URL is a public access capability for anyone who has it. For signing adapters, the returned URL expires according to ASSET_URL_TTL_SECONDS or the tool input. For public/CDN/static adapters, the URL may not expire.

Storage

Proofdrop uses haydenbleasel/files-sdk so review artifacts are not tied to Neon. The default adapter is generic S3-compatible storage, which works with AWS S3, Neon object storage, Cloudflare R2 S3-compatible HTTP credentials, MinIO, Tigris, and similar services.

Set FILES_ADAPTER=s3 for S3-compatible storage, or FILES_ADAPTER=fs for local dev/CI storage.

Useful files-sdk docs:

Setup

pnpm install
pnpm run build

Requires Node.js 22.12.0 or newer.

Start the HTTP server:

pnpm run start

By default it listens on:

http://localhost:3000/mcp

Set MCP_PORT to change the port.

Add the HTTP server to Codex:

npx add-mcp http://localhost:3000/mcp --name proofdrop-mcp --agent codex --global

For an API-key protected deployment:

npx add-mcp https://your-host.example/mcp --name proofdrop-mcp --agent codex --global --header 'Authorization: Bearer ${PROOFDROP_API_KEY}'

Codex does not start HTTP MCP servers for you. Keep pnpm run start or your hosted deployment running while Codex uses this MCP endpoint.

For local development:

pnpm run dev

Configuration

  • FILES_ADAPTER: storage adapter, either s3 or fs. Defaults to s3.
  • MCP_PORT: optional HTTP port, defaults to 3000.
  • PROOFDROP_API_KEY: optional API key for hosted deployments. When set, /mcp requires Authorization: Bearer <value> or X-API-Key: <value>.
  • ASSET_KEY_PREFIX: optional key prefix, defaults to proofdrop.
  • ASSET_URL_TTL_SECONDS: optional default URL lifetime, defaults to 86400.
  • MAX_ASSET_BYTES: optional maximum local file size, defaults to 26214400.

S3-compatible storage

  • FILES_BUCKET: target bucket name.
  • FILES_S3_ENDPOINT: optional S3-compatible endpoint URL. Falls back to AWS_ENDPOINT_URL_S3.
  • FILES_S3_REGION: optional signing region. Falls back to AWS_REGION, then AWS_DEFAULT_REGION, then auto.
  • FILES_S3_ACCESS_KEY_ID: optional static access key ID. Falls back to AWS_ACCESS_KEY_ID.
  • FILES_S3_SECRET_ACCESS_KEY: optional static secret access key. Falls back to AWS_SECRET_ACCESS_KEY.
  • FILES_S3_SESSION_TOKEN: optional static session token. Falls back to AWS_SESSION_TOKEN.
  • FILES_S3_FORCE_PATH_STYLE: optional boolean, defaults to true for S3-compatible providers.
  • FILES_PUBLIC_BASE_URL: optional public/CDN/custom-domain base URL. When set, upload_asset returns ${FILES_PUBLIC_BASE_URL}/${key} instead of a signed URL.

FILES_S3_BUCKET, AWS_S3_BUCKET_NAME, S3_BUCKET_NAME, and AWS_BUCKET_NAME are accepted as bucket-name fallbacks.

Local filesystem storage

  • FILES_ADAPTER=fs: use files-sdk's local filesystem adapter.
  • FILES_FS_ROOT: optional storage root, defaults to .proofdrop-assets.
  • FILES_PUBLIC_BASE_URL: optional HTTP base URL if another server exposes FILES_FS_ROOT.

Without FILES_PUBLIC_BASE_URL, the filesystem adapter returns file:// URLs, which are useful for local tests but not for browser-visible PR comments.

Upload Example

Call upload_asset with:

{
  "file_path": "/tmp/screenshot.png",
  "content_type": "image/png",
  "expires_in_seconds": 86400
}

The response includes:

{
  "bucket": "example-bucket",
  "storageProvider": "s3",
  "storageLocation": "example-bucket",
  "key": "proofdrop/2026-06-26/uuid-screenshot.png",
  "url": "https://...",
  "urlExpires": true,
  "expiresAt": "2026-06-27T08:00:00.000Z",
  "contentType": "image/png",
  "sizeBytes": 12345
}

expiresAt is included only when the returned URL is signed and actually expires. Public/CDN/static URLs include "urlExpires": false and do not include expiresAt.

Use url in the PR description or comment. Keep key if you want to call delete_asset later.

Temporary Object Cleanup

Signed URLs expire automatically, but the underlying object remains in storage until deleted or expired by a provider lifecycle rule. Configure cleanup for the ASSET_KEY_PREFIX prefix in your storage provider if you want automatic retention.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选