---
title: "config MCP ของ Windsurf / Devin Desktop: path ไฟล์, key และตัวอย่าง · DotsAgent"
description: "เพิ่มเซิร์ฟเวอร์ MCP ของ Cognition ใน Windsurf / Devin Desktop: ตำแหน่งไฟล์ config, key และรูปแบบระดับบนสุด, การรองรับ OAuth สำหรับเซิร์ฟเวอร์ remote และตัวอย่าง config"
url: https://dotsagent.io/th/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)`
- **Key ระดับบนสุด**: `mcpServers`
- **รูปแบบ**: json
- **OAuth สำหรับเซิร์ฟเวอร์ remote**: 

## ตัวอย่าง config

ตัวอย่างนี้เพิ่มเซิร์ฟเวอร์ที่ GitHub โฮสต์ไว้และ Playwright เป็นเซิร์ฟเวอร์ local โดยใช้รูปแบบที่ไคลเอนต์นี้รองรับ

`.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 เป็น agent เริ่มต้น
- เอกสาร Cascade ระบุ ~/.config/devin/mcp_config.json, ส่วน FAQ ระบุ ~/.codeium/mcp_config.json และ path เดิมคือ ~/.codeium/windsurf/mcp_config.json ตรวจสอบว่า build ของคุณอ่านไฟล์ใด
- Devin Local เพิ่มขอบเขตระดับโปรเจกต์ใน .devin/mcp_config.json และ .devin/mcp_config.local.json
- รายการเซิร์ฟเวอร์ระยะไกลใช้ url, transport http หรือ sse, headers, oauthClientId, oauthClientSecret และ oauthResource ส่วน Cascade ยังรองรับ serverUrl ด้วย
- ค่าใช้ ${env:VAR} และ ${file:path} ได้ และ Cascade จำกัดเครื่องมือไว้ที่ 100 รายการ

[สร้าง config สำหรับ Windsurf / Devin Desktop →](https://dotsagent.io/th/mcp/config#client=windsurf)

## ไคลเอนต์อื่น

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

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

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

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

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

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

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

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

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

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

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

[JetBrains AI Assistant](https://dotsagent.io/th/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

แหล่งอ้างอิงอิสระสำหรับผู้สร้าง AI agent ไม่มีส่วนเกี่ยวข้องกับผู้ให้บริการที่กล่าวถึง

© 2026 DotsAgent · ตรวจสอบข้อมูลเมื่อ 1 ตุลาคม 2569
