Skip to main content
Glama
README.md
# ThisMyOwn Privacy Suite MCP (`thismyown-mcp`)

[![CI](https://github.com/codesbykhairannoor/thismyown-mcp/actions/workflows/ci-publish.yml/badge.svg?branch=main)](https://github.com/codesbykhairannoor/thismyown-mcp/actions/workflows/ci-publish.yml)
[![npm version](https://img.shields.io/npm/v/thismyown-mcp?color=0ea5e9)](https://www.npmjs.com/package/thismyown-mcp)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](./LICENSE)
[![MCP Compatible](https://img.shields.io/badge/MCP-Tools%20%7C%20Prompts%20%7C%20Resources-6366f1)](https://modelcontextprotocol.io)

> **TL;DR (For Humans & AI Agents):** `thismyown-mcp` is an all-in-one, **100% local-first, zero-upload Model Context Protocol (MCP) server** with **30 tools, 3 workflow prompts, and 1 resource guide**. It gives Claude Desktop, Cursor, Windsurf, VS Code Copilot, Antigravity, and Codex CLI direct local superpowers for **PDF manipulation, WebP/AVIF/srcset image optimization, QR & industrial barcodes, and FFmpeg audio/video engineering** — without uploading a single byte to the cloud.

Built on the engines behind the **ThisMyOwn Privacy Suite**:
- **[HandleMyFile](https://handlemyfile.com)** — Local PDF merge, split, rotate, metadata scrub, stream/Ghostscript compress, watermarks, page numbers, images-to-PDF, text-to-PDF
- **[HelpMyIMG](https://helpmyimg.com)** — Native `libvips` (`sharp`) WebP/AVIF/JPEG/PNG/TIFF compression, EXIF/GPS stripping, resize/crop, watermarks, dominant color palettes, responsive `<img srcset>` & favicon packs
- **[CreateMy-QR](https://createmy-qr.com)** — Local PNG/SVG QR codes, structured Wi-Fi / vCard / Email / Geo QR builders, and 12 retail/industrial barcode symbologies
- **[SolveMyMedia](https://solvemymedia.com)** — Local FFmpeg/FFprobe video compression, audio extraction, silence detection, storyboard frame extraction, EBU R128 loudness normalization, clip concatenation, and palettegen GIFs

---

## Why `thismyown-mcp` vs Single-Purpose / Cloud MCPs?

| Capability | `thismyown-mcp` | Typical Single-Domain MCPs (e.g., FFmpeg-only wrappers) | Cloud API MCPs |
|---|---|---|---|
| **All-in-One Local Media** | PDF + Image + QR/Barcode + Video/Audio (**30 tools**) | Usually Video/FFmpeg only | Separate paid APIs |
| **Zero Cloud Upload** | **Yes** (100% local disk) | Yes | No (uploads sensitive user files) |
| **Native Image Speed (`libvips`)** | **Yes** via `sharp` (WebP, AVIF, EXIF strip, `srcset`, palettes) | No (uses heavy FFmpeg for images or none) | Cloud rate limits |
| **AI Frontend Helpers** | `<img srcset>` HTML + favicon packs + dominant hex color | No | No |
| **Podcast & Creator Tools** | `media_silence_detect` + EBU R128 `-16 LUFS` normalize + storyboard frames | Basic trim/transcode only | Cloud billing per minute |
| **Structured Security Guard** | Optional `THISMYOWN_WORKSPACE` lock + zero-shell `execFile` | Often raw shell commands | External API keys required |
| **AI Discoverability** | Built-in MCP Prompts + `thismyown://guide` + `llms.txt` + `server.json` | Basic tool list | Proprietary |

---

## Quick Start (Zero Repo Clone)

### Claude Desktop / Cursor / Windsurf / Antigravity

Add to `claude_desktop_config.json`, `.cursor/mcp.json`, or your MCP client config:

```json
{
  "mcpServers": {
    "thismyown": {
      "command": "npx",
      "args": ["-y", "thismyown-mcp"],
      "env": {
        "THISMYOWN_WORKSPACE": "",
        "THISMYOWN_LICENSE_KEY": ""
      }
    }
  }
}
```

### VS Code Copilot (`.vscode/mcp.json`)

```json
{
  "servers": {
    "thismyown": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "thismyown-mcp"]
    }
  }
}
```

### Run Directly from GitHub (Alternative)

```json
{
  "mcpServers": {
    "thismyown": {
      "command": "npx",
      "args": ["-y", "github:codesbykhairannoor/thismyown-mcp"]
    }
  }
}
```

---

## Optional: Unified ThisMyOwn PRO Pass (`TMO-...`)

All core single-file tools are **Free** with zero account needed.  
One **ThisMyOwn PRO Key** ([handlemyfile.com/pricing](https://handlemyfile.com/pricing) or [createmy-qr.com/pricing](https://createmy-qr.com/pricing)) unlocks unlimited batch operations, SVG vector exports, >3 images-to-PDF, and 4K video export across **all 4 websites + this local MCP**:

```bash
npx -y thismyown-mcp activate TMO-YOUR-LICENSE-KEY
```

Or tell your AI assistant: *"Activate my ThisMyOwn PRO license key `TMO-...`"* (`activate_pro_license`).  
Verified against Polar.sh's public Customer Portal API and cached locally at `~/.thismyown/license.json` with a **7-day offline grace period**.

---

## Complete Tool Reference (30 Tools)

### PDF Tools (9) — HandleMyFile Engine
| Tool | Purpose | Tier |
|---|---|---|
| `pdf_info` | Inspect page count, dimensions, encryption & metadata | Free |
| `pdf_merge` | Merge PDFs locally (`<=3` Free / Unlimited PRO) | Free + PRO |
| `pdf_split` | Extract ranges or split 1 PDF per page (`<=10p` Free / Unlimited PRO) | Free + PRO |
| `pdf_rotate` | Rotate all/selected pages 90, 180, or 270 degrees | Free |
| `pdf_strip_metadata` | Scrub Author, Creator, Producer & timestamps for privacy | Free |
| `pdf_compress` | Compact object streams or run Ghostscript DPI presets | Free |
| `pdf_text_to_pdf` | Generate paginated A4 PDF from text | Free |
| `pdf_watermark` | Stamp diagonal text watermarks & bottom-right page numbers | Free |
| `pdf_images_to_pdf` | Combine PNG/JPEG/WebP/TIFF images into PDF (`<=3` Free / Unlimited PRO) | Free + PRO |

### Image Tools (7) — HelpMyIMG (`sharp` / `libvips`)
| Tool | Purpose | Tier |
|---|---|---|
| `image_info` | Inspect dimensions, color space, alpha & EXIF/XMP/IPTC flags | Free |
| `image_compress_convert` | Convert/compress WebP, AVIF, JPEG, PNG, TIFF + strip EXIF/GPS | Free |
| `image_resize_crop` | Resize, extract crop region, rotate & grayscale | Free |
| `image_batch_process` | Batch optimize folder (`<=2` files Free / Unlimited PRO) | Free + PRO |
| `image_palette_stats` | Extract dominant hex/RGB color, entropy & channel stats | Free |
| `image_watermark` | Overlay SVG text badge or local logo PNG/WebP | Free |
| `image_responsive_srcset` | Generate WebP/AVIF `<img srcset>` bundle or favicon pack (`<=3` sizes Free) | Free + PRO |

### QR & Barcode Tools (4) — CreateMy-QR Engine
| Tool | Purpose | Tier |
|---|---|---|
| `qr_generate` | Custom QR code (`PNG <= scale 8` Free / `SVG` & HD PRO) | Free + PRO |
| `qr_structured_generate` | Guided `wifi`, `vcard`, `email`, or `geo` QR payloads (`PNG` Free / `SVG` PRO) | Free + PRO |
| `barcode_generate` | Code128, EAN-13, UPC-A, DataMatrix, PDF417, Aztec, ITF-14 (`PNG` Free / `SVG` PRO) | Free + PRO |
| `qr_batch_generate` | Generate multiple QR files (`<=3` Free / Unlimited PRO) | Free + PRO |

### Audio & Video Tools (8) — SolveMyMedia (Local FFmpeg / FFprobe)
| Tool | Purpose | Tier |
|---|---|---|
| `media_info` | Inspect codecs, duration, resolution & bitrate | Free |
| `media_compress_video` | Auto GPU (`NVENC` / `Intel QSV` / `AMD AMF` / `VideoToolbox`) + `H.264/HEVC` CPU fallback (`<=1080p` Free / 4K `>1920px` PRO) | Free + PRO |
| `media_trim_extract_audio` | Lossless clip trim or extract MP3/M4A/WAV/OGG | Free |
| `media_to_gif` | Two-pass Lanczos `palettegen` animated GIF | Free |
| `media_silence_detect` | Return structured silence timestamps (`startSec`, `endSec`, `durationSec`) | Free |
| `media_extract_frames` | Extract single frame or storyboard frames (`<=3` Free / Unlimited PRO) | Free + PRO |
| `media_audio_normalize` | EBU R128 broadcast loudness normalization (`-16 LUFS`) | Free |
| `media_concat` | Concatenate multiple audio/video clips (`<=2` Free / Unlimited PRO) | Free + PRO |

### Suite & Built-in MCP Workflows
- **Suite Tools:** `thismyown_status`, `activate_pro_license`
- **MCP Prompts:** `privacy_sanitize_files`, `web_asset_optimize`, `podcast_clean_clip`
- **MCP Resource:** `thismyown://guide`

---

## Frequently Asked Questions (FAQ)

**Do my files ever leave my computer?**  
No. All 30 tools operate strictly on your local filesystem using `pdf-lib`, `sharp` (`libvips`), `bwip-js`, and local `ffmpeg`/`ffprobe` binaries.

**Do I need to install FFmpeg first?**  
Only for the 8 `media_*` audio/video tools. All **22 PDF, Image, QR, Barcode, and Suite tools** work immediately out of the box with zero external system dependencies. If FFmpeg is not installed yet (`winget install Gyan.FFmpeg` / `brew install ffmpeg`), you can also use the browser WASM app at [solvemymedia.com](https://solvemymedia.com).

**How do I lock the server to one safe project directory?**  
Set `THISMYOWN_WORKSPACE=/absolute/path/to/folder` in the MCP `env` configuration. Any read or write outside that directory is blocked.

**Are there machine-readable docs for AI agents?**  
Yes — see [`llms.txt`](./llms.txt), [`llms-full.txt`](./llms-full.txt), [`server.json`](./server.json), and [`glama.json`](./glama.json).

---

## License

MIT © [ThisMyOwn Privacy Suite](https://handlemyfile.com)

TDQS

B3.2/5.0

Scored across 30 tools

Disambiguation4/5

Tools are largely partitioned by media type and action, so pdf_split vs image_resize_crop vs media_concat are clearly distinct. Two soft overlaps remain: image_batch_process (convert/resize/strip across many files) duplicates the single-file image_compress_convert/image_resize_crop territory, and qr_generate already accepts Wi-Fi/vCard payloads that qr_structured_generate claims to own. Descriptions mitigate both, but an agent could still pick the wrong one.

Naming Consistency4/5

Names follow a predictable snake_case pattern with a domain prefix plus action: pdf_*, image_*, media_*, qr_*/barcode_*. A few names stack two verbs (image_compress_convert, media_trim_extract_audio) and the two admin tools (thismyown_status, activate_pro_license) break the domain-prefix pattern, but overall it is readable and predictable.

Tool Count3/5

30 tools is heavy and sits in the 'too many' band, though it is spread across four genuinely different domains (PDF, image, media, QR/barcode) plus licensing. Each domain is individually well-scoped at 4-11 tools, but the suite as a whole forces a large selection surface on the agent. Borderline rather than clearly wrong.

Completeness4/5

PDF, image, and media lifecycles are well covered (info, transform, compress, watermark, merge/split/concat, extract, normalize), with status and license activation for runtime prerequisites. Notable gaps: no PDF encryption/password protection or PDF-to-image/text extraction, and no generic file utilities. Agents can work around most of these via the other tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues