ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

PetKit

โดย dirkjanfaberรุ่น 0.4.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.dirkjanfaber/mcp-server-petkit

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Unofficial MCP server for PetKit smart feeders: status, feeding history and schedule control.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ
  • ต้องใส่ค่าเหล่านี้: PETKIT_EMAIL, PETKIT_PASSWORD, PETKIT_REGION

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "petkit": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-petkit"
      ],
      "env": {
        "PETKIT_EMAIL": "ใส่ค่าของคุณ",
        "PETKIT_PASSWORD": "ใส่ค่าของคุณ",
        "PETKIT_REGION": "ใส่ค่าของคุณ",
        "PETKIT_TIMEZONE": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add petkit --env PETKIT_EMAIL='ใส่ค่าของคุณ' --env PETKIT_PASSWORD='ใส่ค่าของคุณ' --env PETKIT_REGION='ใส่ค่าของคุณ' --env PETKIT_TIMEZONE='ใส่ค่าของคุณ' -- npx -y mcp-server-petkit

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "petkit": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-petkit"
      ],
      "env": {
        "PETKIT_EMAIL": "ใส่ค่าของคุณ",
        "PETKIT_PASSWORD": "ใส่ค่าของคุณ",
        "PETKIT_REGION": "ใส่ค่าของคุณ",
        "PETKIT_TIMEZONE": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "petkit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-petkit"
      ],
      "env": {
        "PETKIT_EMAIL": "ใส่ค่าของคุณ",
        "PETKIT_PASSWORD": "ใส่ค่าของคุณ",
        "PETKIT_REGION": "ใส่ค่าของคุณ",
        "PETKIT_TIMEZONE": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • PETKIT_EMAIL จำเป็น env
    Email address of your PetKit account
  • PETKIT_PASSWORD ความลับ จำเป็น env
    Password of your PetKit account
  • PETKIT_REGION จำเป็น env
    Region name exactly as shown in the PetKit app (e.g. "Netherlands", "United States")
  • PETKIT_TIMEZONE env
    IANA timezone (e.g. "Europe/Amsterdam"); defaults to the host's timezone

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub dirkjanfaber ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32686 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 74% ของอีก 32686 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32686 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

PetKit ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: PETKIT_EMAIL, PETKIT_PASSWORD, PETKIT_REGION

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.0) เข้า registry 13 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Verbaly

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวานซืน
ติดตั้ง

Verbaly

โดย AronSoto

i18n for coding agents: extract, check and translate an app's text, with drafts a person approves

รันบนเครื่องอัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

mcp-server-petkit

MCP (Model Context Protocol) server for the PetKit cloud API. Exposes feeder status and control for the Fresh Element Solo (device type D4) as MCP tools.

Disclaimer: This project is not affiliated with, endorsed by, or in any way associated with PetKit. It is an independent, community-developed integration created by a happy user of their hardware and software. PetKit and Fresh Element Solo are trademarks of their respective owner. Use of this package is at your own risk. The underlying API is unofficial and reverse-engineered by the community - it may change or break without notice.

Tools

