# เซิร์ฟเวอร์ MCP ของ Brew: อีเมลมาร์เก็ตติ้งสำหรับเอเจนต์ AI

เชื่อมต่อ ChatGPT, Claude, Cursor หรือเอเจนต์ AI ใดก็ได้กับ Brew ผ่าน MCP ให้เอเจนต์สร้าง ส่ง ตั้งระบบอัตโนมัติ และวิเคราะห์อีเมลที่ตรงกับแบรนด์

URL หลัก: https://brew.new/th/mcp

## เซิร์ฟเวอร์นี้คืออะไร

เซิร์ฟเวอร์ Model Context Protocol (MCP) ที่เปิดให้เอเจนต์ AI ใช้งาน Brew ได้ เชื่อมต่อใน ChatGPT, Claude, Grok, Cursor, Codex หรือไคลเอนต์ MCP ใดก็ได้ แล้วเอเจนต์ของคุณจะทำงานอีเมลมาร์เก็ตติ้งได้ครบทั้งวงจร โดยใช้แบรนด์และข้อมูลชุดเดียวกับในแอป Brew

## สิ่งที่เอเจนต์ของคุณทำได้

- สร้างและปรับแก้ดีไซน์อีเมลที่ตรงกับแบรนด์
- ส่งและตั้งเวลาแคมเปญ รวมถึงการส่งทดสอบ ผ่านโดเมนที่ยืนยันแล้ว
- สร้างระบบอัตโนมัติ: เชื่อมทริกเกอร์เข้ากับโฟลว์แบบหลายขั้นตอน ทดสอบ เผยแพร่ และส่งเหตุการณ์
- จัดการผู้ติดต่อ ฟิลด์ที่กำหนดเอง และกลุ่มเป้าหมายที่บันทึกไว้ (เซกเมนต์)
- อ่านข้อมูลวิเคราะห์การส่งถึง การเปิด การคลิก การตีกลับ และระบบอัตโนมัติ
- เพิ่มรูปภาพที่ตรงกับแบรนด์และแสดงตัวอย่าง HTML

## จากไอเดีย สู่อินบ็อกซ์ สู่อินไซต์

1. ออกแบบ: ใช้ `create_email` สร้างจากพรอมต์ แล้วใช้ `edit_email` ปรับแก้ต่อ ทุกการเปลี่ยนแปลงมีการเก็บเวอร์ชัน
2. ส่งหรือตั้งเวลา: ใช้ `send_email` ส่งถึงกลุ่มเป้าหมายที่บันทึกไว้ผ่านโดเมนที่ยืนยันแล้ว จะส่งทันทีหรือตามเวลา `scheduledAt` ในอนาคตก็ได้
3. ตั้งระบบอัตโนมัติ: เชื่อมทริกเกอร์เข้ากับโฟลว์ด้วย `save_automation` ทดสอบ แล้วเผยแพร่ จากนั้นเรียก `fire_trigger_event` จากแอปของคุณ
4. วัดผลและปรับปรุง: อ่าน `get_email_analytics` ของการส่งแต่ละครั้งและการมีส่วนร่วมของผู้รับ แล้วแบ่งเซกเมนต์ใหม่และลองอีกครั้ง

## เชื่อมต่อ

ChatGPT บนเว็บใช้ปลั๊กอิน Brew ส่วน ChatGPT เดสก์ท็อปและ Codex ใช้การตั้งค่าเซิร์ฟเวอร์ MCP ร่วมกัน สำหรับไคลเอนต์อื่น ให้ทำตามขั้นตอนการตั้งค่าด้านล่าง ยืนยันตัวตน แล้วเรียกใช้ get_brew_capabilities

```
https://brew.new/api/mcp
```

### Claude Desktop

#### Custom connector

1. Open **Customize → Connectors → + Add → Add custom connector**.
2. Name it Brew, enter the server URL below, and select **Continue**. Review the detected authentication settings and continue.

```text
https://brew.new/api/mcp
```

Choose **Sign in now** or connect when needed. Finish adding the connector, select **Connect**, sign in with Brew, and choose one brand or all brands.

Enable Brew from the conversation’s **+ → Connectors** menu. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

For Team or Enterprise, an owner or authorized admin first uses **Organization settings → Connectors → Add → Custom → Web**. Members then connect individually. Free accounts are limited to one custom connector.

#### API-key alternative

1. Use the same custom connector flow and server URL. Choose **No sign in** when using a fixed API key.

```text
https://brew.new/api/mcp
```

Under **Request headers**, add **Authorization** with the value **Bearer brew_YOUR_API_KEY**, using a key from Brew’s **Settings → API**. Finish adding the connector.

Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

On Team or Enterprise, a fixed credential is shared by everyone using the connector. Choose a key limited to the access those members need.

