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

Zed Industries

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

Zed แสดงรายการเซิร์ฟเวอร์ MCP ไว้ใต้ context_servers ใน settings.json

- **macOS**: `~/.config/zed/settings.json`
- **Windows**: `%APPDATA%\Zed\settings.json`
- **Linux**: `~/.config/zed/settings.json`
- **Key ระดับบนสุด**: `context_servers`
- **รูปแบบ**: json
- **OAuth สำหรับเซิร์ฟเวอร์ remote**: 

## ตัวอย่าง config

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

`~/.config/zed/settings.json`

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

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

- รายการเซิร์ฟเวอร์ระยะไกลใช้ url และ headers ที่ไม่บังคับ หากไม่มีส่วนหัว Authorization, Zed จะเรียกใช้ขั้นตอน OAuth มาตรฐานของ MCP
- Zed รองรับเฉพาะฟีเจอร์ Tools และ Prompts ของ MCP
- path ของไฟล์ settings มาจากแหล่งข้อมูลรอง โดยหน้า MCP ของ Zed ไม่ได้ระบุไว้
- settings.json มีการตั้งค่าอื่นๆ ของ Zed ด้วย ให้ผสานบล็อกนี้เข้ากับไฟล์แทนการเขียนทับทั้งไฟล์

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

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

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

[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. [zed.dev](https://zed.dev/docs/ai/mcp)/docs/ai/mcp

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

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