Low-code programming for IoT.
## Node-RED MCP Server: Flow-Based IoT Programming The **Node-RED MCP Server** integrates Node-RED visual programming into Google Antigravity, enabling AI-assisted flow creation, node management, and IoT workflow automation. ### Why Node-RED MCP? - **Visual Programming**: Build IoT flows with drag-and-drop interface - **Node Library**: Thousands of community nodes for any integration - **Protocol Support**: HTTP, MQTT, WebSocket, and many more - **Dashboard**: Built-in dashboard for IoT visualization - **Flow Sharing**: Import and export flows easily ### Key Features #### 1. Flow Management ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "List all Node-RED flows and their enabled status" }] ) ``` #### 2. Flow Creation ```python # Create flows response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create Node-RED flow to read MQTT sensor data and store in database" }] ) ``` #### 3. Node Installation ```python # Install nodes response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Install Telegram bot node package for notifications" }] ) ``` #### 4. Flow Deployment ```python # Deploy flows response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Deploy updated flows and verify execution" }] ) ``` ### Configuration ```json { "mcpServers": { "nodered": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-nodered"], "env": { "NODERED_URL": "http://localhost:1880", "NODERED_API_KEY": "your-api-key" } } } } ``` ### Use Cases **IoT Integration**: Connect IoT devices and services visually. **Data Processing**: Build data transformation pipelines. **Automation**: Create event-driven automation flows. **Prototyping**: Rapidly prototype IoT solutions. The Node-RED MCP Server brings visual IoT programming into your workflow.
{
"mcpServers": {
"nodered": {}
}
}