anonym.legal

By · Last updated 2026-02-22

กลับไปที่บล็อกเทคนิค

ใช้ Claude และ ChatGPT โดยไม่รั่วไหล PII

คู่มือนักพัฒนาสำหรับการใช้ AI assistant อย่างปลอดภัย ตั้งค่าการผสานรวม MCP Server เพื่อการปกป้อง PII อย่างโปร่งใสใน Claude Desktop, Cursor และ VS Code

February 22, 20267 อ่านประมาณ
MCP ServerClaude DesktopCursor IDEsecure AIdeveloper tools

ปัญหาของนักพัฒนา

คุณกำลังดีบัก production issue ใน stack trace มีที่อยู่อีเมลของลูกค้า วิธีแก้ที่เร็วที่สุด? วางลงใน Claude และขอความช่วยเหลือ

แต่ข้อมูลนั้นตอนนี้:

  • จัดเก็บในระบบของ Anthropic
  • อาจถูกใช้สำหรับการฝึกโมเดล ขึ้นอยู่กับแผนของคุณ
  • มองเห็นได้สำหรับทุกคนที่สามารถเข้าถึงประวัติบทสนทนาของคุณ

นักพัฒนา 77% วางข้อมูลสำคัญลงในเครื่องมือ AI ส่วนใหญ่ไม่สังเกตเห็นปัญหาจนภายหลัง

วิธีที่ Proxy แก้ปัญหานี้

Model Context Protocol (MCP) ให้เซิร์ฟเวอร์นั่งอยู่ระหว่างคุณและเครื่องมือ AI ใดๆ MCP server ของ anonym.legal ใช้ตำแหน่งนั้นเพื่อลบ PII ออกก่อนที่ข้อความของคุณจะถึงโมเดลใดๆ

ทำงานในสี่ขั้นตอน:

  1. คุณพิมพ์ prompt ตามปกติ
  2. proxy ดักจับก่อนส่ง
  3. PII ถูกค้นพบและแลกเปลี่ยนกับโทเคนที่ย้อนกลับได้
  4. AI เห็นเพียงข้อความสะอาดที่ไม่ระบุชื่อ

การตอบกลับของ AI กลับมาพร้อมค่าจริงที่คืนแล้ว ขั้นตอนการทำงานของคุณไม่เปลี่ยนแปลง

การตั้งค่าการผสานรวม

สิ่งที่คุณต้องการ

  • Node.js 18 หรือใหม่กว่า
  • Claude Desktop, Cursor หรือ VS Code พร้อม Claude extension
  • API key ของ anonym.legal — รับฟรี

ขั้นตอนที่ 1: รับ API Key ของคุณ

  1. สมัครที่ anonym.legal/auth/signup
  2. ไปที่ Settings → API Tokens
  3. สร้างโทเคนใหม่
  4. คัดลอก — คุณเห็นมันครั้งเดียวเท่านั้น

ขั้นตอนที่ 2: กำหนดค่า Claude Desktop

แก้ไขไฟล์ config สำหรับ OS ของคุณ:

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

เพิ่มเซิร์ฟเวอร์ anonym.legal:

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

ขั้นตอนที่ 3: รีสตาร์ท Claude Desktop

ปิดและเปิดแอปใหม่ คุณจะเห็น "anonym-legal" แสดงอยู่ใต้เซิร์ฟเวอร์ที่ใช้งานอยู่

การตั้งค่า Cursor IDE

Cursor ใช้โปรโตคอลเดียวกัน เพิ่มสิ่งนี้ใน .cursor/mcp.json:

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

สิ่งที่ถูกทำให้ไม่ระบุชื่อ

เซิร์ฟเวอร์จับประเภทข้อมูลกว่า 285 ประเภทใน 48 ภาษา:

หมวดหมู่ตัวอย่าง
ส่วนบุคคลชื่อ อีเมล หมายเลขโทรศัพท์ วันเกิด
การเงินบัตรเครดิต บัญชีธนาคาร IBAN
รัฐบาลSSN หมายเลขหนังสือเดินทาง ใบขับขี่
เทคนิคที่อยู่ IP API key โทเคน
สุขภาพID ผู้ป่วย หมายเลขประกัน
องค์กรID พนักงาน หมายเลขบัญชี

ตัวอย่างการแปลง

Prompt ของคุณ:

Debug this error from user john.smith@acme.com:
Payment failed for card 4532-1234-5678-9012
Customer ID: CUST-12345, IP: 192.168.1.100

สิ่งที่โมเดลเห็น:

Debug this error from user [EMAIL_1]:
Payment failed for card [CREDIT_CARD_1]
Customer ID: [CUSTOMER_ID_1], IP: [IP_ADDRESS_1]

การตอบกลับที่คุณเห็น:

The error for john.smith@acme.com suggests card
4532-1234-5678-9012 may have low funds...

คุณเห็นค่าจริง โมเดลเห็นแต่โทเคนเท่านั้น

ตัวเลือกขั้นสูง

รูปแบบที่กำหนดเอง — เพิ่ม regex ของคุณเองลงใน env var CUSTOM_PATTERNS:

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

Allowlist — เก็บชื่อสาธารณะไม่ให้ถูกปิดบัง:

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

ปิดใช้งานประเภทข้อมูล — ให้หมวดหมู่บางอย่างผ่านไปได้:

"DISABLED_ENTITIES": "PHONE_NUMBER,URL"

การประมวลผลเกิดขึ้นที่ไหน

ส่วนประกอบที่ตั้ง
MCP serverเครื่องของคุณ
การตรวจจับ PIIเซิร์ฟเวอร์ anonym.legal (เยอรมนี)
โมเดล AIเซิร์ฟเวอร์ Anthropic / OpenAI

proxy ทำงานบนเครื่องของคุณ เฉพาะการเรียก detection เท่านั้นที่ไปยัง anonym.legal prompt ของคุณไม่ถูกจัดเก็บ ดูนโยบายความเป็นส่วนตัวสำหรับรายละเอียด

ราคา

การผสานรวมรวมอยู่ในทุกแผน:

แผนโทเคน/เดือนราคา
Free200€0
Basic2,000€3/เดือน
Pro10,000€15/เดือน
Business50,000€29/เดือน

นักพัฒนาส่วนใหญ่ใช้ Basic ที่ €3/เดือน

สรุป

เครื่องมือ AI ตอนนี้เป็นส่วนหนึ่งของงานพัฒนาประจำวัน พวกมันไม่จำเป็นต้องเห็นข้อมูลของลูกค้าเพื่อให้มีประโยชน์ proxy จัดการสิ่งนั้นให้คุณ

การผสานรวม:

  • ไม่ต้องการการเปลี่ยนแปลงขั้นตอนการทำงาน
  • ทำงานกับ Claude Desktop, Cursor และ VS Code
  • ปกป้อง PII ในทุก prompt ทุกครั้ง
  • ต้นทุน €3/เดือนสำหรับนักพัฒนาส่วนใหญ่

ตั้งค่าครั้งเดียว ข้อมูลของคุณปลอดภัยตามค่าเริ่มต้น


แหล่งที่มา

พร้อมที่จะปกป้องข้อมูลของคุณหรือยัง?

เริ่มทำให้ PII เป็นนิรนามด้วยประเภทเอนทิตีมากกว่า 285 ประเภทใน 48 ภาษา.

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.