---
title: "config MCP ของ Cline: path ไฟล์, key และตัวอย่าง · DotsAgent"
description: "เพิ่มเซิร์ฟเวอร์ MCP ของ Cline Bot Inc. ใน Cline: ตำแหน่งไฟล์ config, key และรูปแบบระดับบนสุด, การรองรับ OAuth สำหรับเซิร์ฟเวอร์ remote และตัวอย่าง config"
url: https://dotsagent.io/th/mcp/clients/cline
---

Cline Bot Inc.

# เพิ่มเซิร์ฟเวอร์ MCP ใน Cline

Cline จัดเก็บเซิร์ฟเวอร์ไว้ใน cline_mcp_settings.json ในพื้นที่จัดเก็บส่วนขยายของ VS Code หรือใน ~/.cline/mcp.json สำหรับ CLI

- **macOS**: `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`
- **Windows**: `%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json`
- **Linux**: `~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`
- **CLI**: `~/.cline/mcp.json`
- **Key ระดับบนสุด**: `mcpServers`
- **รูปแบบ**: json
- **OAuth สำหรับเซิร์ฟเวอร์ remote**: 

## ตัวอย่าง config

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

`~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`

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

## หมายเหตุและข้อควรระวัง

- รายการเซิร์ฟเวอร์ระยะไกลต้องกำหนด type เป็น streamableHttp มิฉะนั้น Cline จะกลับไปใช้ SSE แบบเดิม
- เส้นทางที่แสดงใช้กับ VS Code รุ่น stable ส่วน VS Code fork อื่น ๆ จะมีโฟลเดอร์ globalStorage ของตัวเอง
- รายการยังรองรับ disabled และ autoApprove ซึ่งเป็นรายการชื่อเครื่องมือ
- ไม่มีเอกสารอธิบายการใช้ OAuth กับเซิร์ฟเวอร์ระยะไกล
- cline mcp เปิดตัวช่วยตั้งค่าแบบโต้ตอบ

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

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

[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)

[Windsurf / Devin Desktop](https://dotsagent.io/th/mcp/clients/windsurf)

[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)

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

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

## แหล่งที่มา

1. [docs.cline.bot](https://docs.cline.bot/mcp/configuring-mcp-servers)/mcp/configuring-mcp-servers
2. [github.com](https://github.com/cline/cline)/cline/cline

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

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