ESP32MCPServer 标志

ESP32MCPServer

社区
navado

Allow AI models connect to ESP32 and read connected sensors NMEA2k, ODB/ODBII, NMEA0183. AI generated MCP server.

发布者navado
代码仓库ESP32MCPServer
语言C++
复刻数
17
星标数
60
可用工具
0
传输类型stdio
许可协议MIT
链接
  • 将工具接入 AI 工作流

    ESP32MCPServer 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 60 个 Star 和 17 个 Fork。

ESP32 MCP Server

Build & Test

A Model Context Protocol (MCP) server running on ESP32 (and Nordic nRF52840 in sensor-only mode), exposing real-world sensor data and bus protocols to AI assistants and automation tooling over WebSocket / JSON-RPC 2.0.

Connect an AI agent directly to your hardware: query I2C sensors, parse NMEA 0183 GPS/marine data, decode NMEA 2000 and OBD-II CAN frames, replay bus history — all through a standard MCP interface.

architecture


Features

CapabilityDetails
MCP ProtocolJSON-RPC 2.0 over WebSocket, resource discovery & subscriptions
I2C SensorsAuto-scan + drivers for BME280, MPU6050, ADS1115, SHT31, BH1750, INA219
NMEA 0183GGA, RMC, VTG, GSV, MWV, DBT, DPT, HDG, HDT with XOR checksum validation
NMEA 2000 / CAN29-bit PGNs: position, heading, speed, depth, wind, attitude, water temp
OBD-II / CANStandard 11-bit OBD-II service 01/09 PID decoding (60+ PIDs)
Bus HistoryPersistent ring buffers for CAN, NMEA, NMEA 2000, OBD-II — queryable via MCP
Bus ReadersTime-bounded serial and CAN reads, raw or parsed mode, JSON output
WiFiAP setup UI + STA mode; credentials stored in NVS
DiscoverymDNS (_mcp._tcp) + UDP capability broadcast
MetricsHeap, uptime, RSSI, histogram stats with boot persistence
Multi-boardESP32-S3, ESP32-C3, ESP32, Adafruit HUZZAH32, M5Stack, Nordic nRF52840-DK, Adafruit Feather nRF52840
TestingNative unit tests (Unity), mock I2C / CAN / Serial / LittleFS

Supported Boards

ESP32 Boards — Full MCP Server (WiFi + WebSocket + CAN)

BoardPlatformIO envMCUFlashRAMWiFiBLECANRGB LED
ESP32-S3-DevKitC-1esp32-s3-devkitc-1Xtensa LX7 × 2 @ 240 MHz8 MB512 KB + 8 MB PSRAM✓5.0✓GPIO48
ESP32-DevKitC V4esp32-devkitcXtensa LX6 × 2 @ 240 MHz4 MB520 KB✓4.2✓—
ESP32-C3-DevKitM-1esp32-c3-devkitm-1RISC-V @ 160 MHz4 MB400 KB✓5.0✓GPIO8
Adafruit HUZZAH32adafruit-huzzah32Xtensa LX6 × 2 @ 240 MHz4 MB520 KB✓4.2✓—
M5Stack Core ESP32m5stack-coreXtensa LX6 × 2 @ 240 MHz16 MB520 KB✓4.2✗—

nRF52840 Boards — Sensor Only (I2C + Serial, no WiFi)

BoardPlatformIO envMCUFlashRAMBLE
Nordic nRF52840-DKnrf52840-dkCortex-M4F @ 64 MHz1 MB256 KB5.0 + 802.15.4
Adafruit Feather nRF52840nrf52840-featherCortex-M4F @ 64 MHz1 MB256 KB5.0

nRF52840 targets run a separate main_nrf.cpp entry point: sensors + I2C + Serial output only. No WiFi, no MCP WebSocket, no LittleFS, no bus history. For full MCP-over-WiFi, bridge via an ESP32-C3 in AT-command mode connected to UART1.

Board Feature Matrix

