Hanwha Vision Camera MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hanwha Vision Camera MCP Server connect to my camera at 192.168.1.100 with username admin and password mypass"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hanwha Vision Camera MCP Server
MCP server for configuring Hanwha Vision (Wisenet) IP cameras. Connects via SUNAPI and exposes 30+ tools for device info, live snapshots, video profiles, image tuning, overlays, OSD, NTP, network, events, security, and storage management.
Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"Hanwha": {
"command": "npx",
"args": ["-y", "@hemla/hanwha-mcp@0.3.1"]
}
}
}Restart Claude Desktop after adding.
Related MCP server: Frigate MCP Server
Usage
Once installed, ask your AI assistant to connect to a camera:
"Connect to my Hanwha camera at 192.168.1.100 with username admin and password mypass"
Then interact naturally:
"Take a snapshot"
"Show me all video profiles"
"Set the title overlay to Building A - Lobby"
"What are the current image settings?"
"Configure NTP to use pool.ntp.org"
"Enable tampering detection with 80% sensitivity"
Tools
Connection
Tool | Description | Parameters |
| Connect to a camera (required first) |
|
Device & Snapshots
Tool | Description | Parameters |
| Model, serial, firmware, video profiles | — |
| Live JPEG snapshot (auto-resized) |
|
Video Profiles
Tool | Description | Parameters |
| List all profiles with encoding, resolution, FPS, bitrate |
|
| Update profile encoding, resolution, FPS, bitrate, codec settings |
|
| Add a new video profile |
|
| Remove a video profile |
|
Image Settings
Tool | Description | Parameters |
| Brightness, sharpness, white balance, exposure, SSDR, flip, IR |
|
| Adjust brightness, sharpness, gamma, saturation |
|
| Image flip and rotation |
|
| IR LED mode |
|
| Focus mode |
|
White Balance & SSDR
Tool | Description | Parameters |
| White balance mode and manual levels |
|
| Set mode and optional manual red/blue levels |
|
| SSDR enable, level, dynamic range |
|
| Configure SSDR |
|
Privacy Mask
Tool | Description | Parameters |
| Privacy mask status and color |
|
| Enable/disable and set color |
|
Overlays & OSD
Tool | Description | Parameters |
| Title and time overlay settings |
|
| Configure title text, time format, font |
|
| List multiline OSD entries |
|
| Add/update OSD entry |
|
| Delete an OSD entry |
|
Date, Time & NTP
Tool | Description | Parameters |
| Time, timezone, DST, NTP config | — |
| Configure NTP servers |
|
| Set time manually (disables NTP) |
|
Event Detection
Tool | Description | Parameters |
| Tampering detection settings |
|
| Configure tampering detection |
|
| Defocus detection settings |
|
| Configure defocus detection |
|
Event Rules
Tool | Description | Parameters |
| List all event rules | — |
| Enable/disable an event rule |
|
Network
Tool | Description | Parameters |
| MAC, link status, DNS | — |
| Full config: IP, gateway, hostname, ports | — |
| Update interface settings |
|
Security & Users
Tool | Description | Parameters |
| List camera users with admin/enabled status | — |
| Create a new user account (fixed slot system, max 10 users) |
|
| Update a user's password or enabled status |
|
| Remove a user account |
|
Storage & Recording
Tool | Description | Parameters |
| Storage enable, overwrite, auto-delete | — |
| Configure storage settings |
|
System
Tool | Description | Parameters |
| System, access, or event logs |
|
| Reboot the camera | — |
All read-only tools are annotated for automatic approval. Write tools are marked as non-destructive and idempotent. Only reboot_camera, remove_osd, remove_video_profile, and remove_user require confirmation.
Compatibility
Works with Hanwha Vision cameras that expose SUNAPI (/stw-cgi/) endpoints, including Wisenet X, P, Q, A, and L series.
Development
git clone https://github.com/hemla-com/hanwha-mcp.git
cd hanwha-mcp
npm install
npm run dev
# Run tests
npm test
# Run with coverage
npm run test:coverageLicense
Copyright (c) 2026 Hemla. Licensed under GPL-3.0.
Derivative works must use the same license and acknowledge Hemla as the original author.
Available Tools
43 toolsadd_video_profileCIdempotent
Add a new video profile.
Inputs: name (required), bitrate (required), frameRate (required), resolution (required), +2 more.
connect_cameraAIdempotent
Connect to a Hanwha Vision IP camera via SUNAPI. Must be called before other tools.
Inputs: host (required), password (required), username (required), port.
create_userBIdempotent
Create a new user account on the camera. Requires a free user slot (camera has a fixed number of slots).
Inputs: password (required), username (required), enabled.
get_datetimeARead-onlyIdempotent
Get current date/time, timezone, DST, and NTP configuration.
Inputs: no named parameters.
get_defocus_detectionCRead-onlyIdempotent
Get defocus detection settings.
Inputs: channel.
get_device_infoCRead-onlyIdempotent
Get device info and video profiles from the connected camera.
Inputs: no named parameters.
get_event_rulesARead-onlyIdempotent
List all event rules with name, source, enabled status, and schedule.
Inputs: no named parameters.
get_image_settingsARead-onlyIdempotent
Get all image settings: brightness, sharpness, white balance, exposure, SSDR, flip, IR LED.
Inputs: channel.
get_logsCRead-onlyIdempotent
Retrieve camera logs.
Inputs: type (required).
get_network_configARead-onlyIdempotent
Get comprehensive network config: IP, gateway, hostname, ports.
Inputs: no named parameters.
get_network_infoBRead-onlyIdempotent
Get network configuration: IP, MAC, DNS.
Inputs: no named parameters.
get_osd_listCRead-onlyIdempotent
List all multiline OSD entries on the camera.
Inputs: channel.
get_overlayBRead-onlyIdempotent
Get overlay settings (title, time, font).
Inputs: channel.
get_privacy_maskBRead-onlyIdempotent
Get privacy mask status and color.
Inputs: channel.
get_snapshotARead-onlyIdempotent
Capture a live JPEG snapshot from the connected camera.
Inputs: channel, profile, maxWidth.
get_ssdrBRead-onlyIdempotent
Get SSDR (Samsung Super Dynamic Range) settings.
Inputs: channel.
get_storage_configARead-onlyIdempotent
Get storage/recording configuration (enable, overwrite, auto-delete).
Inputs: no named parameters.
get_tampering_detectionCRead-onlyIdempotent
Get tampering detection settings.
Inputs: channel.
get_usersARead-onlyIdempotent
List camera users with enabled status. Hanwha cameras have a fixed number of user slots.
Inputs: no named parameters.
get_video_profilesBRead-onlyIdempotent
Get all video profiles with encoding, resolution, FPS, bitrate, and codec settings.
Inputs: channel.
get_white_balanceBRead-onlyIdempotent
Get white balance mode and manual red/blue levels.
Inputs: channel.
reboot_cameraBDestructive
Reboot the connected camera.
Inputs: no named parameters.
remove_osdCDestructive
Remove a multiline OSD entry.
Inputs: index (required), channel.
remove_userBDestructive
Remove a user account from the camera.
Inputs: username (required).
remove_video_profileCDestructive
Remove a video profile.
Inputs: profile (required), channel.
set_datetimeAIdempotent
Manually set camera date and time (disables NTP).
Inputs: day (required), hour (required), year (required), month (required), +2 more.
set_defocus_detectionCIdempotent
Configure defocus detection enable, sensitivity, threshold, duration.
Inputs: enable, channel, duration, sensitivity, +1 more.
set_event_ruleCIdempotent
Enable or disable an event rule.
Inputs: ruleIndex (required), enable.
set_flipCIdempotent
Set image flip and rotation.
Inputs: rotate, channel, verticalFlip, horizontalFlip.
set_focusCIdempotent
Set camera focus mode.
Inputs: mode (required), channel.
set_image_settingsCIdempotent
Adjust image enhancements: brightness, sharpness, gamma, saturation.
Inputs: gamma, channel, sharpness, brightness, +1 more.
set_ir_ledCIdempotent
Set IR LED mode.
Inputs: mode (required), channel.
set_network_configCIdempotent
Update network interface: IPv4 type, address, subnet, gateway, hostname.
Inputs: hostname, ipv4Type, ipv4Address, ipv4Gateway, +1 more.
set_ntpCIdempotent
Configure NTP time synchronization.
Inputs: servers (required).
set_osdBIdempotent
Add or update a multiline OSD entry.
Inputs: index (required), text, enable, channel, +6 more.
set_overlayCIdempotent
Configure overlay: title text, time display, font size.
Inputs: title, channel, fontSize, timeEnable, +5 more.
set_privacy_maskCIdempotent
Enable/disable privacy mask and set color.
Inputs: enable, channel, maskColor.
set_ssdrCIdempotent
Configure SSDR enable/disable, level, and dynamic range.
Inputs: level, enable, channel, dynamicRange.
set_storage_configCIdempotent
Configure storage settings: enable, overwrite, auto-delete.
Inputs: enable, overwrite, autoDeleteDays, autoDeleteEnable.
set_tampering_detectionCIdempotent
Configure tampering detection enable, sensitivity, threshold, duration.
Inputs: enable, channel, duration, thresholdLevel, +2 more.
set_video_profileBIdempotent
Update a video profile's encoding, resolution, FPS, bitrate, or codec settings.
Inputs: profile (required), name, bitrate, channel, +5 more.
set_white_balanceCIdempotent
Set white balance mode and optional manual red/blue levels.
Inputs: mode (required), channel, manualRedLevel, manualBlueLevel.
update_userAIdempotent
Update an existing user's password or enabled status. Internally removes and re-adds the user.
Inputs: username (required), enabled, password.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 43 tools
Many tools form clear get/set pairs for distinct camera settings, but several umbrella tools overlap with more specific ones. get_device_info includes video profiles while get_video_profiles exists separately, get_image_settings overlaps with get_white_balance, get_ssdr, set_flip, and set_ir_led, and get_network_config versus get_network_info is ambiguous.
Tool names consistently use snake_case verb_noun patterns such as get_device_info, set_image_settings, add_video_profile, remove_user, and reboot_camera. Minor awkwardness in get_osd_list does not break the overall convention.
The camera domain legitimately has many settings, but 43 tools is excessive for a well-scoped MCP surface. Many granular get/set pairs could be consolidated into fewer tools with grouped parameters.
The surface covers core camera operations well: connection, snapshots, image/network/video profiles, users, storage, OSD, time, events, logs, and reboot. Gaps remain around PTZ, motion detection, audio, firmware, and creating/deleting event rules rather than only enabling or disabling them.
Maintenance
Related MCP Connectors
Give the physical world an API: cameras become typed endpoints your agent can read and act on.
Ask your security cameras anything and set up alert rules in a sentence. Built into Agent DVR.
Watch cameras and video with AI vision and get alerts in Slack, Discord, Telegram or a webhook.
Access Pollinations models and API capabilities through agent tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides camera and vision tools for AI assistants to list available cameras, capture images from USB cameras, and save frames to disk for use with LLMs.4MIT
- FlicenseAqualityBmaintenanceEnables AI assistants to interact with Frigate NVR security camera systems, supporting camera management, event detection, snapshots, recordings, and system stats via natural language.714-
- AlicenseNot gradedqualityCmaintenanceEnables LLMs to list, inspect, snapshot, and control Scrypted home-automation/NVR devices such as switches, locks, and cameras through natural language.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to query and interact with Extra Low Voltage security hardware such as Hikvision and Dahua cameras and NVRs through typed, read-only-by-default MCP tools for device info, channel enumeration, and JPEG snapshot capture. Translates proprietary ISAPI and CGI protocols into safe, auditable calls that any MCP client can use over stdio.MIT