ToolDescription
list_feedersList all Fresh Element Solo feeders and their live state (food/battery/desiccant status, lock/light/sound settings, today's feed totals)
feed_nowDispense food immediately
update_feeder_settingChange a numeric setting (child lock, indicator light, dispense tone, shortage alarm, ...)
skip_scheduled_feedSkip one of today's scheduled meals (d4/removeDailyFeed), leaving the recurring plan untouched
restore_scheduled_feedUndo a skip for today (d4/restoreDailyFeed)
Feed amounts

The D4 only accepts these five portion sizes: 10, 20, 30, 40, 50.

Feed totals are per device, not per cat

list_feeders also returns feedPlanToday: today's scheduled meals from the feeder's weekly plan (d4/device_detail's multiFeedItem), each with its readable time, the feedTime (seconds since midnight) that skip_scheduled_feed takes, the portion amount in feed_now's units, and the meal name.

list_feeders also returns dispenseLogToday (from d4/dailyFeeds): every dispense that completed today, oldest first. dispensedAt is when it really happened in your timezone (dispensedAtUtc in UTC), and feederClock is the time the feeder's own clock showed, so the two differ when that clock is wrong. clockOffsetMinutes sums that up from the latest dispense, rounded to 15 minutes. For example, it's 60 for a feeder that missed the switch to winter time and drops every meal an hour early, and null before the first dispense of the day. PetKit has no endpoint that reads the feeder's clock directly. Power-cycling the feeder made it pick up the new time.

list_feeders' fedToday/fedTodayScheduled/fedTodayExtra/fedTodayPlanned/dispensesToday/feedTimesToday fields reflect what each *physical feeder* dispensed - PetKit has no way to attribute a dispense to a specific cat. If your cats share or steal from each other's bowls, these numbers won't tell you what any one cat actually ate.

Common setting keys
KeyMeaning
manualLockChild lock (0/1)
lightModeIndicator light
feedSoundDispense tone (0/1)
foodWarnShortage alarm (0/1)

Other numeric keys the device reports via list_feeders may also work but are unconfirmed.

Configuration

Set the following environment variables before starting the server:

export PETKIT_EMAIL="your@email.com"

export PETKIT_PASSWORD="yourpassword" export PETKIT_REGION="Netherlands" # must match the exact region name shown in the PetKit app export PETKIT_TIMEZONE="Europe/Amsterdam" # optional, defaults to the host's own timezone

Note: PetKit account passwords are capped at 6-14 characters. A longer password fails login with a generic "incorrect username or password" error indistinguishable from an actually-wrong one - if login fails unexpectedly, check that first.

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{

"mcpServers": { "petkit": { "command": "npx", "args": ["mcp-server-petkit"], "env": { "PETKIT_EMAIL": "your@email.com", "PETKIT_PASSWORD": "yourpassword", "PETKIT_REGION": "Netherlands" } } } }

Remote use: claude.ai connector (HTTP + OAuth)

To use the server from claude.ai and the Claude mobile apps, run it in HTTP mode on an always-on machine and add it as a custom connector. claude.ai connects from the internet, so the server needs a public https:// URL. A Cloudflare Tunnel or Tailscale Funnel gives you one without opening ports on your router (see below).

HTTP mode is single-user: when you connect Claude, the server shows a page asking for your owner passphrase. Anyone who knows it can authorize a client, and anyone with a token can dispense food or change the feeding plan - pick a strong one.

npx mcp-server-petkit --http   # or MCP_TRANSPORT=http
VariableDefault
MCP_PUBLIC_URL(required)The https:// URL claude.ai reaches the server on
MCP_OWNER_PASSWORD(required)Passphrase for authorizing Claude, at least 12 characters
MCP_HOST127.0.0.1Interface to listen on; the Docker image sets 0.0.0.0
MCP_PORT3000
MCP_STATE_FILE~/.mcp-server-petkit/oauth-state.jsonRegistered clients and refresh-token hashes, so Claude stays connected across restarts

plus the PETKIT_* variables from Configuration.

Docker (e.g. on a Raspberry Pi)

Each release publishes ghcr.io/dirkjanfaber/mcp-server-petkit for amd64, arm64 and arm/v7 (32-bit Raspberry Pi OS), tagged with the version and latest. Put the PetKit and MCP_* settings in a .env next to the compose file (chmod 600 .env), and give the server a public URL with one of the two options below.

Private overlay networks such as ZeroTier or plain Tailscale aren't enough on their own: claude.ai connects from Anthropic's servers, not from your devices.

Option 1: Cloudflare Tunnel (needs a domain on Cloudflare)

With a Cloudflare Tunnel alongside the server, no port needs publishing: in the Cloudflare dashboard, go to Zero Trust → Networks → Tunnels, create a Cloudflared tunnel, and point its public hostname at http://petkit-mcp:3000 (service type HTTP). Put the tunnel's token in .env as TUNNEL_TOKEN:

# docker-compose.yml

services: petkit-mcp: image: ghcr.io/dirkjanfaber/mcp-server-petkit:latest # or pin a version, e.g. :0.3.0 restart: unless-stopped env_file: .env # PETKIT_*, MCP_PUBLIC_URL, MCP_OWNER_PASSWORD volumes:

  • petkit-data:/data cloudflared: image: cloudflare/cloudflared:latest command: tunnel run restart: unless-stopped environment: TUNNEL_TOKEN: ${TUNNEL_TOKEN}

volumes: petkit-data:

Don't put Cloudflare Access in front of the hostname: claude.ai can't get past its login page, and the owner passphrase already guards the server.

Option 2: Tailscale Funnel (no domain needed)

Tailscale Funnel gives the Pi a public https:// . .ts.net URL. It runs fine next to ZeroTier or other VPNs.

  1. Install Tailscale on the Pi and log in: curl -fsSL https://tailscale.com/install.sh | sh && sudo tailscale up
  2. In the Tailscale admin console, enable MagicDNS and HTTPS Certificates (under DNS) and allow Funnel for the machine. tailscale funnel offers a link to switch it on when it isn't allowed yet.
  3. Publish the server's port on loopback only, so Funnel is the only way in:
   # docker-compose.yml

services: petkit-mcp: image: ghcr.io/dirkjanfaber/mcp-server-petkit:latest restart: unless-stopped env_file: .env # PETKIT_*, MCP_PUBLIC_URL, MCP_OWNER_PASSWORD ports:

  • "127.0.0.1:3000:3000" volumes:
  • petkit-data:/data volumes: petkit-data:
  1. Start the funnel. The setting persists across reboots: sudo tailscale funnel --bg 3000. tailscale funnel status shows the public URL. Put it in .env as MCP_PUBLIC_URL, then run docker compose up -d.

The URL contains the machine name, so rename the machine first if you want a nicer one. Changing the URL later means updating MCP_PUBLIC_URL and reconnecting Claude.

Either way

Check the public URL before connecting Claude:

curl https://<your public host>/.well-known/oauth-authorization-server

It should return JSON whose issuer matches MCP_PUBLIC_URL. A freshly enabled Funnel can take a minute to start answering.

Update with docker compose pull && docker compose up -d. To build the image yourself instead, replace image: with build: https://github.com/dirkjanfaber/mcp-server-petkit.git.

The server trusts one proxy hop (X-Forwarded-For from the tunnel in front of it) for rate limiting. Don't also publish its port directly to the internet.

Connecting Claude

In claude.ai: Settings → Connectors → Add custom connector, with URL https:// /mcp. Claude registers itself, opens the passphrase page, and once you allow it, the tools show up in claude.ai and the mobile apps.

PetKit allows one session per account. The server's login signs the PetKit app out (and vice versa); it re-logs in on its own when that happens, but expect the app to ask you to log in again whenever the server restarts or its session lapses. Running the stdio server, Node-RED's PetKit nodes, or a second HTTP instance on the same account makes them take turns signing each other out.

References

  • Actively maintained reference client (Python) - https://github.com/Jezza34000/py-petkit-api - source of the confirmed-working client fingerprint and current endpoint constants
  • Sibling Node-RED package with fuller protocol notes - node-red-contrib-petkit's CLAUDE.md
ถาม PopNx