FeatureESP32-S3ESP32 V4ESP32-C3HUZZAH32M5StacknRF52840-DKnRF52840-Feather
WiFi✓✓✓✓✓✗✗
BLE✓✓✓✓✓✓✓
CAN / TWAI✓✓✓✓✗✗✗
I2C✓✓✓✓✓✓✓
UART (ext)✓✓✓✓✓✓✓
LittleFS✓✓✓✓✓✗✗
MCP Server✓✓✓✓✓✗✗
Bus History✓✓✓✓✓✗✗
mDNS / UDP discovery✓✓✓✓✓✗✗

Architecture


Hardware

Pin Assignments (ESP32-S3-DevKitC-1)

GPIOFunctionConnected to
IO8I2C SDAAll I2C sensors
IO9I2C SCLAll I2C sensors
IO16UART1 RXGPS / chart plotter TX
IO17UART1 TXGPS / chart plotter RX (optional)
IO4CAN RXTJA1050 / SN65HVD230 CRXD
IO5CAN TXTJA1050 / SN65HVD230 CTXD

nRF52840-DK Pin Assignments

PinFunction
P0.26 / D6I2C SDA
P0.27 / D7I2C SCL
P0.06 / TXUART1 TX
P0.08 / RXUART1 RX

Bill of Materials

#PartPurpose
1ESP32-S3-DevKitC-1Main MCU
1BME280 breakoutTemperature / Humidity / Pressure
1MPU6050 breakout6-axis IMU (optional)
1TJA1050 or SN65HVD230CAN bus transceiver (optional)
1GPS module (3.3 V UART)NMEA 0183 position/time (optional)
24.7 kΩ resistorsI2C pull-ups
—Breadboard + jumpers

ESP32-S3-DevKitC-1 Wiring

                    ┌──────────────────────────────────────┐
                    │         ESP32-S3-DevKitC-1            │
                    │                                       │
             3V3 ───┤ 3V3                          GND ├─── GND
             GND ───┤ GND                          IO0 ├
                    │                                   │
  I2C SDA ── IO8 ───┤ IO8  ┌──────────┐       IO17 ├─── UART1 TX → GPS
  I2C SCL ── IO9 ───┤ IO9  │  ESP32   │       IO16 ├─── UART1 RX ← GPS
                    │ IO10 │    S3    │       IO15 ├
                    │ IO11 └──────────┘       IO14 ├
                    │ IO12                    IO13 ├
                    │ IO3                      IO4 ├─── CAN RX ← TJA1050
                    │ IO46                     IO5 ├─── CAN TX → TJA1050
                    │                               │
                    │    USB (flash / serial log)   │
                    └───────────────────────────────┘

I2C Sensor Wiring

All sensors share one bus. Add 4.7 kΩ pull-ups from SDA and SCL to 3V3.

ESP32-S3      BME280       MPU6050      ADS1115      INA219
─────────     ───────      ───────      ───────      ───────
IO8 (SDA)─────SDA──────────SDA──────────SDA──────────SDA
IO9 (SCL)─────SCL──────────SCL──────────SCL──────────SCL
3V3  ──────────VCC──────────VCC──────────VCC──────────VCC
GND  ──────────GND──────────GND──────────GND──────────GND
               SDO→GND      AD0→GND      ADDR→GND
               (0x76)       (0x68)       (0x48)       (0x40)

Other supported sensors (same bus wiring): SHT31 (0x44), BH1750 (0x23).

NMEA 0183 Wiring (GPS / Chart Plotter)

GPS / chart plotter              ESP32-S3
───────────────────              ────────
TX  (3.3 V TTL NMEA out) ─────── IO16 (UART1 RX)
RX  (optional NMEA in)   ─────── IO17 (UART1 TX)
GND                      ─────── GND
VCC (3.3 V)              ─────── 3V3

If the device outputs RS-232 levels, use a MAX3232 level shifter. Never connect RS-232 directly to ESP32 GPIO.

CAN Bus Wiring (NMEA 2000 / OBD-II)

TJA1050 / SN65HVD230             ESP32-S3
────────────────────             ────────
CTXD                  ─────────── IO5 (CAN TX)
CRXD                  ─────────── IO4 (CAN RX)
VCC (5 V for TJA1050) ─────────── VIN / external 5 V
GND                   ─────────── GND
CANH ──────────────── NMEA 2000 backbone / OBD-II CANH
CANL ──────────────── NMEA 2000 backbone / OBD-II CANL

NMEA 2000 runs at 250 kbps. OBD-II runs at 500 kbps. Set the baud rate in your CANBusReader configuration accordingly.


Software Prerequisites

  • PlatformIO Core CLI or the PlatformIO IDE plugin for VS Code
  • Python 3.8+
  • Git
bash
pip install platformio

Build & Flash

bash
# 1. Clone
git clone https://github.com/navado/ESP32MCPServer.git
cd ESP32MCPServer

# 2. Install library dependencies
pio pkg install

# 3. Upload web assets to LittleFS (optional but recommended)
pio run -t uploadfs -e esp32-s3-devkitc-1

# 4. Build firmware
pio run -e esp32-s3-devkitc-1

# 5. Flash
pio run -t upload -e esp32-s3-devkitc-1

# 6. Monitor
pio device monitor --baud 115200

nRF52840

bash
pio run -e nrf52840-dk
pio run -t upload -e nrf52840-dk

First Run

  1. Power on the board. It broadcasts a WiFi AP: ESP32_XXXXXX (last 6 hex digits of the MAC address).
  2. Connect to that AP and open http://192.168.4.1.
  3. Enter your WiFi credentials and click Save.
  4. The board joins your network and prints its IP address on the serial console.
  5. Connect an MCP client to ws://<IP>:9000.

Web Dashboard

A browser-based dashboard is served from flash at http://<IP>/app.

TabWhat it does
SensorsScan I²C bus, display detected devices, read values, auto-refresh
MetricsList all metrics, live values, sparkline history chart
LogsQuery and clear metric log entries
MCP ConsoleInteractive JSON-RPC console with preset requests and live message log

HTTP Endpoints (port 80)

MethodPathDescription
GET/WiFi setup page
POST/saveSave WiFi credentials (ssid, password form params)
GET/statusNetwork status JSON
WS/wsReal-time network status WebSocket
GET/appBrowser dashboard
GET/bus-historyRead bus history config JSON
POST/bus-historyUpdate bus history config JSON

MCP API Reference (WebSocket port 9000)

All methods use JSON-RPC 2.0 over WebSocket.

Protocol

MethodParamsDescription
initialize—Server info, protocol version, capabilities
resources/list—List registered MCP resources
resources/readuriRead a resource by URI
resources/subscribeuriSubscribe to push updates for a resource
resources/unsubscribeuriCancel a subscription

Sensors

MethodParamsDescription
sensors/i2c/scan—Scan I²C bus; auto-detect and initialise drivers
sensors/readsensorId?Read all channels of one sensor (omit ID to read all)

sensors/i2c/scan

json
{"jsonrpc":"2.0","method":"sensors/i2c/scan","id":1}
json
{
  "jsonrpc":"2.0","id":1,
  "result":{"devices":[
    {"address":118,"name":"BME280","supported":true,"parameters":["temperature","pressure","humidity"]},
    {"address":104,"name":"MPU6050","supported":true,"parameters":["accel_x","accel_y","accel_z","gyro_x","gyro_y","gyro_z","temperature"]}
  ]}
}

sensors/read

json
{"jsonrpc":"2.0","method":"sensors/read","id":2,"params":{"sensorId":"bme280_0x76"}}
json
{
  "jsonrpc":"2.0","id":2,
  "result":{"readings":[
    {"sensorId":"bme280_0x76","parameter":"temperature","value":22.4,"unit":"°C","timestamp":1234567890,"valid":true},
    {"sensorId":"bme280_0x76","parameter":"humidity","value":58.1,"unit":"%RH","timestamp":1234567890,"valid":true},
    {"sensorId":"bme280_0x76","parameter":"pressure","value":101320.0,"unit":"Pa","timestamp":1234567890,"valid":true}
  ]}
}

