2026-05-22 08:24:17 +02:00
2026-05-22 08:24:17 +02:00
2026-05-21 23:47:36 +02:00
2026-05-21 23:47:36 +02:00
2026-05-21 23:47:36 +02:00
2026-05-22 01:23:00 +02:00
2026-05-22 00:52:40 +02:00
2026-05-21 23:47:36 +02:00

Folyo Server

The Folyo server lets AI agents control devices or VMs over WebSockets. Devices connect to the server, identify themselves with a device ID, and stay online as execution targets. An AI client can then call the server and ask it to list connected devices or execute shell commands on a specific device. The server acts as the bridge between agent-facing APIs and device-side WebSocket sessions.

Building

Build the binary:

cargo build --release

Build the image:

docker build -t server .

Endpoints

  • GET /connect for device WebSocket connections
    • requires Authorization: Bearer <token>
    • requires X-Device-ID: <device-id>
  • POST /mcp for MCP/JSON-RPC requests
    • typically uses Authorization: Bearer <token>
S
Description
Languages
Rust 98.2%
Dockerfile 1.8%