flespi MCP by usefulapi

Read devices, telemetry, messages and geofences; create and update devices in flespi.

사용해야 할까요

품질 및 안전성

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

발견 사항 (1)

  • LOWTool 'flespi_update_device' description lacks action verbflespi_update_device에서

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

컨텍스트 비용

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

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

설치

원클릭 설치

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

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

원격 엔드포인트

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

할 수 있는 일

도구 목록

도구 (11)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢flespi_get_token_info

Show the flespi token this server uses: its id, customer id, enabled and blocked state, expiry, and access rules. Good first call to check the connection. flespi API: GET /auth/info.

입력 스키마

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢flespi_list_devices(selector, fields, limit, offset)

List devices (trackers and other connected units) with their id, name, protocol, telemetry and configuration. Use selector "all" or a filter such as "protocol_name=teltonika". flespi API: GET /gw/devices/{selector}.

입력 스키마

{
  "type": "object",
  "properties": {
    "selector": {
      "default": "all",
      "description": "flespi selector: \"all\", comma-separated ids (\"12,34\"), or a field filter (\"protocol_name=teltonika\").",
      "type": "string",
      "minLength": 1
    },
    "fields": {
      "description": "Fields to return, e.g. [\"id\",\"name\",\"telemetry\"]. Omit for the default fields.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "limit": {
      "description": "Maximum number of items to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "offset": {
      "description": "Number of items to skip before the first result.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢flespi_get_device_telemetry(selector, telemetry_selector)

Read the latest telemetry values of devices, such as position, speed, fuel or ignition. telemetry_selector "all" returns every parameter. flespi API: GET /gw/devices/{selector}/telemetry/{telemetry_selector}.

입력 스키마

{
  "type": "object",
  "properties": {
    "selector": {
      "default": "all",
      "description": "flespi selector: \"all\", comma-separated ids (\"12,34\"), or a field filter (\"protocol_name=teltonika\").",
      "type": "string",
      "minLength": 1
    },
    "telemetry_selector": {
      "default": "all",
      "description": "Telemetry parameter names, comma-separated, or \"all\".",
      "type": "string",
      "minLength": 1
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢flespi_list_device_messages(selector, count, from, to, fields)

Read the most recent stored messages of devices, optionally between two UNIX timestamps and limited to some fields. flespi API: GET /gw/devices/{selector}/messages with the data filter.

입력 스키마

{
  "type": "object",
  "properties": {
    "selector": {
      "default": "all",
      "description": "flespi selector: \"all\", comma-separated ids (\"12,34\"), or a field filter (\"protocol_name=teltonika\").",
      "type": "string",
      "minLength": 1
    },
    "count": {
      "default": 10,
      "description": "Maximum number of messages (default 10).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "from": {
      "description": "UNIX timestamp, inclusive. Omit for no lower bound.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "to": {
      "description": "UNIX timestamp, inclusive. Omit for no upper bound.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "fields": {
      "description": "Comma-separated message parameters, e.g. \"timestamp,position.latitude,position.longitude\".",
      "type": "string",
      "maxLength": 4096
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢flespi_list_channels(selector, fields, limit, offset)

List channels (data-ingestion endpoints that devices connect to) with their id, name, protocol and status. flespi API: GET /gw/channels/{selector}.

입력 스키마

{
  "type": "object",
  "properties": {
    "selector": {
      "default": "all",
      "description": "flespi selector: \"all\", comma-separated ids (\"12,34\"), or a field filter (\"protocol_name=teltonika\").",
      "type": "string",
      "minLength": 1
    },
    "fields": {
      "description": "Fields to return, e.g. [\"id\",\"name\",\"telemetry\"]. Omit for the default fields.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "limit": {
      "description": "Maximum number of items to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "offset": {
      "description": "Number of items to skip before the first result.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢flespi_list_geofences(selector, fields, limit, offset)

List geofences (geographic zones) with their id, name and shape. flespi API: GET /gw/geofences/{selector}.

입력 스키마

{
  "type": "object",
  "properties": {
    "selector": {
      "default": "all",
      "description": "flespi selector: \"all\", comma-separated ids (\"12,34\"), or a field filter (\"protocol_name=teltonika\").",
      "type": "string",
      "minLength": 1
    },
    "fields": {
      "description": "Fields to return, e.g. [\"id\",\"name\",\"telemetry\"]. Omit for the default fields.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "limit": {
      "description": "Maximum number of items to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "offset": {
      "description": "Number of items to skip before the first result.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢flespi_list_groups(selector, fields, limit, offset)

List device groups used to organize devices and assign them in bulk. flespi API: GET /gw/groups/{selector}.

입력 스키마

{
  "type": "object",
  "properties": {
    "selector": {
      "default": "all",
      "description": "flespi selector: \"all\", comma-separated ids (\"12,34\"), or a field filter (\"protocol_name=teltonika\").",
      "type": "string",
      "minLength": 1
    },
    "fields": {
      "description": "Fields to return, e.g. [\"id\",\"name\",\"telemetry\"]. Omit for the default fields.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "limit": {
      "description": "Maximum number of items to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "offset": {
      "description": "Number of items to skip before the first result.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢flespi_list_calcs(selector, fields, limit, offset)

List calculators (rules that turn device messages into intervals and reports) with their configuration. flespi API: GET /gw/calcs/{selector}.

입력 스키마

{
  "type": "object",
  "properties": {
    "selector": {
      "default": "all",
      "description": "flespi selector: \"all\", comma-separated ids (\"12,34\"), or a field filter (\"protocol_name=teltonika\").",
      "type": "string",
      "minLength": 1
    },
    "fields": {
      "description": "Fields to return, e.g. [\"id\",\"name\",\"telemetry\"]. Omit for the default fields.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "limit": {
      "description": "Maximum number of items to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "offset": {
      "description": "Number of items to skip before the first result.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢flespi_list_streams(selector, fields, limit, offset)

List streams (outgoing data flows that forward device data to other systems) with their id, name and protocol. flespi API: GET /gw/streams/{selector}.

입력 스키마

{
  "type": "object",
  "properties": {
    "selector": {
      "default": "all",
      "description": "flespi selector: \"all\", comma-separated ids (\"12,34\"), or a field filter (\"protocol_name=teltonika\").",
      "type": "string",
      "minLength": 1
    },
    "fields": {
      "description": "Fields to return, e.g. [\"id\",\"name\",\"telemetry\"]. Omit for the default fields.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "limit": {
      "description": "Maximum number of items to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000
    },
    "offset": {
      "description": "Number of items to skip before the first result.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴flespi_create_device(devices)

Create one or more devices. Each object must include device_type_id and configuration, for example {"name":"Van 4","device_type_id":1,"configuration":{"ident":"<IMEI>"}}. Creates new records; it does not change existing devices. flespi API: POST /gw/devices.

입력 스키마

{
  "type": "object",
  "properties": {
    "devices": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      },
      "description": "Device objects to create (flespi device fields)."
    }
  },
  "required": [
    "devices"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴flespi_update_device(selector, properties)

Change the properties of the devices matched by selector, for example {"name":"Van 4 (depot)"}. Only the given fields change. flespi API: PUT /gw/devices/{selector}.

입력 스키마

{
  "type": "object",
  "properties": {
    "selector": {
      "type": "string",
      "minLength": 1,
      "description": "Devices to update: comma-separated ids (\"12,34\") or a filter (\"protocol_name=teltonika\"). \"all\" is refused."
    },
    "properties": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {},
      "description": "Device fields to change."
    }
  },
  "required": [
    "selector",
    "properties"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

커뮤니티

이 서버 평가하기

증거

최근 관측

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