Bus History

Bus history accumulates CAN frames, NMEA lines, decoded NMEA 2000 messages, and OBD-II records in circular RAM buffers. The buffers are sized from a configurable RAM budget and their configuration is persisted to LittleFS.

MethodParamsDescription
bus/history/readtype, limit?Read accumulated messages from history buffers
bus/history/config/get—Read current buffer sizing configuration
bus/history/config/setconfig fieldsResize buffers and persist configuration

bus/history/read

type must be one of: can, nmea, nmea2000, obdii. limit defaults to all stored entries.

json
{"jsonrpc":"2.0","method":"bus/history/read","id":3,"params":{"type":"can","limit":10}}
json
{
  "jsonrpc":"2.0","id":3,
  "result":{
    "type":"can",
    "frames":["7E8#0441050300000000","7E8#04410D0000000000"],
    "count":2,
    "capacity":500
  }
}
json
{"jsonrpc":"2.0","method":"bus/history/read","id":4,"params":{"type":"nmea2000"}}
json
{
  "jsonrpc":"2.0","id":4,
  "result":{
    "type":"nmea2000",
    "messages":[
      {"pgn":129025,"priority":2,"source":0,"name":"Position Rapid Update",
       "valid":true,"hasPosition":true,"latitude":47.6097,"longitude":-122.3331}
    ],
    "count":1,"capacity":200
  }
}
json
{"jsonrpc":"2.0","method":"bus/history/read","id":5,"params":{"type":"obdii"}}
json
{
  "jsonrpc":"2.0","id":5,
  "result":{
    "type":"obdii",
    "records":[
      {"service":1,"pid":12,"name":"Engine RPM","value":1500,"unit":"rpm","valid":true},
      {"service":1,"pid":13,"name":"Vehicle Speed","value":65,"unit":"km/h","valid":true}
    ],
    "count":2,"capacity":300
  }
}

bus/history/config/get

json
{"jsonrpc":"2.0","method":"bus/history/config/get","id":6}
json
{
  "jsonrpc":"2.0","id":6,
  "result":{
    "canFrameCount":500,
    "nmeaLineCount":1000,
    "nmea2000Count":200,
    "obdiiCount":300,
    "ramBudgetBytes":1048576,
    "safetyMarginBytes":65536,
    "freeHeapBytes":2097152
  }
}

bus/history/config/set

All fields are optional; omitted fields retain their current values.

json
{
  "jsonrpc":"2.0","method":"bus/history/config/set","id":7,
  "params":{"canFrameCount":1000,"ramBudgetBytes":2097152}
}
json
{"jsonrpc":"2.0","id":7,"result":{"ok":true,"canFrameCount":1000,"nmeaLineCount":1000,"nmea2000Count":200,"obdiiCount":300,"ramBudgetBytes":2097152,"safetyMarginBytes":65536}}

Set canFrameCount, nmeaLineCount, nmea2000Count, obdiiCount all to 0 to enable auto-sizing: the server splits ramBudgetBytes equally among the four buffer types based on the size of each record type.

Metrics

MethodParamsDescription
metrics/listcategory?List all registered metrics (name, type, unit, category)
metrics/getnameCurrent value of one metric
metrics/historyname, seconds?Historical samples for one metric (default: last 300 s)

metrics/list

json
{"jsonrpc":"2.0","method":"metrics/list","id":8,"params":{"category":"system"}}
json
{
  "jsonrpc":"2.0","id":8,
  "result":{"metrics":[
    {"name":"system.heap.free","type":"gauge","description":"Free heap","unit":"bytes","category":"system"},
    {"name":"system.uptime","type":"counter","description":"Uptime","unit":"s","category":"system"},
    {"name":"system.wifi.rssi","type":"gauge","description":"WiFi signal strength","unit":"dBm","category":"system"}
  ]}
}

Metric types: counter (cumulative integer), gauge (current value), histogram (min/max/mean/count object).

metrics/get

json
{"jsonrpc":"2.0","method":"metrics/get","id":9,"params":{"name":"system.heap.free"}}
json
{
  "jsonrpc":"2.0","id":9,
  "result":{"name":"system.heap.free","type":"gauge","value":214032,"unit":"bytes","category":"system","timestamp":1234567890}
}

For histogram metrics, value is an object: {"mean":…,"min":…,"max":…,"count":…}.

metrics/history

json
{"jsonrpc":"2.0","method":"metrics/history","id":10,"params":{"name":"system.heap.free","seconds":60}}
json
{
  "jsonrpc":"2.0","id":10,
  "result":{"name":"system.heap.free","entries":[
    {"ts":1234567800,"val":214100},
    {"ts":1234567830,"val":214032}
  ]}
}

Logs

MethodParamsDescription
logs/queryname?, seconds?Query binary metric log (default: last 3600 s)
logs/clear—Delete all log entries from LittleFS
json
{"jsonrpc":"2.0","method":"logs/query","id":11,"params":{"name":"system.heap.free","seconds":120}}
json
{
  "jsonrpc":"2.0","id":11,
  "result":{"name":"system.heap.free","count":4,"entries":[
    {"ts":1234567810,"val":214100},
    {"ts":1234567840,"val":214032}
  ]}
}
json
{"jsonrpc":"2.0","method":"logs/clear","id":12}
json
{"jsonrpc":"2.0","id":12,"result":{"ok":true}}

Subscriptions

json
{"jsonrpc":"2.0","method":"resources/subscribe","id":13,"params":{"uri":"sensor://i2c/bme280_0x76"}}

After subscribing the server pushes unsolicited notifications/resources/updated on every value change:

json
{"jsonrpc":"2.0","method":"notifications/resources/updated","params":{"uri":"sensor://i2c/bme280_0x76"}}

TypeScript client example

See examples/client/client.ts for a complete typed client.


I2C Sensor Reference

SensorAddressesParametersUnits
BME280 / BMP2800x76, 0x77temperature, pressure, humidity¹°C, Pa, %RH
MPU60500x68, 0x69accel_x/y/z, gyro_x/y/z, temperatureg, °/s, °C
ADS11150x48–0x4Bch0_V, ch1_V, ch2_V, ch3_VV (±4.096 range)
SHT310x44, 0x45temperature, humidity°C, %RH
BH17500x23, 0x5Clight_luxlux
INA2190x40–0x4Fbus_voltage_V, shunt_mV, current_mA, power_mWV, mV, mA, mW

¹ humidity is not available on BMP280.


NMEA 0183 Sentences Supported

SentenceDescriptionFields Decoded
GGAGPS Fix Datatime, lat, lon, fix quality, satellites, HDOP, altitude, geoid separation
RMCRecommended Minimum Navigationtime, active, lat, lon, speed (kn & km/h), course, magnetic variation
VTGTrack Made Good / Ground Speedcourse (true & magnetic), speed (kn & km/h)
GSVSatellites in Viewtotal satellites, per-satellite PRN, elevation, azimuth, SNR
MWVWind Speed and Angleangle, relative/true, speed, unit (K/M/N)
DBTDepth Below Transducerdepth (feet / metres / fathoms)
DPTDepth of Waterdepth (metres)
HDGHeading – Deviation & Variationheading, deviation, variation (E/W)
HDTHeading – Trueheading (true north)

Parsing features: XOR checksum validation, DDMM.MMMM → signed decimal degrees, HHMMSS.SS time, talker ID extraction, graceful empty-field handling.


NMEA 2000 PGNs Supported

PGNNameKey Fields
127250Vessel Headingheading, variation
127257Attitudepitch, roll, yaw
128259Speed Through WaterspeedKnots
128267Water DepthdepthMetres, offset
129025Position Rapid Updatelatitude, longitude
129026COG & SOGcourseOverGround, speedOverGround
130306Wind DataspeedKnots, angle, apparent/true flag
130310Water TemperaturetempCelsius

OBD-II PIDs Supported (Service 01)

Selected PIDs decoded; full list in src/CANParser.cpp:

CategoryPIDs
EngineRPM, load, coolant temp, intake air temp, MAP, MAF, timing advance
FuelFuel pressure, trim (short/long), rail pressure, injection timing, fuel rate
EmissionsO2 sensor voltages, EGR, evap system, DPF pressure
MotionVehicle speed, throttle position, accelerator pedal position
TemperatureOil temp, intake air temp, EGR temp, engine exhaust gas temps (EGT)
ElectricalControl module voltage, battery voltage
HybridHybrid battery remaining life
TorqueDriver demand, actual torque, reference torque
Vehicle infoVIN, calibration IDs (service 09)

Discovery

On network connect the server registers two mDNS services and periodically sends a UDP capability beacon:

DiscoveryDetails
mDNS_mcp._tcp and _http._tcp with TXT records: version, capabilities, detected sensors
UDP broadcastJSON beacon to 255.255.255.255:5354 every 30 s (configurable); includes sensor manifest

mDNS and UDP are triggered automatically on network join, I2C scan completion, MCP server ready, and bus history config changes.


Testing

Tests compile and run natively on Linux — no hardware required.

bash
# All tests
pio test -e native

# Specific suites
pio test -e native -f test_nmea_parser
pio test -e native -f test_can_parser
pio test -e native -f test_i2c_sensors
pio test -e native -f test_bus_reader
pio test -e native -f test_mcp_server
pio test -e native -f test_metrics_system

# With coverage (requires lcov)
pio test -e native --coverage
SuiteWhat is covered
test_nmea_parserGGA, RMC, VTG, GSV, MWV, DBT, DPT, HDG, HDT, checksum validation
test_can_parserOBD-II PIDs, NMEA 2000 PGNs 127250/127257/128259/128267/129025/129026/130306/130310
test_i2c_sensorsBME280, MPU6050, ADS1115, SHT31, BH1750, INA219 via mock I2C
test_bus_readerTimed reads, raw/parsed modes, timeout handling
test_mcp_serverJSON-RPC dispatch, resource management, method registration
test_metrics_systemCounters, gauges, histograms, LittleFS persistence

Extending with Custom MCP Methods

Register additional JSON-RPC handlers at runtime:

cpp
mcpServer.registerMethodHandler("myns/doSomething",
    [](uint8_t clientId, uint32_t reqId, const JsonObject& params) {
        StaticJsonDocument<256> doc;
        doc["result"]["ok"] = true;
        std::string out;
        serializeJson(doc, out);
        return out;
    });

// Remove when no longer needed
mcpServer.unregisterMethodHandler("myns/doSomething");

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/my-feature
  3. Add tests for new functionality (pio test -e native must pass)
  4. Open a pull request

See CONTRIBUTING.md for coding style and guidelines.


License

MIT — see LICENSE.

将 ESP32MCPServer MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 ESP32MCPServer 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 ESP32MCPServer 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 ESP32MCPServer MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "esp32mcpserver": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 ESP32MCPServer MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 ESP32MCPServer MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 ESP32MCPServer 帮我完成这项任务吗?
ESP32MCPServer
当然。我已阅读。
以下是我使用 ESP32MCPServer 得到的结果。

常见问题

ESP32MCPServer MCP 服务器有什么用途?

ESP32MCPServer 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 ESP32MCPServer MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 ESP32MCPServer,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 ESP32MCPServer MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 ESP32MCPServer 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 ESP32MCPServer MCP 连接到 TypingMind?

ESP32MCPServer 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

ESP32MCPServer MCP 在 TypingMind 中提供哪些工具?

ESP32MCPServer 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 ESP32MCPServer MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 ESP32MCPServer 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