SuperAPIAI Directory

drawing-anonymizer-mcp

github.com · AI developer platforms

Drawing Anonymizer MCP Server is an open-source Model Context Protocol (MCP) server from Imnoo for automatically redacting technical drawing PDFs before sharing them. It uses Imnoo's drawing analysis capabilities through an MCP client to identify sensitive information in title blocks, annotations, and other locations on the drawing, including company names, logos, personal names, addresses, phone numbers, email addresses, URLs, and more, and masks or replaces it with the user's own company name and logo; it can also mask additional terms or regions specified by the user. The output is a single-layer, flattened PDF with document metadata removed, while article numbers, drawing numbers, dates, dimensions, and tolerances remain readable. It supports generating share links valid from 1 minute to 24 hours, providing only the redacted copy. It is suitable for sharing drawings before requesting quotes from suppliers, subcontractors, or second sources, as well as for NDA and GDPR scenarios. It requires Node.js ≥ 22.13 and can be configured in Claude Desktop, Cursor, VS Code, Windsurf, and other clients that support stdio.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose: To automatically mask sensitive information in technical drawing PDFs before sending them to suppliers, subcontractors, or second sources for quotes, reducing the risk of information leakage.

Key capabilities:

  • Analyze drawings via the MCP tool analyze_drawing to identify sensitive content in title blocks, annotations, and other locations on the drawing, including company names, logos, personal names, addresses, phone numbers, email addresses, URLs, and other identifiable text.
  • Review detection results, confidence levels, masking areas, and text still visible after masking via review_masking, and adjust masking items accordingly.
  • Perform masking via mask_drawing, which can replace customer names with a specified company name and can also mask additional terms or rectangular regions specified by the user.
  • By default, remove document metadata (author, title, subject, keywords, creator, XMP) and by default rasterize at 288 dpi and rebuild the PDF so that masked text cannot be recovered by copying, searching, or removing the masking boxes.
  • Can generate share links valid from 1 minute to 24 hours; links provide only the redacted copy.
  • Provides the anonymize-drawing prompt to guide the assistant through the "analyze → review → mask" workflow.

Usage:

  • Requires Node.js ≥ 22.13.
  • Configure and start this server in an MCP client that supports stdio, such as Claude Desktop's claude_desktop_config.json, Cursor's ~/.cursor/mcp.json, VS Code (GitHub Copilot), Windsurf, etc.
  • In a session, have the assistant analyze, review, and mask a specified PDF, and you can specify the replacement name, additional masking terms, masking regions, and share link validity period.
  • The masking parameter is an optional object; review_masking and mask_drawing should be passed the same object to ensure the output matches the review results.

Applicable scenarios:

  • Hide customer identity and contact information before sending drawings to suppliers or subcontractors.
  • Drawing exchange requiring NDA security or GDPR compliance.
  • Redact vector PDFs and scanned PDFs.

Limitations and notes:

  • Uploading drawings is the only step that leaves the local machine: when analyze_drawing is used or a new pdf_path is passed to mask_drawing, the PDF is sent to Imnoo drawing analysis service; uploaded files are automatically deleted within 24 hours.
  • The free quota is 1 analysis per IP address per day; PDFs max 30 MB and max 4 pages. Saved analyses (save_analysis_to → load_analysis) and re-masking are unlimited and can be done offline.
  • Masking, flattening, and metadata removal run locally, without limit.
  • Automatic analysis may miss text (e.g., unusual layouts, free-text annotations, handwritten additions). You should check visible_text_after_masking in review_masking, and add entries or rectangular areas for content that is still identifiable; check the redacted PDF before sharing.
  • Custom entries depend on the PDF text layer; scanned documents require masking with rectangular areas. When an entry is within a longer line, the position is estimated by character count; it is recommended to use a rectangle to leave a margin.
  • Dragging masking boxes, the before/after comparison slider, batch processing of up to 15 drawings, and integration with the Imnoo calculator are Web app features and are not provided in this server.
  • Except for upload analysis and on-demand upload of redacted copies to generate share links, there are no telemetry or other network calls.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools