ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว

Ble MCP Server

โดย es617รุ่น 0.3.0i★ 19iรันบนเครื่อง
ชื่อใน registryio.github.es617/ble-mcp-server

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ไม่ต้องใส่คีย์
  • หมวด อื่น ๆ
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Let AI agents interact with real BLE hardware — scan, connect, read, write, and subscribe.

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 2/3 · ทำงานบนเครื่องคุณ · ✓ ตรวจคำสั่งแล้ว 14 พ.ย. 2569

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. เปิดไฟล์ตั้งค่าของแอป Claude บนคอม

    SettingsDeveloperEdit Config

  3. วางค่าตั้งนี้แล้วบันทึกไฟล์

    {
      "mcpServers": {
        "ble": {
          "command": "uvx",
          "args": [
            "ble-mcp-server"
          ]
        }
      }
    }
  4. ปิดแอป Claude แล้วเปิดใหม่

  5. ลองเลย

    ใช้ Ble MCP Server บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ Ble MCP Server หรือมีชื่อเครื่องมือของ Ble MCP Server ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • BLE_MCP_ALLOW_WRITES เปิดการเขียนลงคาแรกเตอร์istic BLE (ปิดไว้เป็นค่าเริ่มต้นเพื่อความปลอดภัย)
    ดูต้นฉบับภาษาอังกฤษEnable BLE characteristic writes (off by default for safety)
  • BLE_MCP_WRITE_ALLOWLIST รายการ UUID ที่อนุญาตให้ใช้กับ characteristic ที่เขียนได้ คั่นด้วยเครื่องหมายจุลภาค
    ดูต้นฉบับภาษาอังกฤษComma-separated UUID allowlist for writable characteristics
  • BLE_MCP_PLUGINS นโยบายปลั๊กอิน: 'all' หรือชื่อปลั๊กอินคั่นด้วยเครื่องหมายจุลภาค ไม่ตั้งค่า = ปิดใช้งาน
    ดูต้นฉบับภาษาอังกฤษPlugin policy: 'all' or comma-separated plugin names. Unset = disabled.
  • BLE_MCP_TOOL_SEPARATOR อักขระตัวคั่นชื่อเครื่องมือ (ค่าเริ่มต้นคือ '_') ตั้งเป็น '.' หากไคลเอนต์ของคุณรองรับจุด
    ดูต้นฉบับภาษาอังกฤษTool name separator character (default '_'). Set to '.' if your client supports dots.

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ Ble MCP Server ไม่ได้

Ble MCP Server ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ Ble MCP Server ได้

  • ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
  • ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

ข · ตัวอื่นในหมวด อื่น ๆ ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน

ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  3. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --scope user ble -- uvx ble-mcp-server
  4. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น Ble MCP Server ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  5. ลองเลย

    ใช้ Ble MCP Server บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ Ble MCP Server หรือมีชื่อเครื่องมือของ Ble MCP Server ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • BLE_MCP_ALLOW_WRITES เปิดการเขียนลงคาแรกเตอร์istic BLE (ปิดไว้เป็นค่าเริ่มต้นเพื่อความปลอดภัย)
    ดูต้นฉบับภาษาอังกฤษEnable BLE characteristic writes (off by default for safety)
  • BLE_MCP_WRITE_ALLOWLIST รายการ UUID ที่อนุญาตให้ใช้กับ characteristic ที่เขียนได้ คั่นด้วยเครื่องหมายจุลภาค
    ดูต้นฉบับภาษาอังกฤษComma-separated UUID allowlist for writable characteristics
  • BLE_MCP_PLUGINS นโยบายปลั๊กอิน: 'all' หรือชื่อปลั๊กอินคั่นด้วยเครื่องหมายจุลภาค ไม่ตั้งค่า = ปิดใช้งาน
    ดูต้นฉบับภาษาอังกฤษPlugin policy: 'all' or comma-separated plugin names. Unset = disabled.
  • BLE_MCP_TOOL_SEPARATOR อักขระตัวคั่นชื่อเครื่องมือ (ค่าเริ่มต้นคือ '_') ตั้งเป็น '.' หากไคลเอนต์ของคุณรองรับจุด
    ดูต้นฉบับภาษาอังกฤษTool name separator character (default '_'). Set to '.' if your client supports dots.

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน

ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  3. เปิดแชตของ AI ใน Cursor โหมด Agent

  4. ลองเลย

    ใช้ Ble MCP Server บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ Ble MCP Server หรือมีชื่อเครื่องมือของ Ble MCP Server ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • BLE_MCP_ALLOW_WRITES เปิดการเขียนลงคาแรกเตอร์istic BLE (ปิดไว้เป็นค่าเริ่มต้นเพื่อความปลอดภัย)
    ดูต้นฉบับภาษาอังกฤษEnable BLE characteristic writes (off by default for safety)
  • BLE_MCP_WRITE_ALLOWLIST รายการ UUID ที่อนุญาตให้ใช้กับ characteristic ที่เขียนได้ คั่นด้วยเครื่องหมายจุลภาค
    ดูต้นฉบับภาษาอังกฤษComma-separated UUID allowlist for writable characteristics
  • BLE_MCP_PLUGINS นโยบายปลั๊กอิน: 'all' หรือชื่อปลั๊กอินคั่นด้วยเครื่องหมายจุลภาค ไม่ตั้งค่า = ปิดใช้งาน
    ดูต้นฉบับภาษาอังกฤษPlugin policy: 'all' or comma-separated plugin names. Unset = disabled.
  • BLE_MCP_TOOL_SEPARATOR อักขระตัวคั่นชื่อเครื่องมือ (ค่าเริ่มต้นคือ '_') ตั้งเป็น '.' หากไคลเอนต์ของคุณรองรับจุด
    ดูต้นฉบับภาษาอังกฤษTool name separator character (default '_'). Set to '.' if your client supports dots.

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน

ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  3. เปิดแชตของ AI ใน VS Code โหมด Agent

  4. ลองเลย

    ใช้ Ble MCP Server บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ Ble MCP Server หรือมีชื่อเครื่องมือของ Ble MCP Server ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • BLE_MCP_ALLOW_WRITES เปิดการเขียนลงคาแรกเตอร์istic BLE (ปิดไว้เป็นค่าเริ่มต้นเพื่อความปลอดภัย)
    ดูต้นฉบับภาษาอังกฤษEnable BLE characteristic writes (off by default for safety)
  • BLE_MCP_WRITE_ALLOWLIST รายการ UUID ที่อนุญาตให้ใช้กับ characteristic ที่เขียนได้ คั่นด้วยเครื่องหมายจุลภาค
    ดูต้นฉบับภาษาอังกฤษComma-separated UUID allowlist for writable characteristics
  • BLE_MCP_PLUGINS นโยบายปลั๊กอิน: 'all' หรือชื่อปลั๊กอินคั่นด้วยเครื่องหมายจุลภาค ไม่ตั้งค่า = ปิดใช้งาน
    ดูต้นฉบับภาษาอังกฤษPlugin policy: 'all' or comma-separated plugin names. Unset = disabled.
  • BLE_MCP_TOOL_SEPARATOR อักขระตัวคั่นชื่อเครื่องมือ (ค่าเริ่มต้นคือ '_') ตั้งเป็น '.' หากไคลเอนต์ของคุณรองรับจุด
    ดูต้นฉบับภาษาอังกฤษTool name separator character (default '_'). Set to '.' if your client supports dots.

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ Ble MCP Server อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ติดตั้งในเครื่อง

Claude Code

claude mcp add --scope user ble -- uvx ble-mcp-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "ble": {
      "command": "uvx",
      "args": [
        "ble-mcp-server"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "ble": {
      "command": "uvx",
      "args": [
        "ble-mcp-server"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "ble": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ble-mcp-server"
      ]
    }
  }
}

ค่าที่ต้องใส่เอง

  • BLE_MCP_ALLOW_WRITES env
    เปิดการเขียนลงคาแรกเตอร์istic BLE (ปิดไว้เป็นค่าเริ่มต้นเพื่อความปลอดภัย)
    ดูต้นฉบับภาษาอังกฤษEnable BLE characteristic writes (off by default for safety)
  • BLE_MCP_WRITE_ALLOWLIST env
    รายการ UUID ที่อนุญาตให้ใช้กับ characteristic ที่เขียนได้ คั่นด้วยเครื่องหมายจุลภาค
    ดูต้นฉบับภาษาอังกฤษComma-separated UUID allowlist for writable characteristics
  • BLE_MCP_PLUGINS env
    นโยบายปลั๊กอิน: 'all' หรือชื่อปลั๊กอินคั่นด้วยเครื่องหมายจุลภาค ไม่ตั้งค่า = ปิดใช้งาน
    ดูต้นฉบับภาษาอังกฤษPlugin policy: 'all' or comma-separated plugin names. Unset = disabled.
  • BLE_MCP_TOOL_SEPARATOR env
    อักขระตัวคั่นชื่อเครื่องมือ (ค่าเริ่มต้นคือ '_') ตั้งเป็น '.' หากไคลเอนต์ของคุณรองรับจุด
    ดูต้นฉบับภาษาอังกฤษTool name separator character (default '_'). Set to '.' if your client supports dots.

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
62/สัปดาห์
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
0.3.0
หมวดi
อื่น ๆ
ส่งเข้า registryi
30 มี.ค. 2569
แก้โค้ดล่าสุดi
30 มี.ค. 2569
ผู้ทำ
es617
แพ็กเกจ
pypi: ble-mcp-server
pypi: ble-mcp-server
pypi: ble-mcp-server
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 14 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub es617 ซึ่งเป็นเจ้าของ repo

  • ! ควรระวัง

    ยังมีคนดูแล

    แก้โค้ดล่าสุด 8 เดือนที่ผ่านมา นานกว่า 6 เดือน

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ MIT

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบด้วย Google เพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 97% ของอีก 19789 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 3% ของอีก 19789 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 45% ของอีก 19789 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

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

Ble MCP Server ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 2 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด 8 เดือนที่ผ่านมา และส่งรุ่นล่าสุด (0.3.0) เข้า registry 8 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี World Monitor, Claude Flow, Windmill

ตัวอื่นในหมวดเดียวกัน

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

World Monitor

ข่าวกรองโลกแบบเรียลไทม์: ความขัดแย้ง ตลาด พลังงาน การค้า การขนส่ง และไซเบอร์

โดย koala73ใช้กันมาก★ 90.6Kอัปเดต วันนี้

รันบนคลาวด์✓ เจ้าของบริการ · worldmonitor.app

Claude Flow

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

โดย ruvnetใช้กันมาก↓ 13.5K/สัปดาห์★ 81.7Kอัปเดต 14 เดือนที่ผ่านมา

รันบนเครื่อง

Windmill

Run Windmill scripts and flows and manage jobs, schedules, resources and variables.

โดย windmill-labsใช้กันมาก★ 18.6Kอัปเดต เมื่อวานซืน

รันบนคลาวด์

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

BLE MCP Server

A stateful Bluetooth Low Energy (BLE) Model Context Protocol (MCP) server for developer tooling and AI agents. Works out of the box with Claude Code, VS Code with Copilot, and any MCP-compatible runtime. Defaults to stdio (no HTTP, no open ports), with optional SSE and Streamable HTTP transports for remote access and multi-session use. Uses bleak for cross-platform BLE on macOS, Windows, and Linux.

Example: Let Claude Code scan for nearby BLE devices, connect to one, read characteristics, and stream notifications from real hardware.

Demo

7-minute video walkthrough — scanning a real BLE device, discovering services, reading values, and promoting flows into plugins.


Why this exists

You have a BLE device. You want an AI agent to talk to it — scan, connect, read sensors, send commands, stream data. This server makes that possible.

It gives any MCP-compatible agent a full set of BLE tools: scanning, connecting, reading, writing, subscribing to notifications — plus protocol specs and device plugins, so the agent can reason about higher-level device behavior instead of just raw UUIDs and bytes.

The agent calls these tools, gets structured JSON back, and reasons about what to do next — no human in the loop for each BLE operation.

What agents can do with it:

  • Develop and debug — connect to your device, explore its services, read characteristics, test commands, and diagnose issues conversationally. "Why is this sensor returning zeros?" becomes a question you can ask.
  • Iterate on new hardware — building a BLE device? Attach a protocol spec so the agent understands your commands and data formats as you evolve them.
  • Automate testing — write device-specific plugins that expose high-level actions (e.g., device.start_stream, device.run_self_test), then let the agent run test sequences: enable a sensor, collect samples, validate values, report results.
  • Explore — point the agent at a device you’ve never seen. It discovers services, probes characteristics, and builds up protocol documentation from scratch.
  • Build BLE automation — agents controlling real hardware for real tasks: reading environmental sensors on a schedule, managing a fleet of BLE beacons, triggering actuators based on conditions.

