MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for Google Ads and Meta Ads. Wraps both APIs directly to manage campaigns.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
GOOGLE_ADS_CLIENT_ID, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_DEVELOPER_TOKEN, GOOGLE_ADS_REFRESH_TOKEN, GOOGLE_ADS_CUSTOMER_ID, GOOGLE_ADS_LOGIN_CUSTOMER_ID, META_APP_ID, META_APP_SECRET, META_ACCESS_TOKEN, META_AD_ACCOUNT_IDค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"ads": {
"command": "npx",
"args": [
"-y",
"@gudlab/ads-mcp"
],
"env": {
"GOOGLE_ADS_CLIENT_ID": "ใส่ค่าของคุณ",
"GOOGLE_ADS_CLIENT_SECRET": "ใส่ค่าของคุณ",
"GOOGLE_ADS_DEVELOPER_TOKEN": "ใส่ค่าของคุณ",
"GOOGLE_ADS_REFRESH_TOKEN": "ใส่ค่าของคุณ",
"GOOGLE_ADS_CUSTOMER_ID": "ใส่ค่าของคุณ",
"GOOGLE_ADS_LOGIN_CUSTOMER_ID": "ใส่ค่าของคุณ",
"META_APP_ID": "ใส่ค่าของคุณ",
"META_APP_SECRET": "ใส่ค่าของคุณ",
"META_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"META_AD_ACCOUNT_ID": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add ads --env GOOGLE_ADS_CLIENT_ID='ใส่ค่าของคุณ' --env GOOGLE_ADS_CLIENT_SECRET='ใส่ค่าของคุณ' --env GOOGLE_ADS_DEVELOPER_TOKEN='ใส่ค่าของคุณ' --env GOOGLE_ADS_REFRESH_TOKEN='ใส่ค่าของคุณ' --env GOOGLE_ADS_CUSTOMER_ID='ใส่ค่าของคุณ' --env GOOGLE_ADS_LOGIN_CUSTOMER_ID='ใส่ค่าของคุณ' --env META_APP_ID='ใส่ค่าของคุณ' --env META_APP_SECRET='ใส่ค่าของคุณ' --env META_ACCESS_TOKEN='ใส่ค่าของคุณ' --env META_AD_ACCOUNT_ID='ใส่ค่าของคุณ' -- npx -y @gudlab/ads-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"ads": {
"command": "npx",
"args": [
"-y",
"@gudlab/ads-mcp"
],
"env": {
"GOOGLE_ADS_CLIENT_ID": "ใส่ค่าของคุณ",
"GOOGLE_ADS_CLIENT_SECRET": "ใส่ค่าของคุณ",
"GOOGLE_ADS_DEVELOPER_TOKEN": "ใส่ค่าของคุณ",
"GOOGLE_ADS_REFRESH_TOKEN": "ใส่ค่าของคุณ",
"GOOGLE_ADS_CUSTOMER_ID": "ใส่ค่าของคุณ",
"GOOGLE_ADS_LOGIN_CUSTOMER_ID": "ใส่ค่าของคุณ",
"META_APP_ID": "ใส่ค่าของคุณ",
"META_APP_SECRET": "ใส่ค่าของคุณ",
"META_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"META_AD_ACCOUNT_ID": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"ads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@gudlab/ads-mcp"
],
"env": {
"GOOGLE_ADS_CLIENT_ID": "ใส่ค่าของคุณ",
"GOOGLE_ADS_CLIENT_SECRET": "ใส่ค่าของคุณ",
"GOOGLE_ADS_DEVELOPER_TOKEN": "ใส่ค่าของคุณ",
"GOOGLE_ADS_REFRESH_TOKEN": "ใส่ค่าของคุณ",
"GOOGLE_ADS_CUSTOMER_ID": "ใส่ค่าของคุณ",
"GOOGLE_ADS_LOGIN_CUSTOMER_ID": "ใส่ค่าของคุณ",
"META_APP_ID": "ใส่ค่าของคุณ",
"META_APP_SECRET": "ใส่ค่าของคุณ",
"META_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"META_AD_ACCOUNT_ID": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
GOOGLE_ADS_LOGIN_CUSTOMER_ID envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub gudlab ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: GOOGLE_ADS_CLIENT_ID, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_DEVELOPER_TOKEN, GOOGLE_ADS_REFRESH_TOKEN, GOOGLE_ADS_CUSTOMER_ID, META_APP_ID, META_APP_SECRET, META_ACCESS_TOKEN, META_AD_ACCOUNT_ID
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.1) เข้า registry เดือนที่แล้ว
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An MCP server wrapping the Google Ads API and Meta Marketing API directly, with no third-party quota or middleman. Point an MCP-compatible client at it and manage Search campaigns, keywords, ads, and the full Meta campaign lifecycle (create, publish, monitor, report) against Google's and Meta's own APIs.
Every write tool that could spend money is safe by default: google_ads_create_search_campaign and every Meta create/copy tool always create objects PAUSED. The only tools that can turn spend on are google_ads_set_campaign_status and meta_ads_set_campaign_status / meta_ads_set_ad_set_status / meta_ads_set_ad_status, called explicitly.
Credentials require logins and business identity only you have; nothing here can be automated. Do not commit .env.
.env.http://localhost:8787/oauth2callback as an authorized redirect URI..env as GOOGLE_ADS_DEVELOPER_TOKEN.pnpm install then pnpm google:auth. This opens a browser, you sign in and consent, and it prints a refresh token to paste into .env as GOOGLE_ADS_REFRESH_TOKEN.GOOGLE_ADS_CUSTOMER_ID to the 10-digit account ID (no dashes) these tools should operate on by default. If that account is managed under an MCC account, also set GOOGLE_ADS_LOGIN_CUSTOMER_ID to the MCC's ID.A personal user token dies when Facebook shows a login checkpoint (Graph error 190 / subcode 459). A Business Manager System User token is the supported way to keep Marketing API access independent of a person's browser session.
.env as META_APP_ID / META_APP_SECRET.ads-mcp.ads_managementads_readbusiness_managementpages_show_listpages_read_engagementpages_manage_ads (needed to create unpublished Page posts / link creatives) Choose a never-expiring token if the UI offers it..env as META_ACCESS_TOKEN. Never commit it.META_AD_ACCOUNT_ID to the numeric account ID (act_ prefix optional). Optionally set META_PAGE_ID and META_PIXEL_ID so create tools do not need them on every call.META_GRAPH_API_VERSION pins the Graph version. Default is v26.0.App Review / Development mode. If the app, ad account, Page and pixel all belong to the same Business, a System User token usually works while the app is in Development mode (Standard Access) without App Review. Advanced Access and App Review are required to manage *other* businesses' ad accounts, or when the app is Live and those permissions are restricted. ads_management and the pages_* permissions are the ones Meta most often holds behind review.
Housing, employment, credit, and (in some regions) financial products and services ads must set special_ad_categories accordingly (HOUSING, EMPLOYMENT, CREDIT, FINANCIAL_PRODUCTS_SERVICES). Those campaigns have extra targeting limits; Advantage+ may be required or forbidden depending on the category.
Call meta_ads_get_account first. If META_APP_ID and META_APP_SECRET are set, the response includes token debug (scopes, expiry).
| Code | Typical cause | What to do |
|---|---|---|
190 / 102 | Token expired, revoked, or invalid | Generate a new System User token |
190 + subcode 459, or code 459 | User checkpoint | Complete the Facebook login checkpoint, then switch to a System User token |
10, 200-299 | Missing permission or asset assignment | Assign the ad account / Page / pixel; add the scopes above; App Review if Live or cross-business |
100 + error_user_title / error_user_msg | Invalid field or ads policy rejection | Fix the field or creative. Policy rejects cannot be overridden via the API |
4 / 17 / 32 / 613 | Rate limit | Wait and retry |
368 | Temporary policy block | Check Business Support Home and the account Quality tab |
pnpm install
pnpm test pnpm dev # MCP server over stdio via tsx pnpm build && pnpm start # compiled version
Once published to npm, it also runs via npx @gudlab/ads-mcp, no local clone needed. Point an MCP-compatible client at it, e.g. in Claude Code's .mcp.json:
{
"mcpServers": { "ads-mcp": { "command": "npx", "args": ["-y", "@gudlab/ads-mcp"], "env": { "GOOGLE_ADS_CLIENT_ID": "...", "GOOGLE_ADS_CLIENT_SECRET": "...", "GOOGLE_ADS_DEVELOPER_TOKEN": "...", "GOOGLE_ADS_REFRESH_TOKEN": "...", "GOOGLE_ADS_CUSTOMER_ID": "...", "META_APP_ID": "...", "META_APP_SECRET": "...", "META_ACCESS_TOKEN": "...", "META_AD_ACCOUNT_ID": "...", "META_PAGE_ID": "...", "META_PIXEL_ID": "..." } } } }
Before that's published, point it at the local build instead: command: "node", args: ["/path/to/ads-mcp/dist/index.js"], or command: "pnpm", args: ["dev"] with cwd set to this directory for local iteration.
The Google Ads and Meta Marketing APIs both shift field/enum names across versions, so before relying on any tool here for real campaign work:
google_ads_list_campaigns / meta_ads_get_account / meta_ads_list_campaigns first, read-only, the cheapest way to confirm auth and the client libraries are wired correctly.google_ads_create_search_campaign or meta_ads_create_campaign on a throwaway name, then check it in the ads UI rather than trusting the tool's own response as proof of correctness.*_set_*_status with ACTIVE on a real campaign.Budgets are in the ad account currency (e.g. 20 means 20 GBP, sent to Graph as 2000 minor units).
1. meta_ads_get_account
Confirm the token is valid and the account currency / timezone.
targeting_automation.advantage_audience = 0). Status is PAUSED.
Google Ads (src/google-ads/tools.ts): list_campaigns, get_campaign_structure, create_search_campaign (always PAUSED), add_keywords, set_keyword_status (pause/enable, reversible), remove_keywords (permanent, requires confirm_delete: true), update_bid_strategy, add_negative_keywords, set_campaign_status (the only enable/spend switch).
Meta Ads (src/meta-ads/tools.ts), all names prefixed meta_ads_:
| Tool | Role |
|---|---|
get_account | Ad account + optional token debug |
list_campaigns / get_campaign / get_campaign_structure | Campaigns, nested ad sets and ads |
list_ad_sets / get_ad_set | Ad sets with targeting, budgets, Advantage+ flag |
list_ads / get_ad / get_ad_status / list_ads_by_status | Ads, creatives, ad_review_feedback / issues_info |
get_insights | Account / campaign / ad set / ad metrics, presets or custom dates, optional breakdowns |
search_targeting | Keyword search for interests, behaviours, geo |
estimate_audience | Delivery / reach estimate |
create_campaign / update_campaign | Objective, special_ad_categories, campaign or ad-set budget. Create is PAUSED |
create_ad_set / update_ad_set | Daily budget, optimization, pixel+event, manual targeting, Advantage+ off by default. Create is PAUSED |
upload_image | Local path or URL → image hash |
create_ad_creative | Page, link, primary text, headline, description, CTA, url_tags |
create_ad / update_ad | Attach a creative or replace copy. Create is PAUSED |
set_campaign_status / set_ad_set_status / set_ad_status | Explicit ACTIVE / PAUSED. The only spend switches |
copy_campaign / copy_ad_set / copy_ad | Duplicates, always PAUSED |
All credentials stay in your own .env (never committed, see .gitignore) or your MCP client's own env config, and are used only to call Google's and Meta's APIs directly from your machine. This server sends nothing to any third party: no telemetry, no analytics, no relay service. Every request goes straight from your process to googleads.googleapis.com or graph.facebook.com, using your own developer token and access token.
MIT, see LICENSE.