Ubidots MCP by usefulapi

Read devices, variables, last values and time-series statistics in Ubidots.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
98%
이름 품질
80%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,725토큰 (도구 정의)
~1.6 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 1.35%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "ubidots": {
      "url": "https://ubidots.usefulapi.io/mcp"
    }
  }
}

원격 엔드포인트

https://ubidots.usefulapi.io/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (8)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢ubidots_list_devices(page, page_size)

List the devices in the account with label, name, last activity, tags and variable count. Start here to find a device id or label. Ubidots API: GET /api/v2.0/devices/.

입력 스키마

{
  "type": "object",
  "properties": {
    "page": {
      "description": "Page number for pagination (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Items per page (default 50; variables 200).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_get_device(device)

Get one device by id or ~label: its location properties, active state, organization and variable count. Ubidots API: GET /api/v2.0/devices/{key}/.

입력 스키마

{
  "type": "object",
  "properties": {
    "device": {
      "type": "string",
      "minLength": 1,
      "description": "Device id, or label with a ~ prefix (for example ~my-sensor). From ubidots_list_devices."
    }
  },
  "required": [
    "device"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_get_device_last_values(device)

Get the most recent value of every variable of one device, with timestamps. Good for a current reading. Ubidots API: GET /api/v2.0/devices/{key}/_/values/last.

입력 스키마

{
  "type": "object",
  "properties": {
    "device": {
      "type": "string",
      "minLength": 1,
      "description": "Device id, or label with a ~ prefix (for example ~my-sensor). From ubidots_list_devices."
    }
  },
  "required": [
    "device"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_list_variables(page, page_size)

List variables across all devices with their type, unit, device, last value and last activity. Ubidots API: GET /api/v2.0/variables/.

입력 스키마

{
  "type": "object",
  "properties": {
    "page": {
      "description": "Page number for pagination (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Items per page (default 50; variables 200).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_list_device_variables(device, page, page_size)

List the variables of one device (id or ~label), with type, unit and last activity. Ubidots API: GET /api/v2.0/devices/{key}/variables/.

입력 스키마

{
  "type": "object",
  "properties": {
    "device": {
      "type": "string",
      "minLength": 1,
      "description": "Device id, or label with a ~ prefix (for example ~my-sensor). From ubidots_list_devices."
    },
    "page": {
      "description": "Page number for pagination (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Items per page (default 50; variables 200).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "device"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_get_variable(variable_id)

Get one variable by id: its device, type, unit, expression (for synthetic variables), last value and the link to its values. Ubidots API: GET /api/v2.0/variables/{id}/.

입력 스키마

{
  "type": "object",
  "properties": {
    "variable_id": {
      "type": "string",
      "minLength": 1,
      "description": "Variable id (from ubidots_list_variables or ubidots_list_device_variables)."
    }
  },
  "required": [
    "variable_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_get_data_series(start, end, variables, decimalPlaces, columns, ...)

Read the raw time-series data points of one or more variables between two epoch-millisecond times. Each variable returns its own code, so one variable can fail without failing the rest. Ubidots API: POST /api/v2.0/data/series/ (read only).

입력 스키마

{
  "type": "object",
  "properties": {
    "start": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Time as epoch milliseconds."
    },
    "end": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Time as epoch milliseconds."
    },
    "variables": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "variable": {
            "type": "string",
            "minLength": 1,
            "description": "Variable id, or a variable label with a ~ prefix when device is set."
          },
          "device": {
            "description": "Device id or ~label. Needed when variable is a label.",
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "variable"
        ],
        "description": "One variable to query."
      },
      "description": "Variables to query (minimum 1)."
    },
    "decimalPlaces": {
      "description": "Decimal places for values (0-16).",
      "type": "integer",
      "minimum": 0,
      "maximum": 16
    },
    "columns": {
      "description": "Columns to include per data point.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "timestamp",
          "value",
          "context",
          "created_at"
        ]
      }
    },
    "results_format": {
      "description": "tabular (arrays, default) or object (named keys).",
      "type": "string",
      "enum": [
        "tabular",
        "object"
      ]
    },
    "results_data": {
      "description": "false returns only the variable check, with empty results.",
      "type": "boolean"
    },
    "storage": {
      "description": "Storage tier to query.",
      "type": "string",
      "enum": [
        "hot",
        "cold",
        "auto"
      ]
    }
  },
  "required": [
    "start",
    "end",
    "variables"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_get_data_statistics(start, end, variables, decimalPlaces, aggregations)

Compute aggregate statistics (first, last, min, max, count, sum, mean, std, p25, p50, p75) of one or more variables over a time range. Ubidots API: POST /api/v2.0/data/statistics/ (read only).

입력 스키마

{
  "type": "object",
  "properties": {
    "start": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Time as epoch milliseconds."
    },
    "end": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Time as epoch milliseconds."
    },
    "variables": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "variable": {
            "type": "string",
            "minLength": 1,
            "description": "Variable id, or a variable label with a ~ prefix when device is set."
          },
          "device": {
            "description": "Device id or ~label. Needed when variable is a label.",
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "variable"
        ],
        "description": "One variable to query."
      },
      "description": "Variables to query (minimum 1)."
    },
    "decimalPlaces": {
      "description": "Decimal places for values (0-16).",
      "type": "integer",
      "minimum": 0,
      "maximum": 16
    },
    "aggregations": {
      "description": "Statistics to compute. Omit for all eleven.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "first",
          "last",
          "min",
          "max",
          "count",
          "sum",
          "mean",
          "std",
          "p25",
          "p50",
          "p75"
        ]
      }
    }
  },
  "required": [
    "start",
    "end",
    "variables"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 8개