MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Read-only MCP server for the OpenAI Ads API: campaigns, ad groups, ads, and insights.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
OPENAI_ADS_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"openai-ads": {
"command": "npx",
"args": [
"-y",
"@hypd-ai/openai-ads-mcp"
],
"env": {
"OPENAI_ADS_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add openai-ads --env OPENAI_ADS_API_KEY='ใส่ค่าของคุณ' -- npx -y @hypd-ai/openai-ads-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"openai-ads": {
"command": "npx",
"args": [
"-y",
"@hypd-ai/openai-ads-mcp"
],
"env": {
"OPENAI_ADS_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"openai-ads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hypd-ai/openai-ads-mcp"
],
"env": {
"OPENAI_ADS_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub HYPD-AI ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: OPENAI_ADS_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.3) เข้า registry 5 เดือนที่ผ่านมา
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A Model Context Protocol (MCP) server for the OpenAI Ads (Advertiser) API. It lets MCP-compatible clients — Claude Desktop, Cursor, VS Code, and others — read your OpenAI Ads campaigns, ad groups, ads, and performance insights through natural language.
Read-only. This first release only reads data — it never creates, edits, or pauses anything and never spends budget. Write actions are on the roadmap.
Unofficial. This is a community project and is not affiliated with or endorsed by OpenAI. See the disclaimer.
The OpenAI Ads API exposes an advertiser's account, campaigns, ad groups, ads, and reporting. This server wraps the read endpoints of that API as MCP tools so an AI assistant can answer questions like:
cmp_123 over the last 30 days, by day."_adg_456 are still pending review?"_limit, order, after, before).npx — npx -y @hypd-ai/openai-ads-mcp, no clone or build.| Tool | What it does |
|---|---|
get_ad_account | Fetch the ad account for the configured key. Great as a connectivity check. |
list_campaigns | List campaigns (objective, budget, country targeting). |
get_campaign | Fetch a single campaign by ID. |
list_ad_groups | List ad groups, optionally filtered by campaign. |
get_ad_group | Fetch a single ad group by ID (bidding config, context hints). |
list_ads | List ads, optionally filtered by ad group. |
get_ad | Fetch a single ad by ID (creative + review status). |
get_account_insights | Performance insights for the whole account. |
get_campaign_insights | Performance insights for one campaign. |
get_ad_group_insights | Performance insights for one ad group. |
get_ad_insights | Performance insights for one ad. |
Insights tools accept since/until (YYYY-MM-DD) for the reporting window, plus time_granularity (daily/none), aggregation_level, fields, sort, filters, limit (1–10000), and after/before cursors.
MCP clients launch the server as a subprocess and pass your API key via an environment variable.
Published on npm as
@hypd-ai/openai-ads-mcp—npxfetches it for you, so there's nothing to clone or build. To run the latest unreleasedmaininstead, replace@hypd-ai/openai-ads-mcpwithgithub:HYPD-AI/openai-ads-mcp(its first launch builds from source — see Running from source).
Add the snippet for your client below.
Edit your claude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": { "openai-ads": { "command": "npx", "args": ["-y", "@hypd-ai/openai-ads-mcp"], "env": { "OPENAI_ADS_API_KEY": "your-openai-ads-api-key" } } } }
Restart Claude Desktop, then ask: _"Use the openai-ads tools to look up my ad account."_
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project):
{
"mcpServers": { "openai-ads": { "command": "npx", "args": ["-y", "@hypd-ai/openai-ads-mcp"], "env": { "OPENAI_ADS_API_KEY": "your-openai-ads-api-key" } } } }
Add to .vscode/mcp.json. VS Code can prompt for the key and store it as a secret via inputs:
{
"inputs": [ { "type": "promptString", "id": "openai_ads_api_key", "description": "OpenAI Ads API key", "password": true } ], "servers": { "openai-ads": { "command": "npx", "args": ["-y", "@hypd-ai/openai-ads-mcp"], "env": { "OPENAI_ADS_API_KEY": "${input:openai_ads_api_key}" } } } }
Any client that speaks MCP over stdio works. Run npx -y @hypd-ai/openai-ads-mcp (or node /path/to/dist/index.js) with OPENAI_ADS_API_KEY set in the environment.
| Variable | Required | Default | Description |
|---|---|---|---|
OPENAI_ADS_API_KEY | Yes | — | Your OpenAI Ads API key, sent as a Bearer token. |
OPENAI_ADS_BASE_URL | No | https://api.ads.openai.com/v1 | Override the API base URL (useful for testing or a proxy). |
See .env.example.
Fields whose names end in `_micros` — for example a campaign's lifetime_spend_limit_micros or an ad group's max_bid_micros — are expressed in micros:
1,000,000 micros = 1 unit of the account's currency (e.g. $1.00 = 1,000,000 micros)
So a lifetime_spend_limit_micros of 25000000 is $25.00. Divide a _micros value by 1,000,000 to display a human amount, or multiply by 1,000,000 to convert the other way.
Insights metrics are not micros. Reporting values like
spend,cpc, andcpmare already in the account's currency as decimals (e.g.spend: 42.75means $42.75).
This release registers only read (`GET`) tools — and each one is annotated with the MCP readOnlyHint, so well-behaved clients know it cannot mutate state. There is no tool here that can create, edit, pause, or delete anything, and nothing that can spend budget. Write actions will arrive as a deliberate, separately reviewed step (see Roadmap).
git clone https://github.com/hypd-ai/openai-ads-mcp.git
cd openai-ads-mcp npm install npm run build
Then point your MCP client at the built entry file:
{
"mcpServers": { "openai-ads": { "command": "node", "args": ["/absolute/path/to/openai-ads-mcp/dist/index.js"], "env": { "OPENAI_ADS_API_KEY": "your-openai-ads-api-key" } } } }
OPENAI_ADS_API_KEY=your-key npx @modelcontextprotocol/inspector node dist/index.js
npm install # install dependencies
npm run dev # rebuild on change (tsup --watch) npm run typecheck # tsc --noEmit npm run lint # eslint npm run format # prettier --write npm test # vitest npm run build # bundle to dist/
Project layout:
src/
index.ts # bin entry: load config, build server, connect stdio server.ts # buildServer(): McpServer + register all tools client.ts # OpenAIAdsClient: auth, URL building, errors config.ts # environment parsing & validation schemas.ts # shared zod shapes (pagination, insights) + micros note tools/ # one file per resource (account, campaigns, ad-groups, ads, insights) test/ # vitest specs (config, client, in-memory server)
All endpoints are under the base URL (default https://api.ads.openai.com/v1).
| Tool | Method | Endpoint |
|---|---|---|
get_ad_account | GET | /ad_account |
list_campaigns | GET | /campaigns |
get_campaign | GET | /campaigns/{campaign_id} |
list_ad_groups | GET | /ad_groups |
get_ad_group | GET | /ad_groups/{ad_group_id} |
list_ads | GET | /ads |
get_ad | GET | /ads/{ad_id} |
get_account_insights | GET | /ad_account/insights |
get_campaign_insights | GET | /campaigns/{campaign_id}/insights |
get_ad_group_insights | GET | /ad_groups/{ad_group_id}/insights |
get_ad_insights | GET | /ads/{ad_id}/insights |
POST) campaigns, ad groups, and ads, plus the dedicated state transitions (POST .../activate, .../pause, .../archive). The HTTP client already supports POST; these will be gated behind an explicit opt-in, since they change delivery and spend.POST /upload (JSON image_url or multipart/form-data) to attach images to ad creatives.targeting.locations.countries).npx -y openai-ads-mcp works out of the box.Contributions are welcome! Please read CONTRIBUTING.md. In short: open an issue to discuss substantial changes, keep npm run lint && npm run typecheck && npm test green, and add tests for new behavior.
This is an unofficial, community-built project. It is not affiliated with, endorsed by, or sponsored by OpenAI. "OpenAI" and related names and logos are trademarks of OpenAI. Your use of the OpenAI Ads API through this tool is subject to OpenAI's terms and policies. The tool is provided "as is", without warranty of any kind — see the license.
MIT © HYPD AI