By · Last updated 2026-02-22

Povratak na BlogTehnički

Koristite Claude i ChatGPT bez curenja osobnih podataka

Vodič za programere za sigurno korištenje AI asistenata. Postavite MCP Server integraciju za transparentnu zaštitu osobnih podataka u Claude Desktopu, Cursoru i VS Codeu.

February 22, 20267 min čitanja
MCP ServerClaude DesktopCursor IDEsecure AIdeveloper tools

Programerska dilema

Debugujete produkcijski problem. U stack traceu su e-mail adrese klijenata. Najbrže rješenje? Zalijepite to u Claude i zatražite pomoć.

Ali ti podaci su sada:

  • Pohranjeni u Anthropicovim sustavima
  • Možda korišteni za treniranje modela, ovisno o vašem planu
  • Vidljivi svakome tko može pristupiti vašoj povijesti razgovora

77% programera lijepi osjetljive podatke u AI alate. Većina ne primijeti problem sve dok nije prekasno.

Kako proxy rješava ovaj problem

Model Context Protocol (MCP) dopušta poslužitelju da sjedi između vas i bilo kojeg AI alata. anonym.legal MCP server koristi tu poziciju za uklanjanje osobnih podataka prije nego što vaš tekst stigne do bilo kojeg modela.

Funkcionira u četiri koraka:

  1. Tipkate prompt kao i obično
  2. Proxy ga hvata prije slanja
  3. Osobni podaci se pronalaze i zamjenjuju reverzibilnim tokenima
  4. AI vidi samo čist, anonimizirani tekst

AI odgovor dolazi natrag s vraćenim stvarnim vrijednostima. Vaš tijek rada se ne mijenja.

Postavljanje integracije

Što vam treba

  • Node.js 18 ili noviji
  • Claude Desktop, Cursor ili VS Code s Claude ekstenzijom
  • anonym.legal API ključ — nabavite ga besplatno

Korak 1: Nabavite API ključ

  1. Registrirajte se na anonym.legal/auth/signup
  2. Idite na Postavke → API tokeni
  3. Stvorite novi token
  4. Kopirajte ga — vidite ga samo jednom

Korak 2: Konfigurirajte Claude Desktop

Uredite konfiguracijsku datoteku za vaš OS:

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

Dodajte anonym.legal poslužitelj:

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

Korak 3: Ponovo pokrenite Claude Desktop

Zatvorite i ponovo otvorite aplikaciju. Vidjet ćete „anonym-legal" navedeno pod aktivnim poslužiteljima.

Postavljanje Cursor IDE-a

Cursor koristi isti protokol. Dodajte ovo u .cursor/mcp.json:

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

Što se anonimizira

Poslužitelj hvata 285+ vrsta entiteta na 48 jezika:

KategorijaPrimjeri
OsobniImena, e-mail adrese, telefonski brojevi, datum rođenja
FinancijskiKreditne kartice, bankovni računi, IBAN-ovi
DržavniOIB/SSN, brojevi putovnica, vozačke dozvole
TehničkiIP adrese, API ključevi, tokeni
ZdravstveniID-ovi pacijenata, brojevi osiguranja
KorporativniID-ovi zaposlenika, brojevi računa

Primjer transformacije

Vaš prompt:

Debuguj ovu pogrešku od korisnika john.smith@acme.com:
Placanje nije uspjelo za karticu 4532-1234-5678-9012
ID korisnika: CUST-12345, IP: 192.168.1.100

Što model vidi:

Debuguj ovu pogrešku od korisnika [EMAIL_1]:
Placanje nije uspjelo za karticu [CREDIT_CARD_1]
ID korisnika: [CUSTOMER_ID_1], IP: [IP_ADDRESS_1]

Odgovor koji vi vidite:

Pogreška za john.smith@acme.com sugerira da kartica
4532-1234-5678-9012 možda nema dovoljno sredstava...

Vi vidite prave vrijednosti. Model je uvijek vidio samo tokene.

Napredne opcije

Prilagođeni uzorci — dodajte vlastite regex izraze u CUSTOM_PATTERNS varijablu okruženja:

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

Dopuštena lista — spriječite maskiranje javnih naziva:

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

Onemogući vrste entiteta — dopustite pojedinim kategorijama da prođu:

"DISABLED_ENTITIES": "PHONE_NUMBER,URL"

Gdje se odvija obrada

KomponentaLokacija
MCP serverVaše računalo
Detekcija osobnih podatakaanonym.legal poslužitelji (Njemačka)
AI modelAnthropic / OpenAI poslužitelji

Proxy radi na vašem računalu. Samo poziv detekcije ide na anonym.legal. Vaši prompti se ne pohranjuju. Pogledajte politiku privatnosti za detalje.

Cijene

Integracija je uključena u sve planove:

PlanTokeni/mj.Cijena
Free2000 €
Basic2.0003 €/mj.
Pro10.00015 €/mj.
Business50.00029 €/mj.

Većina programera ostaje na Basic planu za 3 €/mj.

Zaključak

AI alati su sada dio svakodnevnog programerskog rada. Ne trebaju vidjeti podatke vaših kupaca da bi bili korisni. Proxy to obrađuje umjesto vas.

Integracija:

  • Ne zahtijeva promjene tijeka rada
  • Radi s Claude Desktopom, Cursorom i VS Codeom
  • Štiti osobne podatke na svakom promptu, svaki put
  • Košta 3 €/mj. za većinu programera

Postavite jednom. Vaši podaci su po zadanom zaštićeni.


Izvori

Spremni za zaštitu vaših podataka?

Započnite anonimizaciju PII-a s 285+ vrsta entiteta na 48 jezika.

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.