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

Tokei Agent

โดย gilesdaweรุ่น 0.3.8i★ –iรันบนเครื่อง
ชื่อใน registryio.github.gilesdawe/tokei-agent

ติดตั้ง

ภาพรวม

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

Control your Tokei (tokei.io) pre-launch and waitlist campaigns from AI agents and the command line.

สามเสาของ PopNx MCP

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

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

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

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: การตลาดและโซเชียล
  • ต้องใส่ค่าเหล่านี้: TOKEI_API_KEY

ติดตั้ง

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

ก่อนติดตั้ง

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

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

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

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

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

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

{
  "mcpServers": {
    "tokei-agent": {
      "command": "npx",
      "args": [
        "-y",
        "tokei-agent"
      ],
      "env": {
        "TOKEI_API_KEY": "ใส่ค่าของคุณ",
        "TOKEI_API_URL": "ใส่ค่าของคุณ"
      }
    }
  }
}

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

claude mcp add tokei-agent --env TOKEI_API_KEY='ใส่ค่าของคุณ' --env TOKEI_API_URL='ใส่ค่าของคุณ' -- npx -y tokei-agent

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

เปิดใน Cursor

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

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

{
  "mcpServers": {
    "tokei-agent": {
      "command": "npx",
      "args": [
        "-y",
        "tokei-agent"
      ],
      "env": {
        "TOKEI_API_KEY": "ใส่ค่าของคุณ",
        "TOKEI_API_URL": "ใส่ค่าของคุณ"
      }
    }
  }
}

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

เปิดใน VS Code

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

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

{
  "servers": {
    "tokei-agent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tokei-agent"
      ],
      "env": {
        "TOKEI_API_KEY": "ใส่ค่าของคุณ",
        "TOKEI_API_URL": "ใส่ค่าของคุณ"
      }
    }
  }
}

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

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

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

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

  • TOKEI_API_KEY ความลับ จำเป็น env
    Tokei API key (starts tokei_k_). Create one at tokei.io -> Dashboard -> Settings -> API Keys. Read-only keys cover every read command; write access is opt-in.
  • TOKEI_API_URL env
    Override the API base URL. Defaults to https://tokei.io; rarely needed.

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

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

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

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

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

  • ✓ ผ่าน

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

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

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

    ยังมีคนดูแล

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

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

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

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

  • – ไม่เกี่ยว

    endpoint ตอบ

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

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

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

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

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

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

เทียบกับตัวอื่นในหมวด การตลาดและโซเชียลi

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

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

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

Tokei Agent ปลอดภัยไหม?

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

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

ต้องใส่ค่าเหล่านี้: TOKEI_API_KEY

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

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

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

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

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

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

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

ในหมวดเดียวกันมี MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

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

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

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

MCP YouTube Transcript

โดย jkawamoto

An MCP server retrieving transcripts of YouTube videos

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

Google Analytics MCP

โดย surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

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

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

รันบนคลาวด์★ 137MITอัปเดต 10 วันที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

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

tokei-agent

Control your Tokei pre-launch and waitlist campaigns from the command line — and from AI agents like Claude Code and OpenClaw. Wraps the Tokei v1 REST API with JSON-only output, zero runtime dependencies.

Install

npm install -g tokei-agent

or run without installing:

npx tokei-agent --help

Requires Node 22.12+.

Claude Code

Install it as a plugin and the tokei-agent skill comes with it — Claude then knows the whole command surface without being told:

/plugin marketplace add gilesdawe/tokei-agent

/plugin install tokei-agent@tokei

Set TOKEI_API_KEY (see Quick start) and you're done. The CLI itself still runs via npx, so there is nothing else to install.

Quick start

  1. Create an API key at tokei.io → Dashboard → Settings → API Keys. Pick read-only unless you need to change things; API access requires an active subscription or lifetime plan.
  1. Export it — the syntax differs by shell:
export TOKEI_API_KEY=tokei_k_...          # bash / zsh
set -x TOKEI_API_KEY tokei_k_...          # fish
$env:TOKEI_API_KEY = "tokei_k_..."        # PowerShell
  1. Try it:
tokei-agent me                       # verify the key, see plan + API usage

tokei-agent pages:list --status active tokei-agent stats # analytics for one page

Every command prints JSON to stdout with a top-level rate_limit object. Exit codes: 0 success, 1 API/network error, 2 usage error (JSON on stderr).

Interactive output (0.3.1+). When stdout is an interactive terminal, the CLI renders a banner and a human-readable summary instead of raw JSON. When stdout is a pipe, a redirect, CI, or the mcp transport, it prints exactly the JSON it always has — so agents, scripts and MCP clients are unaffected. Set TOKEI_OUTPUT=json to force JSON at a terminal too; NO_COLOR disables colour and animation, and TOKEI_NO_ANIM=1 keeps the colour but stops the movement.

Known issue — exit codes on Node 24 / Windows (fixed in 0.3.0). On 0.2.2 and earlier the CLI could print its correct JSON output and then abort during process exit, corrupting the exit code ($LASTEXITCODE read -1073740791 / 0xC0000409 on success and failure alike). On an affected version, judge a run by the JSON on stdout, not by the exit status — or upgrade. (Historical labelling slip: the 0.3.0 tarball misreported --version as 0.2.2; 0.3.1+ reports correctly.)

