مفاهيم MCP

الرموز

مشفرة في الراحة، عائدة فقط إلى المالك، لا في URL - ونظّف مرة واحدة في طريق الدخول، لأن الشيء حول الرمز هو ما يكسره عادة.

encrypted at restnever in a URLcleaned once
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

ما الذي يزيل من

م مزالناتج
 abc123 - الفضاء الرئيسي2 ف-4
"abc123" - اقتباسات -2 ف-4
Bearer abc123أزيلت الكلمة - منا أن نضيف
abc123  - مكان للحفر2 ف-4
abc 123 - فضاء داخللا شيء
لماذا التنظيف ليس مهذبا

مكان أو اقتباسات أو نسخة من: Bearer ( ١ كورنثوس ١١ : ١ ) فَهُوَ يَتَعَلَّمُ مِنْ مَعْنَى ٱلْخُدَّامِ أَنْ يَتَرَكَ ٱلْأَرْجَحَ لِلْخُدَّامِ ٱلْمُقَرَّأَةِ ، وَٱلرَّغْبَةُ تُؤَدِّي إِلَى ٱلْكَرْمَةِ ، وَٱلْمَرْضَةَ تُؤَدِّي إِلَى ٱلْعَرْفِ ، وَٱلْمَشْكِلَةِ هِيَ مَوْجَاهِدَةٌ مُحَارَةٌ مُحَاطَةٌ .

الفضاء داخل رفض رفض مع mcp_token_malformed بدلا من أن تكون مرقّعة: العودة إلى ذلك سيكون تخمينا أيّ رمز كان المقصود.

راحة

Encrypted, and decrypted only for the authenticated owner. list() never carries one; get() and forAgent() do, because the package needs it to contact the server.

لا يوجد في عنوان

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

الحضور

await api.mcp.update("example", { token: process.env.EXAMPLE_TOKEN_NEW });
await api.mcp.update("example", { token: null });   // remove it
import os

api.mcp.update("example", token=os.environ["EXAMPLE_TOKEN_NEW"])
api.mcp.update("example", token=None)   # remove it

لا يجري جاري ما الذي

get() and forAgent() return the token in the server object. Logging that object writes the credential to wherever your logs go.