### ChatGPT web

1. On chatgpt.com, open **Plugins → + → Add custom MCP server**.
2. Name it Brew. Under **Connection**, enter the server URL below and choose **OAuth**.
3. Review the warning, select **I understand and want to continue**, then **Create as a plugin**.

```text
https://brew.new/api/mcp
```

Install the plugin. Complete the OAuth sign-in with Brew, choose one brand or all brands, and approve the access when prompted.

In a new chat, type **@** and select **Brew**. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

Full MCP support on the web requires Business or Enterprise/Edu. Pro supports read/fetch access. Workspace permissions govern who can create custom MCP plugins; Business requires an admin or owner.

If tools changed after installation, refresh the plugin’s tools or actions using the controls your workspace provides. An administrator may need to review and publish the update.

### Grok

#### Web connector

1. Open **grok.com/connectors → New Connector → Custom** and enter the server URL below.

```text
https://brew.new/api/mcp
```

Start authentication, sign in with Brew, select a brand or all brands, and approve access.

Start a new chat; Grok can use connected tools when relevant. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

For Business or Enterprise, a team admin provisions the connector first.

#### Grok Build

1. Run the command below.

```bash
grok mcp add --transport http brew 'https://brew.new/api/mcp'
```

If authentication is needed, open **/mcps**, select Brew, and press **i** to sign in with Brew and select your brand.

Run `grok mcp doctor brew`, then start a session. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

### Claude Code

1. Run the command below with **--scope user** for every project, or omit it for this project’s local configuration. Adding the server only saves its configuration.

```bash
claude mcp add --transport http --scope user brew 'https://brew.new/api/mcp'
```

Run `claude mcp login brew`, or open **/mcp** in a Claude Code session and select Brew to authenticate. Sign in with Brew and choose a brand or all brands.

Run **/mcp** to confirm Brew is connected. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

### Cursor

1. Use **Add to Cursor** below, or merge the configuration into **~/.cursor/mcp.json** (all projects) or **.cursor/mcp.json** (this project).

```json mcp.json
{
  "mcpServers": {
    "brew": {
      "url": "https://brew.new/api/mcp"
    }
  }
}
```

Open **Customize → MCP**, select Brew, and use its sign-in action if prompted. Sign in with Brew and choose a brand or all brands.

Confirm Brew’s tools appear in Customize. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

Older Cursor builds call this settings section **Tools & MCP**.

[เพิ่มใน Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=brew&config=eyJ1cmwiOiJodHRwczovL2JyZXcubmV3L2FwaS9tY3AifQ)

### OpenCode

1. Merge this block into **~/.config/opencode/opencode.json**.

```json opencode.json
{
  "mcp": {
    "brew": {
      "type": "remote",
      "url": "https://brew.new/api/mcp",
      "enabled": true
    }
  }
}
```

Run `opencode mcp auth brew`, sign in with Brew, and select a brand or all brands. OpenCode can also prompt on first use.

Run `opencode mcp list` to confirm Brew is connected. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

### VS Code

1. Run **MCP: Add Server** from the Command Palette and choose HTTP, or create **.vscode/mcp.json** with the block below.
2. For all workspaces, use **MCP: Open User Configuration**.

```json mcp.json
{
  "servers": {
    "brew": {
      "type": "http",
      "url": "https://brew.new/api/mcp"
    }
  }
}
```

Select **Start** above Brew’s entry in mcp.json. Complete the browser sign-in with Brew and select a brand or all brands.

In Chat, select **Agent**, then **Configure Tools** and enable Brew’s tools. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

Requires GitHub Copilot. On Copilot Business or Enterprise, an administrator must allow MCP servers in Copilot.

### Codex and ChatGPT desktop

#### ChatGPT desktop

1. Open **Settings → Plugins → MCPs → Add → Add MCP server**. Some builds use **Settings → MCP servers → Add server**.
2. Name it brew, select **Streamable HTTP**, and enter the URL below. Leave token and header fields empty for OAuth, then **Save**. Restart the connection if offered.

```text
https://brew.new/api/mcp
```

Select **Authenticate** on the Brew server, sign in with Brew, and choose a brand or all brands.

Type **/mcp** to inspect connected servers. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

#### Codex CLI or IDE configuration

1. Merge this block into **~/.codex/config.toml**. The desktop app, CLI and IDE extension share it on the same Codex host.

```toml config.toml
[mcp_servers.brew]
url = "https://brew.new/api/mcp"
```

Run `codex mcp login brew`, sign in with Brew, and select a brand or all brands. The desktop and IDE server lists also offer **Authenticate**.

Run `codex mcp list` or **/mcp** in a session. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

Windows and WSL can use different hosts and home directories. ChatGPT web does not read this file. For an API key, set bearer_token_env_var to the name of an environment variable containing your Brew key.

