---
title: "إعداد MCP لـ Windsurf / Devin Desktop: مسار الملف والمفتاح ومثال · DotsAgent"
description: "أضف خوادم MCP إلى Windsurf / Devin Desktop من Cognition: موقع ملف الإعداد، والمفتاح الأعلى مستوى والتنسيق، ودعم OAuth للخوادم البعيدة، وإعداد نموذجي."
url: https://dotsagent.io/ar/mcp/clients/windsurf
---

Cognition

# أضف خوادم MCP إلى Windsurf / Devin Desktop

أصبح Windsurf الآن Devin Desktop. يقرأ ملف mcp_config.json، لكن الوثائق الرسمية تختلف بشأن موقعه.

- **macOS**: `~/.config/devin/mcp_config.json (current Cascade doc); legacy ~/.codeium/windsurf/mcp_config.json; FAQ says ~/.codeium/mcp_config.json`
- **Windows**: `%APPDATA%\devin\mcp_config.json (current Cascade doc)`
- **Linux**: `~/.config/devin/mcp_config.json (or $XDG_CONFIG_HOME/devin/mcp_config.json)`
- **ملف المشروع**: `.devin/mcp_config.json (Devin CLI / Devin Local project scope)`
- **المفتاح الأعلى مستوى**: `mcpServers`
- **التنسيق**: json
- **OAuth للخوادم البعيدة**: 

## إعداد نموذجي

يضيف هذا المثال خادم GitHub المستضاف وPlaywright كخادم محلي، بالتنسيق الذي يتوقعه هذا العميل.

`.devin/mcp_config.json`

```
{
  "mcpServers": {
    "github": {
      "url": "https://api.githubcopilot.com/mcp/",
      "transport": "http"
    },
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}
```

`shell`

```
devin mcp add github https://api.githubcopilot.com/mcp/
devin mcp add playwright -- npx @playwright/mcp@latest
```

## ملاحظات وسلوكيات خاصة

- أُعيدت تسمية Windsurf إلى Devin Desktop في 2026-06-02، وأصبح Devin Local هو الوكيل الافتراضي.
- تذكر وثائق Cascade المسار ~/.config/devin/mcp_config.json، بينما تذكر الأسئلة الشائعة المسار ~/.codeium/mcp_config.json، والمسار القديم هو ~/.codeium/windsurf/mcp_config.json. تحقّق من المسار الذي يقرأه إصدارك.
- يضيف Devin Local نطاقات للمشاريع في .devin/mcp_config.json و.devin/mcp_config.local.json.
- تتضمن إدخالات الخوادم البعيدة url ووسيلة النقل http أو sse وheaders وoauthClientId وoauthClientSecret وoauthResource؛ كما يقبل Cascade المفتاح serverUrl.
- يمكن أن تستخدم القيم ${env:VAR} و${file:path}، ويضع Cascade حدًا أقصى قدره 100 أداة.

[أنشئ إعدادًا لـ Windsurf / Devin Desktop →](https://dotsagent.io/ar/mcp/config#client=windsurf)

## عملاء آخرون

[Claude Desktop](https://dotsagent.io/ar/mcp/clients/claude-desktop)

[Claude Code](https://dotsagent.io/ar/mcp/clients/claude-code)

[Cursor](https://dotsagent.io/ar/mcp/clients/cursor)

[VS Code (GitHub Copilot)](https://dotsagent.io/ar/mcp/clients/vscode-copilot)

[Zed](https://dotsagent.io/ar/mcp/clients/zed)

[OpenAI Codex CLI](https://dotsagent.io/ar/mcp/clients/codex-cli)

[Gemini CLI](https://dotsagent.io/ar/mcp/clients/gemini-cli)

[ChatGPT](https://dotsagent.io/ar/mcp/clients/chatgpt)

[OpenClaw](https://dotsagent.io/ar/mcp/clients/openclaw)

[Cline](https://dotsagent.io/ar/mcp/clients/cline)

[Continue](https://dotsagent.io/ar/mcp/clients/continue)

[JetBrains AI Assistant](https://dotsagent.io/ar/mcp/clients/jetbrains-ai)

## المصادر

1. [docs.windsurf.com](https://docs.windsurf.com/windsurf/cascade/mcp)/windsurf/cascade/mcp
2. [docs.devin.ai](https://docs.devin.ai/desktop/devin-desktop-faq)/desktop/devin-desktop-faq
3. [docs.devin.ai](https://docs.devin.ai/cli/extensibility/mcp/configuration.md)/cli/extensibility/mcp/configuration.md
4. [code.visualstudio.com](https://code.visualstudio.com/docs/copilot/customization/mcp-servers)/docs/copilot/customization/mcp-servers

مرجع مستقل لمطوّري وكلاء الذكاء الاصطناعي. لا تربطنا أي علاقة بأي من المورّدين المذكورين هنا.

© 2026 DotsAgent · تم التحقق من المعلومات في 1 أكتوبر 2026
