By · Last updated 2026-02-22

Kembali ke BlogTeknis

Gunakan Claude & ChatGPT Tanpa Membocorkan PII

Panduan pengembang untuk menggunakan asisten AI secara aman. Siapkan integrasi MCP Server untuk perlindungan PII transparan di Claude Desktop, Cursor, dan VS Code.

February 22, 20267 menit baca
MCP ServerClaude DesktopCursor IDEsecure AIdeveloper tools

Dilema Para Pengembang

Anda sedang men-debug masalah produksi. Stack trace berisi alamat email pelanggan. Solusi tercepat? Tempelkan ke Claude dan minta bantuan.

Namun data itu kini:

  • Tersimpan di sistem Anthropic
  • Mungkin digunakan untuk pelatihan model, tergantung paket Anda
  • Dapat dilihat oleh siapa saja yang dapat mengakses riwayat percakapan Anda

77% pengembang menempelkan data sensitif ke alat AI. Sebagian besar tidak menyadari masalah ini sampai terlambat.

Bagaimana Proxy Menyelesaikan Ini

Model Context Protocol (MCP) memungkinkan server berada di antara Anda dan alat AI mana pun. MCP server anonym.legal menggunakan posisi itu untuk menyaring PII sebelum teks Anda mencapai model mana pun.

Ini bekerja dalam empat langkah:

  1. Anda mengetik prompt seperti biasa
  2. Proxy mencegat sebelum mengirim
  3. PII ditemukan dan diganti dengan token yang dapat dipulihkan
  4. AI hanya melihat teks bersih yang dianonimkan

Balasan AI kembali dengan nilai asli yang dipulihkan. Alur kerja Anda tidak berubah.

Menyiapkan Integrasi

Yang Anda Butuhkan

  • Node.js 18 atau lebih baru
  • Claude Desktop, Cursor, atau VS Code dengan ekstensi Claude
  • Kunci API anonym.legal — dapatkan gratis

Langkah 1: Dapatkan Kunci API Anda

  1. Daftar di anonym.legal/auth/signup
  2. Buka Pengaturan → Token API
  3. Buat token baru
  4. Salin — Anda hanya melihatnya sekali

Langkah 2: Konfigurasi Claude Desktop

Edit file konfigurasi sesuai OS Anda:

macOS: `/Library/Application Support/Claude/claude_desktop_config.json`
Windows: `%APPDATA%\Claude\claude_desktop_config.json`
Linux: `
/.config/Claude/claude_desktop_config.json`

Tambahkan server anonym.legal:

```json { "mcpServers": { "anonym-legal": { "command": "npx", "args": ["-y", "@anonym-legal/mcp-server"], "env": { "ANONYM_API_KEY": "your-api-key-here" } } } } ```

Langkah 3: Mulai Ulang Claude Desktop

Tutup dan buka kembali aplikasi. Anda akan melihat "anonym-legal" terdaftar di bawah server aktif.

Penyiapan Cursor IDE

Cursor menggunakan protokol yang sama. Tambahkan ini ke `.cursor/mcp.json`:

```json { "mcpServers": { "anonym-legal": { "url": "https://anonym.legal/mcp", "transport": "sse", "headers": { "Authorization": "Bearer your-api-key-here" } } } } ```

Apa yang Dianonimkan

Server mendeteksi 285+ jenis entitas dalam 48 bahasa:

KategoriContoh
PribadiNama, email, nomor telepon, tanggal lahir
KeuanganKartu kredit, rekening bank, IBAN
PemerintahSSN, nomor paspor, SIM
TeknisAlamat IP, kunci API, token
KesehatanID pasien, nomor asuransi
PerusahaanID karyawan, nomor akun

Contoh Transformasi

Prompt Anda: ``` Debug error ini dari pengguna john.smith@acme.com: Pembayaran gagal untuk kartu 4532-1234-5678-9012 ID Pelanggan: CUST-12345, IP: 192.168.1.100 ```

Yang dilihat model: ``` Debug error ini dari pengguna [EMAIL_1]: Pembayaran gagal untuk kartu [CREDIT_CARD_1] ID Pelanggan: [CUSTOMER_ID_1], IP: [IP_ADDRESS_1] ```

Balasan yang Anda lihat: ``` Error untuk john.smith@acme.com menunjukkan kartu 4532-1234-5678-9012 mungkin memiliki saldo tidak cukup... ```

Anda melihat nilai asli. Model hanya pernah melihat token.

Opsi Lanjutan

