{
  "info": {
    "name": "Bolt Iot — mcp.ai",
    "description": "REST API for the Bolt Iot MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/bolt_iot",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "bolt_iot_analog_read",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/analog/read",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "analog",
            "read"
          ]
        },
        "description": "Tool to read the analog value from a specified pin on a Bolt device. Use when you need sensor readings (0–1023) after confirming the device is online.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"pin\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bolt_iot_check_device_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/check/device/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "check",
            "device",
            "status"
          ]
        },
        "description": "Tool to check whether a specified Bolt device is online. Use when you need to verify device connectivity before sending commands (e.g., control signals). Example: 'Check if device BOLT1234567 is onlin",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"deviceID\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bolt_iot_digital_write",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/digital/write",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "digital",
            "write"
          ]
        },
        "description": "Tool to set a digital pin HIGH or LOW on a specified Bolt device. Use when controlling actuators or LEDs via digital output.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"pin\": \"\",\n  \"state\": \"\",\n  \"deviceName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bolt_iot_serial_read",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/serial/read",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "serial",
            "read"
          ]
        },
        "description": "Tool to read incoming serial data from a Bolt device. Use when you've initialized UART with serialBegin and need to retrieve serial data.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"till\": 0,\n  \"deviceName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bolt_iot_serial_write",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/serial/write",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "serial",
            "write"
          ]
        },
        "description": "Tool to send serial data to a Bolt device. Use when you need to transmit ASCII data over UART after initializing UART with serialBegin.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"data\": \"\",\n  \"deviceName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bolt_iot_serial_write_read",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/serial/write/read",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "serial",
            "write",
            "read"
          ]
        },
        "description": "Tool to send serial data and read the response on a Bolt device. Use when you need to transmit ASCII data over UART and capture its reply immediately.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"data\": \"\",\n  \"deviceName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}