MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for Affinity CRM - entity search, relationship intelligence, and workflow management
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
AFFINITY_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ลิงก์ไปที่ไฟล์ของผู้ทำเอง เราไม่ได้เก็บหรือแพ็กใหม่ เปิดไฟล์แล้ว Claude Desktop จะติดตั้งให้
พิมพ์คำสั่งนี้ใน Terminal
เติมค่าที่เว้นว่างไว้ก่อนรัน
เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub yaniv-golan ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: AFFINITY_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.22.0) เข้า registry 7 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี MCPB ในเครื่องด้วย
ในหมวดเดียวกันมี 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 (Model Context Protocol) server for Affinity CRM, built with the MCP Bash Framework.
# 1. Install the xaffinity CLI
pipx install "affinity-sdk[cli]"
xaffinity config setup-key
The .mcpb bundle is self-contained — it includes the MCP Bash Framework and gojq. You only need:
| Requirement | How to Install | Verify |
|---|---|---|
| Python 3.10+ | python.org or your package manager | python --version |
| xaffinity CLI | pipx install "affinity-sdk[cli]" | xaffinity --version |
| Affinity API key | xaffinity config setup-key (or let Claude Desktop prompt) | xaffinity config check-key |
Keep the CLI and the extension in step. They are installed separately. When you upgrade one, upgrade the other: download the latest .mcpb after pipx upgrade affinity-sdk, and the other way round. Since MCP 1.25.2, with a CLI older than the extension needs, changes are refused ("This MCP server needs the xaffinity CLI … or later to make changes") and reads still run with a warning that results may be incomplete. An older extension with a newer CLI can fail without saying why (for example, merges with CLI 1.22.0 need extension 1.25.1 or later). Claude Desktop never updates an extension installed from a .mcpb file: install each new release yourself.
Manual installation requires additional dependencies:
| Requirement | How to Install | Verify |
|---|---|---|
| Bash 3.2+ | Included on macOS/Linux; Windows: use WSL or Git Bash | bash --version |
| Python 3.10+ | python.org or your package manager | python --version |
| jq or gojq | See Installing jq/gojq below | jq --version or gojq --version |
| xaffinity CLI | pipx install "affinity-sdk[cli]" | xaffinity --version |
| Affinity API key | xaffinity config setup-key | xaffinity config check-key |
Either jq or gojq works — the server auto-detects which is available.
Which to choose:
Install jq:
| Platform | Command |
|---|---|
| macOS | brew install jq |
| Debian/Ubuntu | sudo apt-get install jq |
| Fedora | sudo dnf install jq |
| Arch Linux | sudo pacman -S jq |
| Windows | winget install jqlang.jq or choco install jq |
Install gojq (alternative):
| Platform | Command |
|---|---|
| macOS | brew install gojq |
| Any (Go required) | go install github.com/itchyny/gojq/cmd/gojq@latest |
| Binary download | GitHub Releases |
The .mcpb bundle is fully self-contained — it includes the MCP framework and JSON processor.
pipx install "affinity-sdk[cli]"xaffinity config setup-keyxaffinity-mcp-*.mcpb from the latest releaseNote: MCPB bundles currently only work with Claude Desktop. Other clients require manual installation.
/plugin marketplace add yaniv-golan/affinity-sdk
/plugin install affinity-crm-mcp-unofficial@xaffinity
For other MCP clients or development. Requires additional prerequisites.
xaffinity-mcp-plugin.zip from the latest release.mcp-bash/ — no separate install needed to run the server.validate and doctor are developer tools that need the full mcp-bash install (the vendored copy is runtime-only); the command prints the install line for the pinned version if it is missing: ./xaffinity-mcp.sh validate
Before debugging, verify each layer works in order:
Step 1: CLI Installation
First, verify the CLI is installed and can reach the Affinity API. See CLI: Verify Installation.
# Check CLI is installed
xaffinity --version
AFFINITY_API_KEY="your-key-here" xaffinity whoami --json
If whoami hangs, check network connectivity (firewall, proxy, VPN).
Step 2: MCP Server
Once the CLI works, test the MCP server end-to-end.
First, locate your MCP server directory:
# MCPB installation (macOS)
cd ~/Library/Application\ Support/Claude/Claude\ Extensions/local.mcpb.yaniv-golan.xaffinity-mcp/server
cd "$(find ~ -name 'xaffinity-mcp.sh' -type f 2>/dev/null | head -1 | xargs dirname)"
Other platforms/installations
| Installation | Path |
|---|---|
| MCPB (Windows) | %APPDATA%\Claude\Claude Extensions\local.mcpb.yaniv-golan.xaffinity-mcp\server\ |
| Manual install | Your chosen extraction location |
| Development | /mcp/ |
For MCPB installations: If Step 1 passes, your setup is complete. The MCP server shells out to CLI, so if CLI works with your API key, the MCP server will too. Restart Claude Desktop and test the tools there.
For manual installations: You can also test the MCP layer directly:
AFFINITY_API_KEY="your-key-here" \
mcp-bash run-tool execute-read-command \ --args '{"command":"whoami"}'
Expected: JSON response with your user information.
If Step 1 works but Step 2 fails, the issue is MCP-specific. Run diagnostics (these need the full mcp-bash install, not just the vendored runtime — see step 4 of manual installation):
./xaffinity-mcp.sh doctor
./xaffinity-mcp.sh validate
| Error | Cause | Solution |
|---|---|---|
| "Could not detect xaffinity CLI" | CLI not installed | pip install "affinity-sdk[cli]" |
| "older than this MCP server needs" / "This MCP server needs the xaffinity CLI X or later" | Outdated CLI | pipx upgrade affinity-sdk or pip install --upgrade "affinity-sdk[cli]" |
| "API key not configured" | Missing credentials | xaffinity config setup-key |
| "No JSON processor found" | jq/gojq not installed (manual install only) | See Installing jq/gojq |
| "Framework not found" | Vendored .mcp-bash/ directory missing | cd mcp && mcp-bash vendor |
| Every tool call fails with "server.d/policy.sh was not loaded" | The server's folder, server.d or policy.sh is writable by group or other users (common after a clone or unzip with umask 002), a symlink, or owned by another user. The server then refuses to run without its policy (read-only mode and other limits). | Run the chmod go-w ... command the error names (or chmod -R go-w ), then restart the server |
For detailed debugging, see docs/DEBUGGING.md.
The server is automatically available through the Claude plugin at .claude-plugin/mcp.json.
Add to your MCP client configuration:
{
"mcpServers": { "xaffinity": { "command": "/path/to/affinity-sdk/mcp/xaffinity-mcp.sh" } } }
The CLI Gateway provides full access to the xaffinity CLI with minimal token overhead:
| Tool | Description |
|---|---|
discover-commands | Search CLI commands by keyword (e.g., "create person", "delete note") |
execute-read-command | Execute read-only CLI commands (get, search, list) |
execute-write-command | Execute write CLI commands (create, update, delete) |
| Tool | Description |
|---|---|
query | Execute structured JSON queries with filters, joins, and aggregations |
For complex data analysis (filtering, grouping, aggregations), use the query tool instead of individual CLI commands. See the Query Language Reference for full documentation.
| Tool | Description |
|---|---|
get-entity-dossier | Get comprehensive info for an entity (aggregates 5+ CLI calls) |
read-xaffinity-resource | Read static MCP resources (data-model, etc.) |
{"query": "add person to list", "category": "write"}
Returns compact text format:
# cmd|cat|params (s=str i=int b=bool f=flag !=req *=multi)
list entry add|w|LIST:s! --person-id:i --company-id:i
{"command": "list entry add", "argv": ["Pipeline", "--person-id", "123"]}
Control the format of command results for optimal token efficiency:
{"command": "person ls", "format": "markdown"}
| Format | Token Efficiency | Best For |
|---|---|---|
json | Low | Programmatic use (default) |
markdown | Medium-High | LLM comprehension - best for analysis tasks |
toon | High (~40% fewer) | Large datasets, batch operations |
csv | Medium | Spreadsheet export |
jsonl | Medium | Streaming workflows |
Recommendations:
markdown when you need to analyze or summarize data (LLMs read tables well)toon for large exports to minimize tokens (30-60% smaller than JSON)json when you need full structure with pagination/metadataCommands that cannot be undone (delete, merge) need the user's confirmation:
confirm: true only after you agree:{"command": "person delete", "argv": ["456"], "confirm": true}
The tool appends --yes for the CLI. Since MCP 1.27.0 confirm: true counts only after the server refused that exact command (or showed its dialog) in the last 15 minutes, once: if Claude sets it on its first call, the call is refused and Claude is told to ask you. The server can't see the conversation, so it can't tell whether you really agreed: **keep Claude Desktop's tool-approval prompt on for execute-write-command and don't choose "always allow
ตัดมาแค่ช่วงต้น อ่านต่อใน repo