Skip to main content

note

for now, it just a demo

commands

uv init --package iot-mcp-server cd iot-mcp-server uv add "mcp[cli]" uv add pyjwt uv add requests

uv run mcp install server.py # install to Claude Desktop uv run mcp dev server.py # debug uv run mcp run server.py # run uv run main.py # test main.py without mcp

uv run mcp install server.py --with requests --with pyjwt --env-var BASE_URL=https://iot-api.quectelcn.com --env-var ACCESS_KEY=24b9zq36CtkVFHSiBW9aMeLF --env-var ACCESS_SECRET=6AUSH6PmD22dYjMLonHuiKEp5S83GkQ83epBbDqG

sample prompt

List product from IoTCloud. 请列出我在IoTCloud上的所有产品。

Get the full product definition of the Light1 product. 找到产品Light1的productKey并据此获取它的完整定义。

Get the productKey of product Light1 and use it to list devices of the product.

sample config.json

{
  "globalShortcut": "",
  "mcpServers": {
    "iot-mcp-server": {
      "command": "C:\\Users\\gatem\\.local\\bin\\uv.EXE",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "--with",
        "pyjwt",
        "--with",
        "requests",
        "mcp",
        "run",
        "C:\\Users\\gatem\\app\\mcp-server-demowin\\server.py"
      ],
      "env": {
        "BASE_URL": "https://iot-api.quectelcn.com",
        "ACCESS_KEY": "24b9zq36CtkVFHSiBW9aMeLF",
        "ACCESS_SECRET": "6AUSH6PmD22dYjMLonHuiKEp5S83GkQ83epBbDqG"
      }
    }
  }
}
{
  "globalShortcut": "",
  "mcpServers": {
    "iot-mcp-server": {
      "command": "C:\\Users\\gatem\\.local\\bin\\uvx.EXE",
      "args": [
        "iot-mcp-server"
      ],
      "env": {
        "BASE_URL": "https://iot-api.quectelcn.com",
        "ACCESS_KEY": "24b9zq36CtkVFHSiBW9aMeLF",
        "ACCESS_SECRET": "6AUSH6PmD22dYjMLonHuiKEp5S83GkQ83epBbDqG"
      }
    }
  }
}

Metadata

Release files for iot-mcp-server 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iot-mcp-server 0.3.1
File Size Uploaded
iot_mcp_server-0.3.1.tar.gz 17.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iot-mcp-server 0.3.1
File Interpreter ABI Platform
iot_mcp_server-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 23.0 kB

Release files / iot_mcp_server-0.3.1.tar.gz

Download URL iot_mcp_server-0.3.1.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
76c1de6c1a1b6644fda56a1cf33dc6dcf12b31b3d8afa6b217c30ade868f67ca
BLAKE2b-256 checksum
How to use checksums
544a7d38d73973aed922b7a09239d928bdcc6c923403c137c6175e188483479f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release files / iot_mcp_server-0.3.1-py3-none-any.whl

Download URL iot_mcp_server-0.3.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cff49ea01c087f167fe30dbfc6508042f72211db57955dad82150347d38110f
BLAKE2b-256 checksum
How to use checksums
5a483f1a8235d8e166712b020a47951795a6dec1ee75a9d7d9612ae82524681c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page