MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
作者提供的说明(英文原文)
MCP server for Microsoft Advertising (Bing Ads) — campaigns, keywords, and reports
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
BING_ADS_DEVELOPER_TOKEN, BING_ADS_CLIENT_ID, BING_ADS_REFRESH_TOKEN, BING_ADS_CLIENT_SECRET标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"bing-ads": {
"command": "npx",
"args": [
"-y",
"mcp-bing-ads"
],
"env": {
"BING_ADS_DEVELOPER_TOKEN": "your-value",
"BING_ADS_CLIENT_ID": "your-value",
"BING_ADS_REFRESH_TOKEN": "your-value",
"BING_ADS_CLIENT_SECRET": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add bing-ads --env BING_ADS_DEVELOPER_TOKEN=your-value --env BING_ADS_CLIENT_ID=your-value --env BING_ADS_REFRESH_TOKEN=your-value --env BING_ADS_CLIENT_SECRET=your-value -- npx -y mcp-bing-ads运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"bing-ads": {
"command": "npx",
"args": [
"-y",
"mcp-bing-ads"
],
"env": {
"BING_ADS_DEVELOPER_TOKEN": "your-value",
"BING_ADS_CLIENT_ID": "your-value",
"BING_ADS_REFRESH_TOKEN": "your-value",
"BING_ADS_CLIENT_SECRET": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"bing-ads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-bing-ads"
],
"env": {
"BING_ADS_DEVELOPER_TOKEN": "your-value",
"BING_ADS_CLIENT_ID": "your-value",
"BING_ADS_REFRESH_TOKEN": "your-value",
"BING_ADS_CLIENT_SECRET": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 mharnett 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:BING_ADS_DEVELOPER_TOKEN, BING_ADS_CLIENT_ID, BING_ADS_REFRESH_TOKEN, BING_ADS_CLIENT_SECRET
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.2)于8个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
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.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Production-grade MCP server for Microsoft Advertising (Bing Ads) API. Enables Claude to manage Bing/Microsoft Ads accounts with full campaign, ad group, keyword, and performance analysis capabilities.
Features:
Note: ⚠️ First open-source Bing Ads MCP with comprehensive tooling
npm install mcp-bing-ads
Security: Never share your .mcp.json file or commit it to git -- it may contain API credentials. Add .mcp.json to your .gitignore.
Microsoft Advertising APIhttps://ads.microsoft.com/msads.manage offline_access cp config.example.json config.json
{
"oauth": { "client_id": "YOUR_AZURE_CLIENT_ID", "client_secret": "YOUR_AZURE_CLIENT_SECRET" }, "clients": { "default": { "customer_id": "YOUR_CUSTOMER_ID", "account_id": "YOUR_ACCOUNT_ID", "name": "My Account" } } }
export BING_ADS_DEVELOPER_TOKEN="your_developer_token"
export BING_ADS_CLIENT_ID="your_client_id" export BING_ADS_REFRESH_TOKEN="your_refresh_token"
export BING_ADS_CLIENT_SECRET="your_client_secret"
export BING_ADS_MCP_WRITE="true"
| Variable | Required | Default | Description |
|---|---|---|---|
BING_ADS_DEVELOPER_TOKEN | yes | -- | Microsoft Advertising developer token |
BING_ADS_CLIENT_ID | yes | -- | Azure AD app client ID |
BING_ADS_REFRESH_TOKEN | yes | -- | OAuth refresh token |
BING_ADS_CLIENT_SECRET | no | -- | Azure AD app client secret (if confidential client) |
BING_ADS_MCP_WRITE | no | false | Set to true, 1, or yes to expose mutating tools (pause/update/add). Any other value -- or unset -- keeps the server read-only. |
Mutating tools (bing_ads_pause_keywords, bing_ads_update_campaign_budget, bing_ads_add_shared_negatives) are hidden from the tool list and refused at call time unless BING_ADS_MCP_WRITE=true is set in the server environment. This is a safety gate against casual write actions -- for example, pausing a keyword or editing a budget based on a throwaway chat message. To make write changes, set the env var explicitly in your .mcp.json or shell profile for the session that needs it, then unset it afterwards. Read tools (list/report/performance) are always available.
npm start
Add to ~/.claude.json:
{
"mcpServers": { "bing-ads": { "type": "http", "url": "http://localhost:3002" } } }
Claude Desktop: Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).
// Get client context
bing_ads_get_client_context({ working_directory: "/path/to/project" })
// List campaigns bing_ads_list_campaigns()
// Get campaign performance bing_ads_get_campaign_performance({ start_date: "2026-01-01", end_date: "2026-03-01" })
// Get keyword performance bing_ads_keyword_performance({ start_date: "2026-02-01", end_date: "2026-03-01" })
// Create negative keywords bing_ads_add_shared_negatives({ shared_list_id: "list_123", keywords: [ { text: "cheap", match_type: "Phrase" }, { text: "discount", match_type: "Exact" } ] })
bing_ads_get_client_context(working_directory) -- Detect account from working directorybing_ads_list_campaigns() -- List all campaignsbing_ads_get_campaign_performance(start_date, end_date) -- Campaign metricsbing_ads_update_campaign_budget(campaign_id, daily_budget) -- Update daily spendbing_ads_list_ad_groups(campaign_id) -- List ad groups in campaignbing_ads_keyword_performance(start_date, end_date, [campaign_ids]) -- Keyword metrics & QSbing_ads_search_term_report(start_date, end_date) -- Search terms that triggered adsbing_ads_pause_keywords(ad_group_id, keyword_ids) -- Pause keywordsbing_ads_list_shared_entities([type]) -- List shared negative listsbing_ads_add_shared_negatives(list_id, keywords) -- Add to shared listQuality Score (QS): 1-10 rating of keyword quality
Expected CTR: 1-9 rating of expected click-through rate Ad Relevance: 1-9 rating of relevance to search query Landing Page Experience: 1-9 rating of landing page quality
npm run dev # Run in dev mode (tsx)
npm run build # Compile TypeScript npm test # Run contract tests
Files:
src/index.ts — MCP server, OAuth flow, tool handlerssrc/tools.ts — Tool schema definitionssrc/errors.ts — Error handling & classificationconfig.json — Credentials & client mappingError Classification:
src/tools.tssrc/index.ts tool dispatch.contract.test.tsnpm testnpm test -- --run # Single run
npm test -- --watch # Watch mode
Config file not foundcp config.example.json config.json
Missing required credentialsCheck that:
BING_ADS_DEVELOPER_TOKEN, BING_ADS_CLIENT_ID, and BING_ADS_REFRESH_TOKEN are setBING_ADS_CLIENT_SECRET is set (if using a confidential app)Rate limit exceededBing Ads applies rate limits. The server handles common retries automatically. If you hit limits frequently:
Quality Score is 0QS = 0 means keyword hasn't been shown enough times yet. Increase impressions or wait for more data.
MIT
Contributions welcome! Please:
docs/ folder for detailed API reference[Mark Harnett](https://www.linkedin.com/in/markharnett/) — Demand generation leader and paid media practitioner building AI-powered ad management tools. This is the first comprehensive open-source Bing Ads MCP server — born from managing real campaigns across multiple accounts and wanting Claude to do the heavy lifting.
Built with production workloads in mind: resilient API calls (circuit breakers, retry with backoff, response truncation), full Quality Score diagnostics, and negative keyword management at scale.
Also by Mark: mcp-linkedin-ads -- LinkedIn Ads MCP server with 7 tools.
Last Updated: 2026-03-13