uc-remote-mcp
Allows configuration of entities provided by Home Assistant integration on the Unfolded Circle Remote, enabling control of Home Assistant entities through the remote's interface.
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., "@uc-remote-mcp list all activities on the remote"
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.
Unfolded Circle Remote MCP
An independent Model Context Protocol server for reading and configuring an Unfolded Circle Remote Two or Remote 3 through the official Core REST API.
The server exposes activities, touchscreen pages, profiles, integration entities, physical-button mappings, and a generic Core API request tool to MCP clients such as GitHub Copilot CLI.
This server uses an admin API key and includes write, replacement, delete, and unrestricted request tools. A mistaken tool call can change or remove remote configuration. Back up important setups and test with thecore simulator first.
Requirements
Python 3.10 or newer
uvfor the examples belowAn Unfolded Circle Remote or core simulator reachable from the MCP host
An admin API key for authenticated endpoints
Related MCP server: WHOOP MCP Server
Run directly from GitHub
UC_REMOTE_URL=http://192.168.1.50 \
UC_API_KEY=replace-me \
uvx --from git+https://github.com/msvinth/uc-remote-mcp uc-remote-mcpFor a local checkout:
uv run uc-remote-mcpThe server uses stdio transport. Configure environment variables in the MCP
client rather than expecting the server to read a .env file automatically.
Create an API key
On the remote, generate a web-configurator PIN from the profile/settings view. Then run the helper from a clone:
./scripts/setup-api-key.sh 192.168.1.50The PIN is read from a hidden prompt instead of a command-line argument. The new key is printed once; store it securely.
MCP client configuration
Add this entry under mcpServers:
{
"mcpServers": {
"unfolded-circle": {
"type": "local",
"command": "uvx",
"args": [
"--python",
"3.12",
"--from",
"git+https://github.com/msvinth/uc-remote-mcp",
"uc-remote-mcp"
],
"env": {
"UC_REMOTE_URL": "http://192.168.1.50",
"UC_API_KEY": "replace-me"
},
"tools": ["*"]
}
}
}Keep the configuration file private because it contains the API key.
Home Assistant Copilot Terminal
The Copilot Terminal app in
/Users/msvinth/private/home-assistant-apps/copilot-terminal already includes
uvx, uses Python 3.12 for MCP servers, starts in /config, and persists
Copilot data at /data/home/.copilot/.
Its MCP config is:
/data/home/.copilot/mcp-config.jsonRetain the existing home-assistant entry and add unfolded-circle beside it:
{
"mcpServers": {
"home-assistant": {
"type": "local",
"command": "uvx",
"args": [
"--index-strategy",
"unsafe-best-match",
"--python",
"3.12",
"ha-mcp"
],
"env": {
"HOMEASSISTANT_URL": "http://supervisor/core",
"HOMEASSISTANT_TOKEN": "provided-by-the-app"
},
"tools": ["*"]
},
"unfolded-circle": {
"type": "local",
"command": "uvx",
"args": [
"--python",
"3.12",
"--from",
"git+https://github.com/msvinth/uc-remote-mcp",
"uc-remote-mcp"
],
"env": {
"UC_REMOTE_URL": "http://192.168.1.50",
"UC_API_KEY": "replace-me"
},
"tools": ["*"]
}
}
}The current Copilot Terminal setup-ha-mcp.sh regenerates this file at app
startup with only the Home Assistant entry. A manual merge can therefore be
overwritten on restart. Persistent automatic registration should be added
later as an optional feature in that sibling project; this repository does not
modify the app.
Configuration
Variable | Required | Description |
| Yes | Remote origin only, such as |
| For authenticated tools | Admin API key created by the remote. |
| No | Positive request timeout in seconds; defaults to |
Tools
Discovery and escape hatch: uc_ping, uc_ui_reference, uc_request,
get_screen_layout.
Entities: list_entities, get_entity.
Integrations: list_integration_instances, list_available_entities,
configure_entities.
Activities: list_activities, get_activity,
get_activity_ui_pages, get_activity_ui_page,
create_activity_ui_page, update_activity_ui_page,
delete_activity_ui_page, reorder_activity_ui_pages,
get_activity_buttons.
Profiles and groups: list_profiles, get_profile,
get_profile_pages, get_profile_page, update_profile_page,
get_profile_groups, list_activity_groups.
There are 25 tools in total. uc_request can call any Core REST API endpoint
available to the configured key.
Suggested workflow
Call
uc_ping.Inspect the target activity, profile, or page.
Call
uc_ui_referencebefore constructing UI payloads.Make the smallest possible update.
Read the object again to confirm the result.
An entity provided by Home Assistant or another integration must be configured
on the remote before it can be placed on a page. Use
list_integration_instances, list_available_entities, and
configure_entities in that order.
Compatibility
The package targets the current MCP Python SDK v2 and Python 3.10+. Its endpoint coverage was reviewed against Unfolded Circle REST Core API 0.46.x. The Core API is pre-1.0 and may change between firmware releases.
Home Assistant entity support depends on the remote's integration driver: integration-home-assistant.
Development
uv sync
uv run ruff check .
uv run ruff format --check .
uv run pytest
uv buildSee SECURITY.md before reporting credential or command-execution issues.
License and attribution
Original code and documentation in this repository are licensed under the MIT License.
Unfolded Circle API specifications and documentation have their own upstream licenses. This project links to those sources and does not relicense them. Unfolded Circle is a trademark of its respective owner. This community project is not affiliated with or endorsed by Unfolded Circle.
Available Tools
25 toolsconfigure_entitiesB
Configure integration entities so they can be used by the remote.
An empty entity_ids list asks the Core API to configure all available entities for the integration.
Inputs: entity_ids (required), integration_id (required). Returns: result
create_activity_ui_pageC
Append a touchscreen page to an activity.
Inputs: entity_id (required), name, items, grid_width, +1 more. Returns: result
delete_activity_ui_pageB
Permanently delete a touchscreen page from an activity.
Inputs: page_id (required), entity_id (required). Returns: result
get_activityC
Get an activity definition, including UI and button mappings.
Inputs: entity_id (required). Returns: result
get_activity_buttonsC
Get physical-button command mappings for an activity.
Inputs: entity_id (required). Returns: result
get_activity_ui_pageC
Get one touchscreen UI page of an activity.
Inputs: page_id (required), entity_id (required). Returns: result
get_activity_ui_pagesB
List the touchscreen UI pages of an activity.
Inputs: entity_id (required). Returns: result
get_entityC
Get the complete definition of a configured entity.
Inputs: entity_id (required). Returns: result
get_profileC
Get a profile definition.
Inputs: profile_id (required). Returns: result
get_profile_groupsC
List the entity groups of a profile.
Inputs: profile_id (required). Returns: result
get_profile_pageC
Get one home-screen page of a profile.
Inputs: page_id (required), profile_id (required). Returns: result
get_profile_pagesC
List the home-screen pages of a profile.
Inputs: profile_id (required). Returns: result
get_screen_layoutA
Get device screen metadata and the default activity UI grid.
Inputs: no named parameters. Returns: result
list_activitiesA
List activities configured on the remote.
Inputs: no named parameters. Returns: result
list_activity_groupsB
List activity groups configured on the remote.
Inputs: no named parameters. Returns: result
list_available_entitiesC
List entities an integration can provide to the remote.
Entities must be configured with configure_entities before they can be used on activity or profile pages.
Inputs: integration_id (required), limit, query, filter, +2 more. Returns: result
list_entitiesC
List configured entities, optionally filtered by remote entity type.
Inputs: limit, entity_type. Returns: result
list_integration_instancesA
List configured integration instances such as Home Assistant.
Inputs: no named parameters. Returns: result
list_profilesA
List user profiles configured on the remote.
Inputs: no named parameters. Returns: result
reorder_activity_ui_pagesB
Replace an activity's page order with the supplied page IDs.
Inputs: entity_id (required), page_order (required). Returns: result
uc_pingA
Check public connectivity and authenticated access to the remote.
Inputs: no named parameters. Returns: result
uc_requestB
Call any Core REST API endpoint, including destructive admin endpoints.
Args: method: HTTP method such as GET, POST, PATCH, PUT, or DELETE. path: API path without the /api prefix, for example /activities. body: Optional JSON request object. query: Optional query parameters.
Inputs: path (required), method (required), body, query. Returns: result
uc_ui_referenceB
Return concise guidance for safely reading and editing remote UI data.
Inputs: no named parameters. Returns: result
update_activity_ui_pageC
Patch a page; supplied items replace that page's items array.
Inputs: page_id (required), entity_id (required), name, items, +2 more. Returns: result
update_profile_pageC
Patch a profile page; supplied items replace that page's items array.
Inputs: body (required), page_id (required), profile_id (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Each tool targets a distinct resource or action—entities, activities, profiles, integrations, UI pages, buttons—with clear naming. The only potential overlap is the generic uc_request, but its purpose is intentionally broad and does not conflict with the specific tools.
All tools follow a consistent verb_noun pattern in snake_case (e.g., list_activities, configure_entities). The few uc_ prefixed tools (uc_ping, uc_ui_reference, uc_request) are consistently named as general utilities, maintaining overall uniformity.
With 25 tools, the set is slightly larger than the ideal 3-15 range but still appropriate for the domain's complexity. Each tool covers a distinct operation; some could be merged, but overall the count is reasonable.
The set covers core read operations well but misses create/delete for activities, profiles, and integration instances. Update operations are limited to UI pages. The presence of uc_request mitigates some gaps, but the specific tool surface feels incomplete for full CRUD workflows.
Maintenance
Related MCP Connectors
Remote.It hosted MCP: inventory devices, open connections, manage services and run scripts.
Query, browse, and automate OmegaAI workspaces from any MCP client. Streamable HTTP with OAuth 2.0.
Remote MCP for 1,500+ APIs. Vault-managed credentials; OAuth or API key. Search, load, and execute.
An authenticated remote MCP server for user-owned devices and one-shot capability invocation.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceExposes the UniFi Network Integration API as MCP tools, dynamically loaded from JSON manifests, with read-only mode by default.MIT
- AlicenseAqualityDmaintenanceEnables querying WHOOP biometric data (recovery, strain, sleep, workouts, heart rate) from any MCP-compatible AI client, supporting remote and direct modes.16MIT
- FlicenseNot gradedqualityDmaintenanceEnables control of external Home Assistant devices via an MCP control layer and frontend system page.-
- AlicenseNot gradedqualityDmaintenanceEnables control of OBSBOT Tiny-series cameras (gimbal, zoom, focus, AI tracking, snapshots) through MCP tools.1MIT