# الرموز

Canonical URL: https://developers.iagenify.com/ar/sdk/mcp/tokens/
Language: ar

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

Status: encrypted at rest · never in a URL · cleaned once

## ما الذي يزيل من {#cleaning}

| م مز | الناتج |
| --- | --- |
| `&nbsp;abc123` - الفضاء الرئيسي | 2 ف-4 |
| `"abc123"` - اقتباسات - | 2 ف-4 |
| `Bearer abc123` | أزيلت الكلمة - منا أن نضيف |
| `abc123&nbsp;` - مكان للحفر | 2 ف-4 |
| `abc 123` - فضاء داخل | **لا شيء** |

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

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

## راحة {#storage}

Encrypted, and decrypted only for the authenticated owner. [list()](/ar/sdk/ref/mcp/list) never carries one; [get()](/ar/sdk/ref/mcp/get) and [forAgent()](/ar/sdk/ref/mcp/for-agent) do, because the package needs it to contact the server.

## لا يوجد في عنوان {#never-url}

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

## الحضور {#rotating}

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

## لا يجري جاري ما الذي {#logging}

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

- [update()](/ar/sdk/ref/mcp/update): التناوب.
- [الأخطاء](/ar/sdk/mcp/errors): ما يبدو عليه رفضه

```python
import os

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