Pointer Service
Controls ESPHome laser pointer nodes, moving pan/tilt servos and switching the laser on or off to aim at workshop targets.
Uses Home Assistant's REST API to call ESPHome pointer actions and check pointer entity availability, enabling laser pointing through Home Assistant-managed devices.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Pointer Service
A small service that knows where things are in a workshop and points at them with laser pointers. Any system can ask it to "point at X": a storage system, Home Assistant, a voice agent, a game, or an AI agent over MCP.
Pointers: ESPHome laser pointers (pan/tilt servos + laser). Any number of them.
Targets: a name for a place. A Storage System
location_id(for exampleIVAR-A-H3-P2) or a free name (lodstation).Aims: for each target, one or more (pointer, pan, tilt), in a preferred order.
point_at uses the first online pointer in the target's order. With all: true every
online pointer that has an aim lights the target.
Run
Needs Node.js 24.14 or newer. No dependencies.
cp .env.example .env # POINTER_DRIVER=fake works without hardware
npm run dev # http://localhost:3240
npm run check # syntax, tests, git diff --checkDocker, local build:
docker compose up --buildRelated MCP server: Omega MCP Server
Configuration
Variable | Default | Meaning |
|
| HTTP port. |
|
| SQLite file ( |
|
| Driver for new pointers: |
| empty | When set, |
| empty | Home Assistant URL and long-lived access token for the |
| empty | Storage System Base URL and management key, for the location import. |
Drivers
fake: no hardware. Keeps the last angles in memory. For tests and UI work.
ha: calls the ESPHome actions through the Home Assistant REST API.
haDevice= the ESPHome node name:laser_pointer_01→esphome.laser_pointer_01_point_to(pan,tilt) andesphome.laser_pointer_01_laser_off.haEntity= the entity id prefix:workshop_study_laser_pointer_01→ the online check readsswitch.workshop_study_laser_pointer_01_laser.unavailableorunknownmeans offline. WithouthaEntitythe pointer counts as online.
A direct driver (ESPHome web_server or native API) can be added later behind the same interface
(move, off, status in src/drivers.js).
Teach UI
Open /. Add the pointers in the Pointers panel. Then:
Pick a target (or press Import from Storage System).
Pick a pointer. With Live on, the dot follows the sliders. Arrow keys move it 0.5° (Shift: 2°).
Press Save aim. Order several aims with ↑ ↓.
REST API
Method and path | Body | Does |
| Health and version. No key needed. | |
| Pointers with online status. | |
|
| Add or update a pointer. |
| Delete a pointer and its aims. | |
| Targets with their aims. | |
|
| Add a target. |
| Read or delete one target (URL-encode the name). | |
|
| Save an aim. |
| Delete an aim. | |
|
| Point at a target. 404 unknown, 409 untaught, 503 no pointer reached it. |
|
| Move to angles (0–180, step 0.5) and switch the laser on. |
|
| One laser off, or all. |
| Import every Storage System location as a target. Keeps aims. |
Browsers from another origin are refused, so a web page cannot drive the lasers.
MCP
Streamable HTTP at POST /mcp (JSON answers). Tools: list_targets, list_pointers,
point_at, point_raw, laser_off.
claude mcp add --transport http --scope user pointer-service http://<host>:3240/mcpStorage System link (Home Assistant)
Storage System needs no change. Home Assistant calls point_at when a search has one result:
# configuration.yaml
rest_command:
pointer_point_at:
url: "http://<host>:3240/api/point-at"
method: POST
content_type: application/json
payload: '{"target": "{{ target }}"}'# automation
triggers:
- trigger: event
event_type: storagesystem_result
conditions:
- condition: template
value_template: "{{ trigger.event.data.location_id | default('') != '' }}"
actions:
- action: rest_command.pointer_point_at
data:
target: "{{ trigger.event.data.location_id }}"Deploy (Portainer)
Bump
VERSION, add the entry todocs/HISTORY.md, runnpm run checkand commit.Tag and push:
git tag v<version>andgit push origin main v<version>. GitHub Actions runs the tests, publishesghcr.io/snille/pointer-service:<version>and:latest, and creates the release.In Portainer, create or update the stack from
compose.portainer.yaml. SetHA_URL,HA_TOKENand the other variables in the stack environment.Check
GET /healthz.
Later
Aims for box ids, so a box with its own position wins over its location.
A direct driver (ESPHome web_server REST or native API), if the Docker host can reach the IoT network.
Version
VERSION is the only version source. Every change that bumps it adds an entry to
docs/HISTORY.md in the same commit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Give the physical world an API: cameras become typed endpoints your agent can read and act on.
Exposes FEDLIN's public security scanners as agent-callable tools over Streamable HTTP.
Connect AI agents to discover services and coordinate real-world tasks.
Live index of AI agents, MCP servers and tools with observed liveness and capability search.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to control hardware devices like Arduino, Raspberry Pi, 3D printers, CNC machines, and custom robots via serial ports and HTTP. Provides tools for device discovery, command sending, sensor reading, servo control, G-code execution, and emergency stops with safety features.30 PyPIMIT
- FlicenseNot gradedqualityCmaintenanceEnables autonomous agents and multi-agent frameworks to discover and execute modular, class-based tools over SSE with a standardized response contract.-
- AlicenseAqualityBmaintenanceEnables an AI agent to control one or more remote GPIO agents through a conversation by proxying tool calls to their REST APIs. It supports API-key authentication, LAN discovery, and both stdio and Streamable HTTP transports.18385 npm1MIT
- AlicenseNot gradedqualityBmaintenanceExposes 238 schema-typed tools over streamable-HTTP MCP that let a client drive a Flipper Zero, an AWOK Biscuit (ESP32-C5) and an ESP32 Marauder — scanning, screen mirroring, storage, and other device operations — from natural-language or direct tool calls. Transmit/attack tools stay behind an explicit human confirmation gate.MIT