Who is this for?

  • Embedded engineers — faster iteration on BLE protocols, conversational debugging, automated test sequences
  • Hobbyists and makers — explore BLE devices without writing boilerplate; let the agent help reverse-engineer simple protocols
  • QA and test engineers — build repeatable BLE test suites with plugin tools, run them from CI or agent sessions
  • Support and field engineers — diagnose BLE device issues interactively without specialized tooling
  • Researchers — automate data collection from BLE sensors, explore device capabilities systematically

Quickstart (Claude Code)

pip install ble-mcp-server

Register the MCP server with Claude Code (read-only by default)

claude mcp add ble -- ble_mcp

Then in Claude Code, try:

"Scan for nearby BLE devices and connect to the one whose name starts with Arduino."

The server is read-only by default. Writes and plugins can control real hardware and execute code, and are opt-in via environment variables. See Safety for details.


What the agent can do

Once connected, the agent has full BLE capabilities:

  • Scan for nearby devices, with optional name or service UUID filters
  • Connect to a device and discover its services and characteristics
  • Read and write characteristic values (writes require BLE_MCP_ALLOW_WRITES)
  • Subscribe to notifications and collect streaming data — single events, polling, or batch draining
  • Attach protocol specs to understand device-specific commands and data formats
  • Use plugins for high-level device operations (e.g., sensortag.read_temp) instead of raw reads/writes
  • Create specs and plugins for new devices, building up reusable knowledge across sessions

The agent handles multi-step flows automatically. For example, "read the temperature from my SensorTag" might involve scanning, connecting, discovering services, attaching a spec, enabling the sensor, and reading the value — without you specifying each step.

At a high level:

Raw BLE → Protocol Spec → Plugin

You can start with raw BLE tools, then move up the stack as your device protocol becomes understood and repeatable. See Concepts for how the pieces fit together.


Install (development)

# Editable install from repo root

pip install -e .

Or with uv

uv pip install -e .

MCP is a protocol — this server works with any MCP-compatible client. Below are setup instructions for the most common ones.

Add to Claude Code

# Minimal (read-only)

claude mcp add ble -- ble_mcp

Or run as a module

claude mcp add ble -- python -m ble_mcp_server

Enable writes

claude mcp add ble -e BLE_MCP_ALLOW_WRITES=true -- ble_mcp

Enable writes with an allowlist of characteristic UUIDs

claude mcp add ble \ -e BLE_MCP_ALLOW_WRITES=true \ -e BLE_MCP_WRITE_ALLOWLIST="2a00,12345678-1234-1234-1234-123456789abc" \ -- ble_mcp

Enable all plugins

claude mcp add ble -e BLE_MCP_PLUGINS=all -- ble_mcp

Enable specific plugins only

claude mcp add ble -e BLE_MCP_PLUGINS=sensortag,hello -- ble_mcp

Debug logging

claude mcp add ble -e BLE_MCP_LOG_LEVEL=DEBUG -- ble_mcp

Add to VS Code / Copilot

Add to your project's .vscode/mcp.json (or create it):

{

"servers": { "ble": { "type": "stdio", "command": "ble_mcp", "args": [], "env": { "BLE_MCP_ALLOW_WRITES": "true", "BLE_MCP_PLUGINS": "all" } } } }

Adjust env to match your needs — remove BLE_MCP_ALLOW_WRITES for read-only mode, or set BLE_MCP_PLUGINS to specific plugin names.

Add to Cursor

Add to your project's .cursor/mcp.json (or create it):

{

"mcpServers": { "ble": { "command": "ble_mcp", "args": [], "env": { "BLE_MCP_ALLOW_WRITES": "true", "BLE_MCP_PLUGINS": "all" } } } }

Environment variables