### Manus

1. Open **Connectors → Create → Add MCP by URL**. Name the server Brew and enter the URL below. Older builds use **Settings → Integrations → Custom MCP Servers → Add Server**.

```text
https://brew.new/api/mcp
```

Create a key in Brew’s **Settings → API**. Use the key in Manus’s bearer-token field, or set **Authorization** to **Bearer brew_YOUR_API_KEY**. Save and test the connection.

Confirm Brew’s tools are available. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

Use API-key authentication for custom servers. Brew OAuth in Manus’s custom-server flow still needs a live compatibility check.

### Devin Desktop

1. Merge this block into **~/.config/devin/mcp_config.json** on macOS/Linux, or **%APPDATA%\devin\mcp_config.json** on Windows. For private project settings, use **.devin/mcp_config.local.json**.

```json mcp_config.json
{
  "mcpServers": {
    "brew": {
      "url": "https://brew.new/api/mcp"
    }
  }
}
```

Run `devin mcp login brew` in Devin CLI, or use the authentication action when Devin Local first uses Brew. Sign in with Brew and select a brand or all brands.

Run `devin mcp list` or inspect the session’s MCP servers. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

Current Devin Desktop uses Devin Local. Upgrade legacy Windsurf builds before following these steps. Organization policy may restrict available servers.

### Cline

#### Remote Servers

1. Click the **MCP Servers** icon and open **Remote Servers**.
2. Enter Server Name brew and the Server URL below. Choose **Streamable HTTP**, then **Add Server**.

```text
https://brew.new/api/mcp
```

Click **Authenticate** on the Brew server row. Complete the browser sign-in with Brew and select a brand or all brands.

Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

#### JSON alternative

1. Open **MCP Servers → Configure → Configure MCP Servers** and merge the block below into the settings file. Save it.

```json cline_mcp_settings.json
{
  "mcpServers": {
    "brew": {
      "type": "streamableHttp",
      "url": "https://brew.new/api/mcp",
      "disabled": false
    }
  }
}
```

Click **Authenticate** on Brew’s server row, sign in with Brew, and select a brand or all brands.

Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

The type field is required here: omitting it selects legacy SSE in Cline.

### Goose

1. Run goose configure. Choose **Add Extension → Remote Extension (Streamable HTTP)**, name it brew, and enter the endpoint below.

```bash
goose configure
# Add Extension → Remote Extension (Streamable HTTP)
# name: brew
# endpoint: https://brew.new/api/mcp
```

Complete the OAuth sign-in when Goose requests it. Sign in with Brew and select a brand or all brands.

Start a session with the Brew extension enabled. Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

Goose Desktop: open **Extensions → Add custom extension**, choose **Streamable HTTP**, and enter the same endpoint.

### Any MCP client

1. Use your client’s documented remote-server format. The example below is for clients that accept mcpServers with type http. Merge it into your existing config.

```json mcp.json
{
  "mcpServers": {
    "brew": {
      "type": "http",
      "url": "https://brew.new/api/mcp"
    }
  }
}
```

Run the client’s sign-in or authenticate action, then sign in with Brew and choose a brand or all brands. For clients without OAuth, use an API-key bearer header in their supported format.

Call get_brew_capabilities to confirm the connection and inspect its brand or organization scope.

This example is for clients that accept mcpServers and type: http. VS Code uses servers, OpenCode uses mcp and type: remote, and Cline requires type: streamableHttp. Follow your client’s recipe.

### ทางเลือกแบบใช้คีย์ API

หากไคลเอนต์ของคุณใช้ OAuth ไม่ได้ ให้สร้างคีย์ในการตั้งค่า → API และใช้รูปแบบเฮดเดอร์ตามที่ระบุไว้ ตัวอย่างนี้ใช้ mcpServers และ type: http:

```json
{
  "mcpServers": {
    "brew": {
      "type": "http",
      "url": "https://brew.new/api/mcp",
      "headers": {
        "Authorization": "Bearer brew_YOUR_API_KEY"
      }
    }
  }
}
```
This example is for clients that accept mcpServers and type: http. VS Code uses servers, OpenCode uses mcp and type: remote, and Cline requires type: streamableHttp. Follow your client’s recipe.

## ใช้คู่กับ CRM ของคุณ

Brew คือ ESP ยุค AI ที่เป็นทั้งหน่วยความจำด้านอีเมลระยะยาวและโครงสร้างพื้นฐานการส่งสำหรับเอเจนต์ ใช้คู่กับ MCP ของ CRM หรือเครื่องมือเสริมข้อมูล (Clay, Attio และอื่น ๆ) เพื่อเสริมข้อมูลผู้ติดต่อ สร้างเซกเมนต์อัจฉริยะ และส่งอีเมลแบบเฉพาะบุคคล: เสริมข้อมูล → แบ่งเซกเมนต์ → ออกแบบ → ส่ง → วัดผล → แบ่งเซกเมนต์ใหม่