Commands

Read (any key):

CommandDoes
meVerify the key; account, plan, API usage
pages:listList pages — --status, --mode, --page, --per-page
pages:get One page in full (prizes, reward tiers, public URL)
stats Aggregated analytics
leaderboard Participants ranked by points
referrals:top Top referrers ranked by conversions, plus referral totals
winners:list Selection-run history, newest first, with each run's winners nested
entries:list Signups — filter with --email
surveys:list Survey responses
webhooks:listList webhook subscriptions
templates:listThe platform's named starting points, for pages:clone --template
actions:catalogEvery entry-action type Tokei supports — --type
events:catalogEvery webhook event Tokei's delivery engine understands — --type

Write (needs a read+write key):

CommandDoes
pages:cloneCreate a page by cloning one you own, a named template, or the starter. 20/day cap
media:upload Upload an image or video, get back a public_url for pages:update. ≤4MB per file (video too)
pages:update Update title, description, dates, prizes, reward tiers, appearance (incl. the Custom template: --template simple / --custom-css), media, and entry actions (entry_methods, incl. custom-link rows)
pages:publish Take a page live (needs a future end_date)
pages:unpublish Back to draft — blocks new signups and hides the page from visitors
entries:create Add a signup
webhooks:createSubscribe an HTTPS endpoint (whsec_ secret shown once — save it!)
webhooks:delete Remove a subscription

Write commands take simple fields as flags and full/nested bodies via --data ' ' or --data @file.json (flags win on conflict). Run tokei-agent --help for every flag, or see SKILL.md — the agent-oriented reference bundled in this package, with worked examples and error-handling guidance.

tokei-agent pages:clone --title "Spring Launch Waitlist" --source <promotionId>

tokei-agent pages:update --end-date 2026-09-01T00:00:00Z tokei-agent media:upload ./hero.png tokei-agent pages:update --image-video tokei-agent actions:catalog --type twitter_follow # see what a type accepts tokei-agent pages:update \ --data '{"entry_methods":[{"actionType":"tiktok_follow","label":"Follow us on TikTok","points":3,"config":{"username":"tokei"}}]}'

MCP server

The package doubles as a local MCP server (stdio): every command above becomes an MCP tool (pages_list, pages_update, stats, …) for Claude Code, Claude Desktop, and other MCP clients.

claude mcp add tokei --env TOKEI_API_KEY=tokei_k_... -- npx -y tokei-agent mcp

Or in JSON config:

{

"mcpServers": { "tokei": { "command": "npx", "args": ["-y", "tokei-agent", "mcp"], "env": { "TOKEI_API_KEY": "tokei_k_..." } } } }

Environment

VariableRequiredMeaning
TOKEI_API_KEYYesSent as Authorization: Bearer
TOKEI_API_URLNoBase URL override (default https://tokei.io)

Agents, human in the loop

Tokei is built so agents draft and humans approve: give monitoring agents a read-only key, reserve read+write keys for agents that genuinely need to change things, and set key expiry. New webhook subscriptions created via the API trigger a security notification to the account owner.

Privacy Policy

Full policy: https://tokei.io/privacy

Data collection practices

tokei-agent is a thin client for the Tokei v1 REST API. It collects no data of its own: there is no telemetry, no analytics, no crash reporting, and no phone-home of any kind.

It reads exactly two inputs from your environment — TOKEI_API_KEY and the optional TOKEI_API_URL — plus the arguments you pass on the command line (or the arguments an MCP client passes to a tool call). For media:upload it also reads the bytes of the local file you name.

Usage and storage

Your API key is used solely as an Authorization: Bearer header on requests to your Tokei account. Command arguments become the request path, query string, or JSON body. Nothing is written to disk: the CLI creates no config file, cache, credential store, or log file, and holds nothing after the process exits.

API responses — which can include entrant email addresses, survey answers, and analytics — are printed as JSON to stdout. From that point they are handled by whatever invoked the CLI (your shell, your scripts, or your AI agent and its conversation history). Treat that output as the personal data it is.

Third-party sharing

Nothing is sold or shared with third parties. Data is transmitted only to:

  • Tokei (https://tokei.io, or the host you set in TOKEI_API_URL) — every command, to serve your request against your own account.
  • Tokei's object storage provider — media:upload only. The CLI sends the file to the Tokei API, which stores it with the provider; the CLI never contacts the provider itself. The file becomes a public asset on your promotion page.

The CLI contacts no other host.

Data retention

The CLI retains nothing. Data held in your Tokei account — promotions, entries, survey responses — is retained under the Tokei privacy policy above, and you can request access or deletion there. API keys are created, scoped, expired, and revoked by you at Dashboard → Settings → API Keys; revoking a key immediately stops all access through it.

Contact information

Tokei — https://tokei.io/privacy — support@tokei.io

Docs

  • API reference: https://tokei.io/docs/api
  • OpenAPI spec: https://tokei.io/openapi.json
  • Agent skill reference: SKILL.md

License

MIT

ถาม PopNx