VariableDefaultDescription
BLE_MCP_ALLOW_WRITESdisabledSet to true, 1, or yes to enable ble.write.
BLE_MCP_WRITE_ALLOWLISTemptyComma-separated UUID allowlist for writable characteristics (checked only when writes are enabled).
BLE_MCP_PLUGINSdisabledPlugin policy: all to allow all, or name1,name2 to allow specific plugins. Unset = disabled.
BLE_MCP_LOG_LEVELWARNINGPython log level (DEBUG, INFO, WARNING, ERROR). Logs go to stderr.
BLE_MCP_TRACEenabledJSONL tracing of every tool call. Set to 0, false, or no to disable.
BLE_MCP_TRACE_PAYLOADSdisabledInclude value_b64/value_hex in traced args (stripped by default).
BLE_MCP_TRACE_MAX_BYTES16384Max payload chars before truncation (only applies when TRACE_PAYLOADS is on).
BLE_MCP_TOOL_SEPARATOR_Character used to separate tool name segments. Set to . if your client supports dots in tool names. Default changed to _ because most clients (Cursor, Claude Desktop) reject dots.
BLE_MCP_MAX_SESSIONS1Maximum concurrent MCP sessions (only meaningful for SSE and Streamable HTTP transports).
BLE_MCP_MAX_CONNECTIONS3Maximum active BLE connections per session.
BLE_MCP_MAX_SCANS5Maximum active scans per session.
BLE_MCP_MAX_SUBSCRIPTIONS_PER_CONN10Maximum notification subscriptions per connection.
BLE_MCP_AUTH_TOKENunsetPassword for OAuth approval page on HTTP transports. Required unless --no-auth is used. Ignored for stdio.

Tools

See Concepts for how everything fits together, and the Tools Reference for detailed input/output schemas.

CategoryTools
BLE Coreble_scan_start, ble_scan_get_results, ble_scan_stop, ble_connect, ble_disconnect, ble_connection_status, ble_discover, ble_mtu, ble_read, ble_write, ble_read_descriptor, ble_write_descriptor, ble_subscribe, ble_unsubscribe, ble_wait_notification, ble_poll_notifications, ble_drain_notifications
Introspectionble_connections_list, ble_subscriptions_list, ble_scans_list, ble_tasks_list, ble_tasks_cancel
Protocol Specsble_spec_template, ble_spec_register, ble_spec_list, ble_spec_attach, ble_spec_get, ble_spec_read, ble_spec_search
Tracingble_trace_status, ble_trace_tail
Pluginsble_plugin_template, ble_plugin_list, ble_plugin_reload, ble_plugin_load

Protocol Specs

Specs are markdown files that describe a BLE device's protocol — services, characteristics, commands, and data formats. They live in .ble_mcp/specs/ and teach the agent what a device can do beyond raw UUIDs and bytes.

Without a spec, the agent can still discover services and read characteristics. With a spec, it knows what the values mean and what commands to send.

You can create specs by telling the agent about your device — paste a datasheet, describe the protocol, or just let it explore and document what it finds. The agent generates the spec file, registers it, and references it in future sessions. You can also write specs by hand.

See Concepts for details on spec format and how the agent uses them.


Plugins

Plugins add device-specific shortcut tools to the server. Instead of the agent composing raw read/write sequences, a plugin provides high-level operations like sensortag.read_temp or ota.upload_firmware.

The agent can also create plugins (with your approval). It explores a device, writes a plugin based on what it learns, and future sessions get shortcut tools — no manual coding required.

To enable plugins:

# Enable all plugins

claude mcp add ble -e BLE_MCP_PLUGINS=all -- ble_mcp

Enable specific plugins only

claude mcp add ble -e BLE_MCP_PLUGINS=sensortag,ota -- ble_mcp

Editing an already-loaded plugin only requires ble_plugin_reload — no restart needed.

Background tasks

Plugins can start background asyncio tasks for continuous monitoring — periodic scans, data collection loops, etc. The plugin template includes commented examples for this pattern.

Background tasks are registered with the server via state.register_task(name, task), making them visible to the agent:

  • ble_tasks_list — shows all running background tasks with status
  • ble_tasks_cancel — stops a task by ID (safety net for runaway tasks)
Plugin notifications

Plugins can send MCP log notifications to the client via state.on_log_cb(level, message). This allows plugins

ตัดมาแค่ช่วงต้น อ่านต่อใน repo