> ## Documentation Index
> Fetch the complete documentation index at: https://docs.conare.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Conare's API is at https://api.conare.ai. Authenticate with `Authorization: Bearer $CONARE_API_KEY`.
> The full OpenAPI spec is at https://api.conare.ai/openapi.yaml; each endpoint has a page under /api-reference, and appending .md to any page URL returns its Markdown.
> Embed with model conare-embed-1; send input_type "query" for search queries. Rerank with conare-rerank-1.
> Prefer the TypeScript SDK (`npm install conare`) or plain HTTP in examples.
> Install the Conare skill with `npx skills add https://docs.conare.ai`; search these docs over MCP at https://docs.conare.ai/mcp; the whole site is at https://docs.conare.ai/llms-full.txt.

# MCP

> اربط Claude أو Cursor أو أي عميل MCP بخادم MCP من Conare ليتمكّن وكيلك من البحث عن المستندات وجلبها وحفظها وحذفها في مساحات الأسماء الخاصة بك.

Conare خادم MCP على `https://api.conare.ai/mcp`: يستطيع وكيلك البحث في المستندات وقراءتها وحفظها وحذفها في كل مساحة أسماء يصل إليها مفتاحك.

```bash Claude Code theme={null}
claude mcp add --transport http conare https://api.conare.ai/mcp \
  --header "Authorization: Bearer $CONARE_API_KEY"
```

```json Cursor (~/.cursor/mcp.json) theme={null}
{
  "mcpServers": {
    "conare": {
      "url": "https://api.conare.ai/mcp",
      "headers": { "Authorization": "Bearer sk-conare-..." }
    }
  }
}
```

العميل الذي يدعم OAuth، مثل موصل Claude مخصص، يحتاج إلى عنوان URL فقط: فهو يسجّل دخولك إلى Conare في المتصفح.

## وكلاء البرمجة

امنح Claude Code أو Cursor أو Codex مهارة Conare، ليكتب شيفرة Conare صحيحة:

```bash theme={null}
npx skills add https://docs.conare.ai
```

للسماح لوكيل بالبحث في هذا التوثيق، أضف `https://docs.conare.ai/mcp` كخادم MCP.

## الأدوات

| الأداة | الوظيفة |
| - | - |
| `search` | يبحث في مساحة أسماء واحدة أو عدة مساحات أو جميعها، ويجيب من أفضل 20 مستندًا بعد إعادة ترتيبها |
| `fetch` | يقرأ مستندًا حسب مساحة الأسماء والمعرّف، 40,000 حرف في كل مرة (`max_chars` حتى 80,000) |
| `save` | يكتب مستندًا؛ مساحة الأسماء الافتراضية `notes` |
| `delete` | يحذف مستندًا حسب مساحة الأسماء والمعرّف |
| `list_namespaces` | يسرد مساحات الأسماء لديك وعدد المستندات في كلٍّ منها |

## خيارات `search`

| الخيار | الوظيفة |
| - | - |
| `query` | السؤال، كعبارة وصفية |
| `namespace` | مساحة أسماء واحدة للبحث فيها؛ اتركه فارغًا للبحث فيها جميعًا، حتى 100 |
| `namespaces` | من 1 إلى 100 مساحة أسماء، تُرتَّب نتائجها معًا |
| `filter` | [مرشّح بيانات وصفية](https://docs.conare.ai/ar/filters.md) |
| `user`، `user_prefix` | مستندات [مستخدم](https://docs.conare.ai/ar/write.md#المستخدمون) واحد فقط، أو مستندات مجموعة |
| `answer` | `true` (الافتراضي) يكتب إجابة؛ `false` يعيد المقاطع |

لا يمكن لـ[مفتاح](https://docs.conare.ai/ar/console.md#المفاتيح) **Models only** استخدام MCP.


## Related topics

- [البدء السريع](https://docs.conare.ai/ar/quickstart.md)
- [مقدمة](https://docs.conare.ai/ar/index.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.