## เวิร์กโฟลว์

เซิร์ฟเวอร์มาพร้อมพรอมต์นำทางและเครื่องมือค้นหาความสามารถ (`get_brew_capabilities`) เพื่อให้เอเจนต์เรียกใช้เครื่องมือต่อกันตามลำดับที่ถูกต้อง ได้แก่ เปิดตัวแคมเปญ สร้างเซกเมนต์แล้วส่ง ตั้งค่าระบบอัตโนมัติ วิเคราะห์ประสิทธิภาพ และปรับให้เฉพาะบุคคลด้วย MCP ของ CRM

## คำถามที่พบบ่อย

### เซิร์ฟเวอร์ MCP ของ Brew คืออะไร?

เป็นเซิร์ฟเวอร์ Model Context Protocol (MCP) ที่เปิดให้เอเจนต์ AI ใช้งาน Brew ได้ เชื่อมต่อใน ChatGPT, Claude, Grok, Cursor, Codex หรือไคลเอนต์ MCP ใดก็ได้ แล้วเอเจนต์ของคุณจะสร้างและปรับแก้ดีไซน์อีเมล ส่งและตั้งเวลาแคมเปญ สร้างระบบอัตโนมัติ จัดการผู้ติดต่อและเซกเมนต์ และอ่านข้อมูลวิเคราะห์ประสิทธิภาพได้ โดยใช้แบรนด์และข้อมูลชุดเดียวกับในแอป Brew

### เชื่อมต่อเซิร์ฟเวอร์ MCP ของ Brew อย่างไร?

ChatGPT บนเว็บใช้ปลั๊กอิน Brew ส่วน ChatGPT เดสก์ท็อปและ Codex ใช้การตั้งค่าเซิร์ฟเวอร์ MCP ร่วมกัน สำหรับไคลเอนต์อื่น ให้ทำตามขั้นตอนการตั้งค่าด้านล่าง ยืนยันตัวตน แล้วเรียกใช้ get_brew_capabilities ใช้ https://brew.new/api/mcp และทำตามคู่มือการตั้งค่าไคลเอนต์ที่ https://docs.brew.new/api-reference/mcp/connect-your-client ไคลเอนต์ที่ไม่รองรับ OAuth ใช้คีย์ API จากการตั้งค่า → API ได้

### ใช้ร่วมกับ MCP อื่นอย่าง Clay หรือ Attio ได้ไหม?

ได้ และนี่คือจุดที่ Brew โดดเด่นที่สุด Brew คือ ESP ยุค AI ที่เป็นทั้งหน่วยความจำด้านอีเมลและโครงสร้างพื้นฐานการส่งที่เอเจนต์ของคุณใช้งาน ใช้คู่กับ MCP ของ CRM หรือเครื่องมือเสริมข้อมูล (Clay, Attio และอื่น ๆ) เพื่อเพิ่มบริบทของผู้ติดต่อให้ครบถ้วน สร้างเซกเมนต์อัจฉริยะ และส่งอีเมลที่เฉพาะบุคคลอย่างแท้จริง โดยเอเจนต์ของคุณจะประสานเครื่องมือเหล่านี้เข้าด้วยกัน

### เซิร์ฟเวอร์ MCP ทำได้ครบเท่ากับในแอปไหม?

ครอบคลุมวงจรอีเมลมาร์เก็ตติ้ง ทั้งสร้าง ปรับแก้ ส่ง ตั้งเวลา ตั้งระบบอัตโนมัติ แบ่งเซกเมนต์ และวิเคราะห์ รวมถึงการเลือกเวลาส่งที่เหมาะสมที่สุด คุณลงทะเบียนโดเมนได้ แล้วจึงเพิ่มระเบียน DNS ของโดเมนนั้นที่ผู้ให้บริการ DNS ของคุณ การอัปเดตผู้ติดต่อผ่าน CSV ใช้กับผู้ติดต่อที่มีอยู่แล้ว ส่วนผู้ติดต่อใหม่ให้เพิ่มผ่านการนำเข้าในแอป การเชื่อมต่อ หรือขั้นตอนการสมัครใช้งานของคุณ โลโก้แบรนด์และการตั้งค่าโดเมนธุรกรรมให้จัดการใน Brew และการเชื่อมต่อระดับองค์กรยังช่วยให้ผู้ดูแลดึงข้อมูลแบรนด์ใหม่จากเว็บไซต์ของแบรนด์นั้นได้ด้วย

ดูข้อมูลเพิ่มเติม: https://brew.new/th/mcp · เอกสาร: https://docs.brew.new/api-reference/mcp/overview
