By · Last updated 2026-02-22

العودة إلى المدونةتقني

استخدم Claude وChatGPT دون تسريب البيانات الشخصية

دليل المطوّر لاستخدام مساعدي الذكاء الاصطناعي بأمان. إعداد تكامل خادم MCP لحماية شفافة للبيانات الشخصية في Claude Desktop وCursor وVS Code.

February 22, 20267 دقيقة قراءة
MCP ServerClaude DesktopCursor IDEsecure AIdeveloper tools

معضلة المطوّر

أنت تُصحّح مشكلة في الإنتاج. يحتوي تتبع المكدس على عناوين بريد إلكتروني للعملاء. الحل الأسرع؟ لصقه في Claude والطلب منه المساعدة.

لكن تلك البيانات أصبحت الآن:

  • مخزّنة في أنظمة Anthropic
  • يحتمل استخدامها في تدريب النماذج، تبعاً لخطتك
  • مرئية لأي شخص يمكنه الوصول إلى تاريخ محادثاتك

77% من المطوّرين يلصقون بيانات حساسة في أدوات الذكاء الاصطناعي. معظمهم لا يُدرك المشكلة إلا لاحقاً.

كيف يُصلح الوسيط هذا

يتيح بروتوكول Model Context Protocol (MCP) لخادم أن يجلس بينك وبين أي أداة ذكاء اصطناعي. يستخدم خادم MCP الخاص بـanonym.legal هذا الموضع لاستخلاص البيانات الشخصية قبل وصول نصك إلى أي نموذج.

يعمل في أربع خطوات:

  1. تكتب طلباً كالمعتاد
  2. يعترضه الوسيط قبل الإرسال
  3. يُكشَف عن البيانات الشخصية وتُستبدَل برموز قابلة للعكس
  4. يرى الذكاء الاصطناعي فقط نصاً نظيفاً مجهول الهوية

يعود رد الذكاء الاصطناعي مع استعادة القيم الحقيقية. سير عملك لا يتغير.

إعداد التكامل

ما تحتاجه

  • Node.js 18 أو أحدث
  • Claude Desktop أو Cursor أو VS Code مع إضافة Claude
  • مفتاح API الخاص بـanonym.legal — احصل عليه مجاناً

الخطوة الأولى: احصل على مفتاح API

  1. سجّل في anonym.legal/auth/signup
  2. اذهب إلى الإعدادات → رموز API
  3. أنشئ رمزاً جديداً
  4. انسخه — تراه مرة واحدة فقط

الخطوة الثانية: تهيئة Claude Desktop

عدّل ملف التهيئة لنظام تشغيلك:

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:

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

الخطوة الثالثة: أعد تشغيل Claude Desktop

أغلق التطبيق وأعد فتحه. ستجد "anonym-legal" مُدرجاً ضمن الخوادم النشطة.

إعداد Cursor IDE

يستخدم Cursor البروتوكول ذاته. أضف هذا إلى `.cursor/mcp.json`:

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

ما الذي يُجهَّل

يلتقط الخادم أكثر من 285 نوعاً من الكيانات عبر 48 لغة:

الفئةأمثلة
شخصيةأسماء، بريد إلكتروني، أرقام هاتف، تاريخ ميلاد
ماليةبطاقات ائتمان، حسابات مصرفية، رموز IBAN
حكوميةأرقام ضمان اجتماعي، جوازات سفر، رخص قيادة
تقنيةعناوين IP، مفاتيح API، رموز
صحيةهويات المرضى، أرقام التأمين
مؤسسيةهويات الموظفين، أرقام الحسابات

مثال على التحويل

طلبك: ``` 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 الخاص بك إلى متغير البيئة `CUSTOM_PATTERNS`:

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

القائمة البيضاء — أبقِ الأسماء العامة بعيدة عن الإخفاء:

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

تعطيل أنواع الكيانات — اسمح لفئات معينة بالمرور:

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

أين تتم المعالجة

المكوّنالموقع
خادم MCPجهازك
كشف البيانات الشخصيةخوادم anonym.legal (ألمانيا)
نموذج الذكاء الاصطناعيخوادم Anthropic / OpenAI

يعمل الوسيط على جهازك. فقط استدعاء الكشف يذهب إلى anonym.legal. طلباتك لا تُخزَّن. راجع سياسة الخصوصية للتفاصيل.

الأسعار

التكامل مُدرج في جميع الخطط:

الخطةرموز/شهرالسعر
مجاني200€0
Basic2,000€3/شهر
Pro10,000€15/شهر
Business50,000€29/شهر

معظم المطوّرين يبقون على Basic بـ€3/شهر.

الخلاصة

أدوات الذكاء الاصطناعي باتت جزءاً من العمل اليومي للمطوّر. لا تحتاج إلى رؤية بيانات عملائك لتكون مفيدة. يتولى الوسيط ذلك عنك.

التكامل:

  • لا يستلزم أي تغييرات في سير العمل
  • يعمل مع Claude Desktop وCursor وVS Code
  • يحمي البيانات الشخصية في كل طلب، في كل مرة
  • بتكلفة €3/شهر لمعظم المطوّرين

أعدّه مرة واحدة. تظل بياناتك آمنة افتراضياً.


المصادر

هل أنت مستعد لحماية بياناتك؟

ابدأ بإخفاء المعلومات الشخصية مع أكثر من 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.