Android Camera MCP
v0.5.0Private LAN-first Android remote camera for AI agents: 15 tools, on-device OCR & controls.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
camera_list
List connected Android camera agents, online status and capabilities. Call this before any capture. Devices without a recent heartbeat are marked offline.
camera_info
Detailed info for a device: per-camera capabilities (zoom range, exposure range, flash, manual focus), active camera, stream, queue, battery/thermal and pending commands.
| Parameter | Type | Description |
|---|---|---|
device_id * | string |
camera_status
Ask the phone for its live state: idle/capturing/streaming, active camera, battery, charging, thermal status and app uptime.
| Parameter | Type | Description |
|---|---|---|
device_id * | string |
camera_capture
Capture a JPEG still, optionally cropped on the phone, and return it. Calls are queued per phone; a capture within ~1.5 s of the previous one waits for the cooldown automatically. Size: the image is downscaled to fit within max_dimension on its long edge (default 1600) and within width x height if given. Aspect ratio is kept and the image is never upscaled. Use max_dimension=0 for the full sensor resolution (large and slow). camera_id: switch to this camera before capturing (see camera_info). flash_mode: off | auto | on (if the c…
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
camera_id | ||
crop_h | ||
crop_w | ||
crop_x | ||
crop_y | ||
exposure_compensation | ||
flash_mode | ||
focus_mode | ||
height | ||
jpeg_quality | integer | |
max_dimension | integer | |
preset | ||
torch | ||
width | ||
zoom_ratio |
camera_preview
Fast low-resolution frame (default 640 px long edge) to check framing before a full capture. Taken from the live camera feed without the still-capture sequence, so it is much faster than camera_capture. max_dimension: 160-1280. crop_*: optional normalized ROI cropped on the phone (same coords as camera_capture) — useful to verify a region before a high-res crop.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
crop_h | ||
crop_w | ||
crop_x | ||
crop_y | ||
jpeg_quality | integer | |
max_dimension | integer |
camera_analyze
On-device scene analysis: OCR, barcodes and exposure/focus hints. Runs entirely on the phone (ML Kit). By default returns structured text only — no JPEG — so it is cheap to call often. text_blocks / barcodes include normalized boxes (x,y,w,h in 0..1) you can pass to camera_capture as crop_* to fetch a high-res ROI. stats.exposure is dark|ok|bright; stats.focus is blurry|soft|sharp. still=true forces a full still instead of a live preview frame. include_image=true also returns the analyzed JPEG (larger payload).
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
barcodes | boolean | |
crop_h | ||
crop_w | ||
crop_x | ||
crop_y | ||
include_image | boolean | |
max_dimension | integer | |
ocr | boolean | |
stats | boolean | |
still | boolean |
camera_stream_start
Start a temporary low-FPS preview stream. Then read frames with camera_stream_frame and end with camera_stream_stop. fps: 0.2-5. max_dimension: 160-1280. duration_s: 5-300 (auto stop). idle_timeout_s: 5-120; the stream stops when no frame is requested for this long. The gateway only keeps the newest frame.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
duration_s | number | |
fps | number | |
idle_timeout_s | number | |
jpeg_quality | integer | |
max_dimension | integer |
camera_stream_frame
Newest frame of the active stream. after_sequence: pass the sequence of the last frame you saw to wait (up to wait_s, max 30) for a newer one. Omit it to get the latest frame immediately.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
after_sequence | ||
wait_s | number |
camera_stream_stop
Stop the preview stream. Safe to call when nothing is streaming.
| Parameter | Type | Description |
|---|---|---|
device_id * | string |
camera_set_zoom
Set the zoom ratio on the active camera. The phone clamps it to the supported range (see zoom_range in camera_info; values below 1.0 are possible on cameras with an ultra-wide range).
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
zoom_ratio * | number |
camera_set_torch
Enable or disable the torch (continuous light) on the active camera.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
enabled * | boolean |
camera_set_flash
Set flash mode for later captures: off | auto | on.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
mode * | string |
camera_set_focus
Set focus mode. continuous: camera keeps focusing on its own (default). auto: run one autofocus scan at the image center now. manual: fixed focus; distance 0.0 = infinity (far) ... 1.0 = closest focus distance. Only works if camera_info shows manual_focus=true for the active camera; otherwise UNSUPPORTED_CONTROL is returned.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
distance | ||
mode | string |
camera_set_exposure
Set exposure compensation in EV steps (range in camera_info), or omit the value to return to 0 (plain auto exposure).
| Parameter | Type | Description |
|---|---|---|
device_id * | string | |
exposure_compensation |
camera_select_lens
Switch the active camera/lens. camera_id must be one listed in camera_info (cameras[].id). Capabilities are refreshed after the switch.
| Parameter | Type | Description |
|---|---|---|
camera_id * | string | |
device_id * | string |