# Mesh API

Mesh API is an off-grid mesh router and AI bridge for Meshtastic and MeshCore LoRa networks that connects LM Studio, Ollama, OpenAI, third-party APIs, and Home Assistant to your mesh, adding custom commands, Twilio. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/2177/mesh-api

## Description

Mesh API is an off-grid mesh router and AI bridge for Meshtastic and MeshCore LoRa networks that connects LM Studio, Ollama, OpenAI, third-party APIs, and Home Assistant to your mesh, adding custom commands, Twilio SMS, Discord channel routing, and GPS emergency alerts.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

62/100 (Good), based on 4 of 5 factors.
- Maintained: 82 (last commit 24 days ago)
- Popular: 45 (187 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Security check: 71 (no serious findings, 4 minor, CI, tests)

## Links

- Official website: https://mesh-api.dev
- Docker Hub: https://hub.docker.com/r/mrtbot/mesh-ai
- GitHub: https://github.com/mr-tbot/mesh-api
- Unraid: https://ca.unraid.net/apps/mesh-api-1dz5rbg0wslzl4?q=MESH-API

## Common questions

### Can MESH-API run with only Meshtastic, only MeshCore, or both networks at the same time?

MESH-API can run with a Meshtastic node, a MeshCore node, or both at the same time. It handles cross-network routing between the connected radios.

### How does MESH-API handle MeshCore BLE pairing and connection troubleshooting?

A configured ble_pin is used through an auto-registered BlueZ pairing agent to pair MeshCore over BLE. If the connection fails, the connection banner shows BLE signal strength, node-seen-in-scan status, and a plain-language hint.

### Does MESH-API include a built-in MCP server for AI tools?

Yes, MESH-API includes a built-in MCP server that exposes it as an agentic backend for AI tools.

### Can MESH-API receive commands from Telegram?

Yes, version 0.7.5 added opt-in commands from Telegram. It also fixed Home Assistant agent_id handling.

---
Source: Our Local Host (https://ourlocalhost.com/app/2177/mesh-api), the self-hosted and open-source app directory.
