MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Create and manage CodeQR short links, QR codes, and analytics from any MCP client.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:
https://mcp.codeqr.io/mcpพิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http codeqr https://mcp.codeqr.io/mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"codeqr": {
"url": "https://mcp.codeqr.io/mcp"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"codeqr": {
"type": "http",
"url": "https://mcp.codeqr.io/mcp"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
https://mcp.codeqr.io/mcpชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันโดเมน codeqr.io แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
An MCP server retrieving transcripts of YouTube videos
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Remote MCP server for CodeQR with OAuth 2.0 authentication. Compatible with ChatGPT, OpenAI Agents SDK, Grok (xAI), and any MCP client supporting Streamable HTTP transport.
┌──────────┐ ┌─────────────────────┐ ┌──────────┐
│ ChatGPT │ │ CodeQR MCP Remote │ │ CodeQR │ │ or any │─────▶│ │─────▶│ API │ │ MCP │◀─────│ OAuth 2.0 + MCP │◀─────│ │ │ client │ │ Streamable HTTP │ │ │ └──────────┘ └─────────────────────┘ └──────────┘
/.well-known/oauth-protected-resourcePOST /oauth/registerGET /oauth/authorize shows this server's consent screen — the app's self-declared name, marked unverified unless its exact redirect URI is listed in src/oauth/verified-clients.ts, and the host that redirect URI points at. On approval the user goes to CodeQR, where they log in, choose which project to grant access to, and approve — no API key is ever handled. The callback only completes in the browser that approved.GET /oauth/callback, which trades the code for an access + refresh token pairPOST /mcpThe CodeQR access token lasts 7 days and is renewed transparently. Each renewal gives the session another 120 days, so a connection in use does not expire on a fixed date; an idle one ends 120 days after its last renewal, and none outlives one year from when it was made (the expires_in the client is given).
# Install dependencies
npm install
cp .env.example .env
npm run dev
npm run build npm start
The project is configured for Vercel serverless functions:
# Install Vercel CLI
npm i -g vercel
vercel
The app will be available at https://your-project.vercel.app. All routes are handled by the serverless function at api/server.ts.
OAuth storage: Set Upstash Redis (UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN) so authorization codes, access tokens, and registered clients persist across serverless invocations. If these variables are omitted, the server falls back to an in-memory store (fine for local development only).
docker build -t codeqr-mcp-remote .
docker run -p 3000:3000 -e SERVER_URL=https://mcp.codeqr.io codeqr-mcp-remote
Set environment variables:
SERVER_URL — Your public server URL (e.g., https://mcp.codeqr.io)UPSTASH_REDIS_REST_URL / UPSTASH_REDIS_REST_TOKEN — Recommended for multi-instance or restartsPORT — Port (usually set automatically by the platform)https://mcp.codeqr.io/mcp)from openai import OpenAI
client = OpenAI()
response = client.responses.create( model="gpt-4o", tools=[{ "type": "mcp", "server_label": "codeqr", "server_url": "https://mcp.codeqr.io/mcp", "require_approval": "never", }], input="Create a short link for https://codeqr.io", )
| Tool | Description |
|---|---|
create_link | Create a shortened link |
list_links | List all short links |
get_link_info | Get link details |
update_link | Update a link |
delete_link | Delete a link |
create_qrcode | Create a dynamic QR code encoding a URL, Wi-Fi credentials, a contact card, WhatsApp, email, SMS, a phone number, text or a crypto request |
list_qrcodes | List all QR codes |
update_qrcode | Change where an existing QR code points, without reprinting it |
delete_qrcode | Delete a QR code; printed copies stop resolving |
get_analytics | Query click analytics |
list_domains | List custom domains |
list_tags | List tags |
create_tag | Create a tag |
get_workspace | Read the authorized workspace: name, slug and plan |
Conversion event tools are not offered. track_lead and track_sale need the conversions.write scope, which CodeQR grants to workspace owners only, and requesting it makes CodeQR reject the whole authorization for everyone else. The per-link trackConversion toggle is a links.write field and IS exposed on create_link/update_link (plans that include conversion tracking only).
Smart rules are exposed on create_link/update_link as rules: conditional routing by any of the twelve attributes the API implements, and traffic splitting across 2-4 destinations, which is how an A/B test is expressed — one rule with no condition and a split. Where the workspace doesn't have smart rules enabled, the API rejects the whole call — the create or update fails outright, so no link or QR code is created without the rules it asked for — and the server doesn't forward that rejection as-is: it reports that smart rules aren't enabled on this workspace, with a link to details. src/plan-limit-message.ts recognizes plan wording it knows: a capability gate like this one becomes "isn't enabled on this workspace", a quota becomes "has reached its limit of N …"; anything it doesn't recognize passes through unchanged. Four of the field's invariants cannot be stated in JSON Schema (weights totalling 100, url xor split, the all-or-nothing condition, the unconditional rule coming last), so they are checked in src/smart-rules.ts before the request is sent — which saves a round-trip and answers in a sentence, rather than the serialized error body the SDK surfaces.
The trap worth knowing: value is compared whole and case-insensitively against what the request carries, which for three attributes is narrower than the name suggests. device is the operating system (iOS, Android, Windows, Mac OS, Linux — never mobile), language a two-letter code, referrer a bare domain. A wrong value is not an error anywhere: the API accepts any string and the rule silently never matches.
create_qrcode/update_qrcode also take title and walletPass. title sets the QR code's display title and is printed in large type on the Google/Apple Wallet pass saved from the code (replacing "QR Code"). Within walletPass, name and logo override the workspace name and logo shown on that pass, and barcodeText sets the text shown under the QR code, e.g. a member name or card number; when it is absent, CodeQR sends no text for that line — the title is never repeated there. Custom branding is only available on plans that include it, and never during a trial: a new non-null walletPass is rejected with 403 on any other plan or during a trial, while null (clearing it) is always accepted. Outside those plans, or during a trial, a stored value is ignored when the pass is built, so passes fall back to the workspace name and logo. logo is an https URL: the API downloads it and stores its own copy, so the response returns that copy's URL, not the one sent. barcodeText is 1-40 characters after trimming. On update_qrcode, an object replaces the stored value as a whole (a field left out of it is cleared, not merged) — send name, logo and barcodeText together to keep all three; null clears the override and reverts to the workspace branding, the same way rules: null ends a running smart-rules test.
With MCP_UI_ENABLED=1, hosts that render MCP Apps (ChatGPT, Claude) show a card for the QR code or short link returned by create_qrcode, update_qrcode, create_link, update_link and get_link_info: its image, short link with a copy button, whether it is dynamic, the destination and the scan or click count, plus a button to open it in the CodeQR dashboard and one that asks how many scans or clicks it had.
_meta.ui.resourceUri points at ui://codeqr/item-card.v1.html, served through resources/read (src/widgets/). Each read is logged as mcp.resource_read.structuredContent (an allowlist of fields; hosts show it to the model too) and _meta["io.codeqr/card"] (image and dashboard URLs, for the card only). content is unchanged, for clients without UI.get_analytics gets an analytics card (ui://codeqr/analytics.v1.html): what is counted and for which period, the total, a trend line or the top five rows, and a button to open the analytics in the dashboard. Its 24h / 7d / 30d chips re-run the call from inside the card through the host (tools/call), only when the host says it can, and only with intervals every plan can read.web/item-card/ and web/analytics/, with the bridge to the host in web/shared/. yarn widgets:build bundles them into src/widgets/generated/, which is committed; yarn verify fails when it is stale. To look at them in a browser, run node scripts/build-widgets.mjs --html, serve web/dev/ and open harness.html?fixture=qr&theme=dark&locale=pt-BR&width=375 or harness.html?widget=analytics&fixture=countries&interval=30d.Unset, the tool list, the resource list and every result are what they were.
| Method | Path | Auth | Description |
|---|---|---|---|
| GET | /health | No | Health check |
| GET | /.well-known/oauth-protected-resource | No | OAuth resource metadata (RFC 9728) |
| GET | /.well-known/oauth-authorization-server | No | OAuth server metadata (RFC 8414) |
| POST | /oauth/register | No | Dynamic client registration (RFC 7591) |
| GET | /oauth/authorize | No | Consent screen: which app, and where access is sent |
| POST | /oauth/authorize | No | Consent decision; on approval redirects to CodeQR |
| GET | /oauth/callback | No | Return leg from CodeQR |
| POST | /oauth/token | No | Token exchange |
| POST | /mcp | Bearer | MCP Streamable HTTP endpoint |
src/
├── index.ts # Express app & server startup ├── config.ts # Environment configuration ├── oauth/ │ ├── store.ts # OAuth state: Upstash Redis or in-memory fallback │ └── pkce.ts # PKCE S256 verification ├── middleware/ │ └── auth.ts # Bearer token validation middleware └── routes/ ├── well-known.ts # OAuth discovery metadata endpoints ├── oauth.ts # Authorization & token endpoints └── mcp.ts # MCP tool definitions & handlers
.env.example) for serverless and multi-instance deployments. Without it, the in-memory store is used (single process only).ตัดมาแค่ช่วงต้น อ่านต่อใน repo