↗ mesh-agent-mcp

multi-provider toolset for mesh agents

One safe surface for connected meshes.

Give agents a governed toolkit for meshctl and explicitly configured Meshtastic devices. Providers stay distinct, writes stay explicit, and arbitrary shell access never enters the design.

✓ Read-only by default · Providers are explicit · No arbitrary shell

quick start
$ mesh-agent-mcp --url
http://127.0.0.1:7434
connected to meshctld API

What it does

Useful context, carefully bounded.

One agent surface across multiple mesh providers, with clear ownership and a shared safety model.

01
◌

Observe

Inspect configured radios, node state, packets, retained routes, and connection health without touching the radio directly.

read tools
02
⌁

Follow

Watch provider events for link changes, node updates, packets, messages, and requests without mixing ownership boundaries.

live events
03
⌁

Operate carefully

When explicitly enabled, send text or request node data through validated, rate-limited operations.

disabled by default

How it fits

One agent surface. Clear ownership.

mesh-agent-mcp can use meshctld's control plane or an explicitly configured Meshtastic CLI provider. It never silently opens a second connection to a radio already owned by meshctld.

✦AgentAI · TUI · automation
MCP / stdio
↗mesh-agent-mcpproviders · policy · audit
HTTP / WebSocket
▣Providersmeshctl · Meshtastic
TCP / serial
⌁Meshtastic radiofirmware + channels
LoRa / RF
◉Meshnodes · hops · packets

Control plane stays on your network. LoRa carries mesh traffic between Meshtastic nodes. Direct CLI access is opt-in and must use a separately owned radio.

Safety model

Trust should be visible.

Automation gets a narrow surface. Operators keep the final say over anything that can affect the mesh.

01
Read tools are the default

Observation works immediately after connecting to meshctld.

02
Writes are opt-in

Write tools stay hidden until --allow-write is explicitly supplied.

03
Every write is bounded

Inputs are validated, operations are allowlisted, and writes are rate-limited and audited.

04
meshctld remains the radio boundary

meshctld owns the radio and serves the API. Its token authentication and endpoint validation still apply; this MCP adds a separate default-deny policy for agent writes.

Tool surface

Small enough to understand.

GroupToolsEffect
Observelist_radios · get_radio · get_radio_status · list_channelsread
Mesh statelist_nodes · list_packets · list_routesread
Livewatch_eventsstream
Compatibilitycheck_compatibilityread
Optional writessend_text · request_nodeopt-in

Get started

Running in a minute.

Start meshctld, install the toolset, and point your client at the local API.

Read the full README ↗
01

Install

$ cargo install --git
https://github.com/MunhozThiago/mesh-agent-mcp
02

Connect

$ mesh-agent-mcp --url
http://127.0.0.1:7434
03

Configure writes only when ready

$ MESHCTL_MCP_ALLOW_WRITE=true
mesh-agent-mcp --allow-write
04

Monitor from a terminal

$ meshctl-tui --url
http://127.0.0.1:7434

Read-only by design. Press r to refresh.

Built to be understood

Give agents one safe surface.
Keep every provider accountable.