io.github.Texan-NXTassist/nr-mcp
MCP server for Node-RED — safe deploy, optimistic locking, smart search, 13 tools
Versions
1.2.2latestTools 13
nr_delete_nodes Delete one or more nodes by ID. Also cleans up references: removes deleted IDs from group.nodes arrays and from other nodes' wires arrays.
nr_get_flow_summary Quick overview of all Node-RED tabs with node counts and groups.
nr_get_flow Get a single Node-RED tab with all its nodes and groups. Accepts tab name (case-insensitive) or tab ID.
nr_search_nodes Search Node-RED nodes by name, type, or function code content. Searches in: name, type, func, template, action fields.
nr_get_function_code Extract full JavaScript code from a Node-RED function node.
nr_get_node_config Get full node configuration including wires, upstream/downstream connections, and group membership.
nr_get_flow_context Read Node-RED flow context variables. Pass key=null to list all keys, or a specific key to get its value.
nr_safe_deploy Deploy changes to a Node-RED node with optimistic locking. Uses correct GET→POST pattern (never PUT). Preserves tab order.
nr_get_installed_modules List installed Node-RED modules and their node types. Optionally filter by module name or node type containing `query` string. Returns module name, version, and list of node types provided.
nr_inject Trigger an inject node to fire immediately. Use nr_search_nodes to find inject nodes first. The node must be of type 'inject'.
nr_create_nodes Create one or more new nodes/groups in a single deploy. Each node dict must include 'id', 'type', and 'z' (target tab ID). Groups need 'type': 'group'. Config nodes (e.g. ha-entity-config) use 'z': '' for global scope.
nr_install_module Install a new Node-RED module (npm package) from the registry. Use nr_get_installed_modules to check what's already installed first. Installation may take 30-60 seconds.
nr_get_debug_output Read debug output from flow context. Use when a flow has a catch node that stores errors/debug data to flow context. Pass key=null to list all context keys. Trigger flow with nr_inject first, then read this.
Permissions 3
network medium filesystem low env_vars low