Pola kustom — tambahkan regex Anda sendiri ke variabel lingkungan `CUSTOM_PATTERNS`:

```json "CUSTOM_PATTERNS": "JIRA-[0-9]+,TICKET-[A-Z0-9]+" ```

Allowlist — cegah nama publik dari penyembunyian:

```json "ALLOWLIST": "Anthropic,Claude,anonym.legal" ```

Nonaktifkan jenis entitas — biarkan kategori tertentu lewat:

```json "DISABLED_ENTITIES": "PHONE_NUMBER,URL" ```

Di Mana Pemrosesan Terjadi

KomponenLokasi
MCP serverMesin Anda
Deteksi PIIServer anonym.legal (Jerman)
Model AIServer Anthropic / OpenAI

Proxy berjalan di mesin Anda. Hanya panggilan deteksi yang pergi ke anonym.legal. Prompt Anda tidak disimpan. Lihat kebijakan privasi untuk detailnya.

Harga

Integrasi ini tersedia di semua paket:

PaketToken/bulanHarga
Gratis200€0
Dasar2.000€3/bulan
Pro10.000€15/bulan
Bisnis50.000€29/bulan

Sebagian besar pengembang menggunakan Dasar seharga €3/bulan.

Kesimpulan

Alat AI kini menjadi bagian dari pekerjaan pengembangan sehari-hari. Mereka tidak perlu melihat data pelanggan Anda untuk bermanfaat. Proxy menangani hal itu untuk Anda.

Integrasi ini:

  • Tidak memerlukan perubahan alur kerja
  • Bekerja dengan Claude Desktop, Cursor, dan VS Code
  • Melindungi PII di setiap prompt, setiap saat
  • Hanya €3/bulan untuk sebagian besar pengembang

Siapkan sekali. Data Anda aman secara default.


Sumber

Siap untuk melindungi data Anda?

Mulai anonimisasi PII dengan 285+ jenis entitas dalam 48 bahasa.

About this page

We update this page when our platform or the law changes.

Read our founder note for how we work.

Each change shows up in the timestamp at the top.

Related reading

We follow these rules

  • GDPR (EU 2016/679).
  • ISO/IEC 27001:2022.
  • NIS2 (EU 2022/2555).
  • HIPAA safe harbor under 45 CFR § 164.514(b)(2).

Our promise

We do not sell your data.

We do not train models on your text.

We store your files in Germany.

You can delete your account at any time.

You own your work.

Where we run

Our servers live in Falkenstein, Germany.

We use Hetzner. They hold ISO 27001 certification.

All data stays in the EU.

Backups run every day.

Need help?

Email support@anonym.legal.

We reply within one business day.

How we test

We run a full check suite on every release.

Each surface gets its own sweep script and report.

Human reviewers spot-check the output each week.

We track recall and precision on a labelled set.

Bad runs block the deploy.

What we never do

  • We never sell your information to third parties.
  • We never train models on what you upload.
  • We never keep your work after you delete it.
  • We never share keys with any outside firm.
  • We never run ads inside the product.

Plans in plain words

We sell credits, not seats.

One credit covers one short job.

Long jobs use a few credits each.

You can top up at any time.

Unused credits roll over each month.

Read the plans page for current rates.

Who built this

A small team of engineers and lawyers built this.

We ship from Europe and work in the open.

Our founder note spells out why we started.

Where to start

How the parts fit

A browser add-on cleans text inside Chrome.

A Word plug-in handles drafts in Office.

A small desktop tool works on whole folders.

An agent protocol link feeds large models safely.

All four share one core engine and one rule set.

Words from our team

We started this work after a lunch about cookies.

One friend kept getting odd ads on her phone.

We asked why a court file leaked through a draft.

We sketched the first build on a napkin that week.

By month three we had a tiny demo for a friend.

She used it on her first case the next day.

Common questions we hear

Can the tool read scanned PDFs? Yes, with OCR.

Does it work on long files? Yes, in small chunks.

Can I roll my own rule set? Yes, save it as a preset.

Does it run offline? The desktop build runs offline.

Do you keep my files? No, the cloud build wipes after each run.

Will it learn from my work? No, we never train on inputs.

A short tour of the workflow

Upload a file or paste a snippet of prose.

Pick the entities you want gone from the draft.

Choose a method: replace, mask, hash, encrypt, or redact.

Press run and watch the side panel show each hit.

Skim the result and tweak any rule that misfired.

Save the cleaned file or send it to a teammate.