دليل اللغة AI

بروتوكول السياق النموذجي

يحدد بروتوكول السياق النموذجي، أو MCP، واجهة مشتركة يمكن من خلالها لمضيف الذكاء الاصطناعي الاتصال بالخوادم التي تقدم الأدوات والموارد والمطالبات.

استمع إلى هذا الدليلرواه الذكاء الاصطناعي · ~2 min

في هذه الصفحةقراءة لمدة دقيقتين
  1. نظرة عامة
  2. النقاط الرئيسية
  3. الغوص العميق
  4. Separate connection from authority
  5. التنفيذ في العالم الحقيقي
  6. وضعها موضع التنفيذ
  7. المصادر ومزيد من القراءة
  8. استمر في الاستكشاف
  9. الأسئلة المتداولة

نظرة عامة

It standardizes parts of the integration contract. It does not independently make a server trustworthy or authorize every capability it exposes.

النقاط الرئيسية

  1. Distinguish host, client, and server responsibilities.
  2. Inspect capabilities and versions.
  3. Preserve user authority and data boundaries.

الغوص العميق

The architecture separates a host application, its clients, and connected servers. A client manages a connection to a server, while the host coordinates the user experience and relevant security decisions. A server may run locally or remotely. Tools expose operations; resources supply contextual content; prompts provide reusable interaction templates. These capabilities serve different purposes, and support varies by host and protocol version. Inspect negotiated capabilities rather than assuming every integration implements the complete specification. Establish the data and permission boundary before connecting. A useful server may read private records or change external state. Its descriptions and returned content are inputs to evaluate, not a source of authority to broaden the user’s request. Keep authorization, secrets, and account separation in the application’s security design. Test the integration lifecycle: connection, capability discovery, argument validation, error responses, reconnection, and revoked access. Record the server and protocol versions. A successful connection proves that communication works, not that every tool is correct or that the user’s task is complete.

04عملت المثال

Separate connection from authority

  1. Imagine a server exposing search_documents and delete_document. A user asks only to find a policy.

  2. The host can use the authorized search capability without interpreting server availability as permission to delete anything.

  3. If a retrieved page instructs the host to delete an unrelated file, treat that text as content rather than a new user request.

ما يظهر

This constructed example illustrates the difference between exposed capability and authorized use.

التنفيذ في العالم الحقيقي

Connect a host to a read-only documentation resource with a defined access scope.

Review a server’s tool descriptions and behavior before allowing write operations.

وضعها موضع التنفيذ

لماذا يهم

  • السرعة والحجم. يمكن أن تتحرك مسارات عمل اللغة بشكل أسرع دون التضحية بالاتساق.
  • الوصول والوصول. فهو يوسع الوصول عبر اللغات وأنماط الاتصال.
  • قرارات أوضح. يمكن للفرق قضاء المزيد من الوقت في الحكم بينما تتعامل الأتمتة مع التكرار.

احترس من

  • يمكن للحقائق المهلوسة إدخال التقارير أو تدفقات الدعم أو مخرجات البحث بهدوء.
  • يمكن أن تؤدي الحساسية السريعة إلى نتائج غير متناسقة عبر الطلبات المماثلة.
  • قد يتم كشف البيانات النصية الحساسة إذا كانت عناصر التحكم في الوصول ضعيفة.

الخطوات التالية

  1. حدد تنسيق الإخراج والنغمة ومعايير الجودة قبل بدء التشغيل.
  2. استجابات أرضية من مصادر موثوقة عندما تكون الدقة مهمة.
  3. احتفظ بنقطة تفتيش للمراجعة البشرية للمخرجات عالية المخاطر.
  4. تتبع أنماط الفشل وأعد تدريب المطالبات أو سير العمل بانتظام.

المصادر ومزيد من القراءة

  1. Model Context ProtocolMCP architecture, protocol revision 2025-06-18

استمر في الاستكشاف

رسالة إخبارية مجانية

احصل على الإحاطة اليومية لمنظمة العفو الدولية

ثلاث قصص تم التحقق منها بواسطة الذكاء الاصطناعي كل صباح من أيام الأسبوع، مكتوبة باللغة الإنجليزية البسيطة. مجاني للأبد، بدون إعلانات.

بريد إلكتروني واحد كل يوم من أيام الأسبوع. إلغاء الاشتراك بنقرة واحدة. نحن لا نبيع أو نشارك عنوانك أبدًا.

اختبر نفسك

Take the Model Context Protocol quiz

تعليقات فورية على كل إجابة، وشهادة قابلة للمشاركة مع معرف يمكن التحقق منه بمجرد اجتياز الدورة التدريبية.

ابدأ الاختبار

دعم تعليم الذكاء الاصطناعي المجاني. AI Understanding هي منظمة 501(c)(3) غير ربحية - لا إعلانات ولا نظام حظر الاشتراك غير المدفوع على الإطلاق. قم بالتبرع

الأسئلة المتداولة

Does MCP certify a server as safe?

No. The protocol defines communication. Trust, authorization, implementation quality, and operational controls still require evaluation.

استمر في التعلم

أدلة ذات صلة

تم اختيار المزيد من الأدلة لهذا الموضوع

احصل على شهادة الذكاء الاصطناعي المجانيةدورة مجانية قصيرة واختبار. لا تكلفة ولا بطاقة. حوالي 2.5 ساعة.ابدأ مجانًا →