
Blink Camera
io.github.AbhijatSaxenaPublished by GitHub account AbhijatSaxenav0.1.1Updated Oct 25, 2026
Control an Amazon Blink camera and its pan/tilt mount: aim it, read its position, grab a frame.
Overview
Controls an Amazon Blink camera and its pan/tilt mount: read its position, aim it, and grab a frame.
- What you can do
- Check where the camera points, its travel limits, session state and stream URL. Aim at an absolute angle or nudge relative to the current position, waiting for the hardware to confirm. Stop the motors, return to the saved home position, or save the current angle as home. Run a 360-degree overview sweep. Capture a single still frame returned as image content.
- When to use it
- Use it when you have an Amazon Blink camera, especially with the pan/tilt mount, and want an assistant to report where it points, aim it, or grab a still frame. It can also feed the camera stream to OBS as a local webcam source.
- Requirements
- Runs locally as a Python 3.10+ process, installed via uvx or pip. Needs a Blink account with BLINK_USERNAME and BLINK_PASSWORD set as environment variables; if the account uses 2FA, a file named by BLINK_2FA_FILE holding the code. Snapshot needs ffmpeg on PATH or set via BLINK_FFMPEG, and network access to Blink's cloud.
Installation
In SourceWeft
- Open Blink Camera in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
blink-camera-mcp
[blink-camera-mcp]An MCP server for Amazon Blink cameras, including the pan/tilt mount that Blink's own API gives you no way to move.
Install it with uvx blink-camera-mcp. It is listed in the official MCP Registry as
io.github.AbhijatSaxena/blink-camera-mcp.
Give any MCP host — Claude Desktop, an IDE agent, your own client — the ability to see where a camera is pointing, aim it, and look through it.
Why this exists
Blink cameras are cloud devices. There is no local API, no ONVIF, no UVC — video exists only as a short-lived session brokered by Blink's cloud, capped at 300 seconds. Two consequences:
- Anything that wants to use the camera has to hold that session open and refresh it.
- The pan/tilt mount is not a device you can talk to. It has no endpoint of its own: it is driven inside the camera's media session, and its position comes back on the same socket. A client that reads only the video and skips every other message never sees any of that traffic, which is why the mount has looked uncontrollable for years.
This server owns the session (or reuses one), frames it correctly, routes the accessory messages, and exposes the whole thing as MCP tools with closed-loop semantics.
Install
The distribution is blink-camera-mcp; the command it installs is blink-mcp.
You need Python 3.10+, a Blink account, and ffmpeg on PATH for snapshot
(set BLINK_FFMPEG if it lives somewhere unusual).
Configure
Credentials come from the environment, and only the first run needs them:
The token is cached (token material only — a password is never written to disk), so later
runs need no credentials. Cache location defaults to ~/.blink-mcp/state.json; override with
BLINK_STATE_FILE.
If Blink asks for a 2FA code, the server will not prompt you and will not take the code from anywhere but a file:
Write the newest code into that file; it is read once and deleted. This keeps a live credential out of chat logs, shell history and argument lists.
Add it to your MCP host
Hosts that manage their own Python (Claude Desktop, VS Code, LM Studio, …) run uvx as above.
If you installed it into a virtualenv instead, set command to that interpreter and args to
["-m", "blink_mcp", …].
Claude Desktop — one-click
Download blink-camera-mcp-0.1.1.mcpb from the
releases page and open it.
Claude Desktop prompts for your Blink email and password (kept in the OS keychain), and asks for
the 2FA code file only if your account uses verification. The bundle carries no server code of its
own — it depends on this package from PyPI, so it can never drift from the released version.
LM Studio, VS Code, Cursor, Cline and friends
They all read the same JSON as above. Paste it into the host's MCP config — LM Studio: mcp.json;
VS Code: .vscode/mcp.json; Cursor: .cursor/mcp.json. Cline installs it from this README.
Hermes
Hermes' curated catalog is for remote, OAuth-authenticated servers, and this one has to run on a
machine that can reach your camera — so add it as an ordinary stdio server in
~/.hermes/config.yaml:
Restart the session (or /reload-mcp) and the eight tools show up like any other.
Two ways to run it
Standalone (default) — the server owns the camera's live session and publishes the video
to a local TCP port (tcp://127.0.0.1:<port>, or a fixed one with --stream-port 9000). Point
OBS at it as a Media Source if you want the camera as a webcam as well.
Against a bridge — if something else already holds the session:
This matters because Blink allows one live session per camera: a viewer and a controller have to share it or take turns. Running two things that each insist on their own session means one of them loses.
What "closed-loop" means here
The mount reports its angle while it is moving. So pan_tilt does not sleep and hope: it
sends the command and returns only when the hardware reports that its motors stopped at the
requested angle — typically well under a second.
Two deliberate behaviours, because a confident wrong answer is worse than a failure:
- if the mount never confirms, the tool fails rather than returning the last angle it happened to know (a stale position dressed up as success would have an agent announce a move that never happened);
- a command to the angle the camera already holds is a no-op reported as
moved: false— success, not failure.
Privacy and safety
snapshotdecodes a frame of whatever the camera is pointed at. The tool description says so, and tells the agent to use it only when the user asks. Nothing here captures anything on its own.- The server talks to Blink directly, and the token cache holds no password.
- Any bridge control plane is loopback-only by design: it moves a physical camera.
How it was built
The accessory channel is undocumented. It was recovered from the official Android app — dex bytecode and the native library's symbol table — and then verified against hardware:
status is 0x00 idle and 0x10 moving. Angles are single signed bytes.
The same protocol knowledge is being contributed upstream to
blinkpy so every Blink integration benefits, not just
this server. blink_mcp/immi.py is byte-identical to the module submitted there, and switches
to the upstream copy automatically once it ships.
Standing on the shoulders of blinkpy, which implements the Blink cloud API and the IMMI transport.
Limitations
- Verified on a Blink Mini with the pan/tilt mount. Other camera families use a different live transport (WebRTC with JSON-RPC commands rather than this binary channel) and are not supported yet.
- One live session per camera, as above.
- Blink caps a session at 300 s; the server rotates it around 270 s and consumers never notice.
snapshotneedsffmpeg; it decodes one frame from the stream rather than opening a second session.
Tests
The suite is offline and needs no camera. For real hardware:
which logs in, moves the camera out and back, and captures a frame.
License
MIT
Source: README.md at commit 2cd4964
Tools
0Version history
1- v0.1.1LatestSep 26, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts