MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Manage Substack publishing, subscribers, analytics, reader feeds, comments, and images through MCP.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
SUBSTACK_PUBLICATION_URL, SUBSTACK_SESSION_TOKEN, SUBSTACK_USER_IDค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"substack": {
"command": "npx",
"args": [
"-y",
"substack-mcp"
],
"env": {
"SUBSTACK_PUBLICATION_URL": "ใส่ค่าของคุณ",
"SUBSTACK_SESSION_TOKEN": "ใส่ค่าของคุณ",
"SUBSTACK_USER_ID": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add substack --env SUBSTACK_PUBLICATION_URL='ใส่ค่าของคุณ' --env SUBSTACK_SESSION_TOKEN='ใส่ค่าของคุณ' --env SUBSTACK_USER_ID='ใส่ค่าของคุณ' -- npx -y substack-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"substack": {
"command": "npx",
"args": [
"-y",
"substack-mcp"
],
"env": {
"SUBSTACK_PUBLICATION_URL": "ใส่ค่าของคุณ",
"SUBSTACK_SESSION_TOKEN": "ใส่ค่าของคุณ",
"SUBSTACK_USER_ID": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"substack": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"substack-mcp"
],
"env": {
"SUBSTACK_PUBLICATION_URL": "ใส่ค่าของคุณ",
"SUBSTACK_SESSION_TOKEN": "ใส่ค่าของคุณ",
"SUBSTACK_USER_ID": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub marcomoauro ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: SUBSTACK_PUBLICATION_URL, SUBSTACK_SESSION_TOKEN, SUBSTACK_USER_ID
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.3.2) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js, Docker ในเครื่องด้วย
ในหมวดเดียวกันมี 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 Substack enabling LLM clients to interact with Substack's API for automations like creating posts, managing drafts, and more.
Create and publish posts, work with subscribers and analytics, browse your reader feeds, manage tags and comments, and upload images — 27 tools exposed through one MCP server.
[!IMPORTANT]
Substack does not provide a public API for these operations. This server uses your authenticated
web session. Treat the session token exactly like a password: keep it local, never commit it, and
never include it or a complete Cookie header in a bug report.
The fastest installation uses Node.js 22 or newer and npx.
Sign in to Substack in your browser and open your publication dashboard. You need three values:
https://your-publication.substack.com.Cookie header and locate a session cookie named substack.sid or connect.sid. Copy its value without the cookie name or the rest of the header. If both names appear with different values, test them separately and locally with the read-only verification in step 3; never paste either value into an issue.publication_user request. In its JSON response, copy the numeric id inside the user object.If the browser UI differs, the illustrated credential guide shows the same requests. If authentication later stops working, sign in again and repeat these steps to obtain the current token.
For clients that accept MCP JSON configuration, add:
{
"mcpServers": { "substack": { "command": "npx", "args": ["-y", "substack-mcp@latest"], "env": { "SUBSTACK_PUBLICATION_URL": "https://your-publication.substack.com", "SUBSTACK_SESSION_TOKEN": "your-session-token", "SUBSTACK_USER_ID": "your-user-id" } } } }
Replace the three example values, save the configuration, and restart your MCP client. Consult your client's documentation if it uses a different configuration format.
Ask your client:
List my five most recent Substack drafts.
The client should call list_posts with status: "drafts". If it fails, check the client's MCP logs and the logging section below before opening an issue.
To use the published Docker image instead of Node.js, add this server configuration:
{
"mcpServers": { "substack": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "SUBSTACK_PUBLICATION_URL", "-e", "SUBSTACK_SESSION_TOKEN", "-e", "SUBSTACK_USER_ID", "marcomoauro/substack-mcp:latest" ], "env": { "SUBSTACK_PUBLICATION_URL": "https://your-publication.substack.com", "SUBSTACK_SESSION_TOKEN": "your-session-token", "SUBSTACK_USER_ID": "your-user-id" } } } }
create_draft_post - Create a draft post
Inputs:
title (string): Title of the postsubtitle (string): Subtitle of the postbody (string): Body of the post. Plain text becomes one paragraph per line — Markdown is not interpreted, so ## Heading arrives literally. A JSON string of a Substack document also works and is validated against the same schema set_post_body publishes, so an unrecognised node name is an error rather than a silently mangled post.Returns: {draft_id, is_published}. Pass draft_id to get_draft to read the draft back.
For anything structured — headings, lists, links, code, images, a paywall — use set_post_body after creating the draft: the schema is published there, so the calling model can read the node vocabulary rather than guess at it.
list_subscribers - List and filter your subscribers
Exposes the same filtering the Subscribers dashboard offers: 48 columns, 18 operators, free-text search, sorting and pagination.
Inputs:
filters (array, optional): conditions combined with AND, each {column, operator, value}search (string, optional): free text matched against subscriber name and emailsort_by (string, optional): any filterable columnsort_direction (asc | desc, optional): defaults to desclimit (number, optional): 1–100, defaults to 25offset (number, optional): for pagingWhich operators a column accepts depends on its type:
| Type | Operators |
|---|---|
Int | is is_not gt gte lt lte |
String | is is_not is_any_of contains starts_with ends_with includes_none |
DateTime | is_on is_after is_on_or_after is_before is_on_or_before |
Array (tag_ids, emails_enabled) | includes_any includes_all includes_none |
subscription_type, group_membership | is is_not is_any_of |
The columns cover subscriber identity (name, email, country, state, group membership), subscription (type, start/expiry/cancel dates, revenue, Stripe plan, attribution), email engagement (opens and unique opens over 7d/30d/6mo, links clicked, sections) and site engagement (post views, unique posts seen, comments, shares, days active, activity rating). The full list with types reaches the client in the tool's JSON Schema, so a model does not have to guess names.
Returns: {count, returned, limit, offset, subscribers}. count is the total matching the filters regardless of limit, so a call with limit: 1 is a cheap way to size a segment.
Note: engagement columns can be *filtered* on here but are not part of the records this tool
returns — Substack takes the fields it returns from the publication's saved Display settings and
ignores a per-request column list. Use `export_subscribers` to read their values.
There is no OR and no nesting: anything needing OR has to be issued as separate calls.
export_subscribers - Export subscribers with every column value
The way to actually *read* the engagement metrics list_subscribers can only filter on: email opens over 7d/30d/6mo, unique emails seen, post views, unique posts seen, comments, shares, links clicked, days active and activity rating.
Inputs:
filters (array, optional): the same conditions as list_subscribers, combined with ANDsearch (string, optional): free text matched against subscriber name and emailcolumns (array, optional): which columns to include, defaulting to all of themmax_wait_seconds (number, optional): 1–600, defaulting to 120Returns: {count, columns, missing_columns, unmapped_columns, export_id, subscribers}, where each subscriber is keyed by column name.
Substack generates the file asynchronously, so the tool creates a subscriber set, requests the export, polls until it is ready and downloads it. A small export lands in a few seconds. If the wait budget runs out the tool says so and names the export_id rather than blocking.
Two caveats, both verified against the live API:
-
tag_idsandgroup_membershipcannot be exported. Substack drops them silently rather
than failing, so they are reported in
missing_columns— asking for all 48 columns returns 46.
- Values arrive display-formatted, not raw: revenue is
"€50.00"here and the number50
through
list_subscribers. Dates are ISO strings.
There is no paging: an export covers the whole matching set.
list_posts - List drafts, published or scheduled posts
Inputs:
status (drafts | published | scheduled): which list to readsearch (string, optional): free text matched against title and contentlimit (number, optional): 1–100, defaults to 25offset (number, optional): for pagingsort_direction (asc | desc, optional): drafts and published posts are newest-first, scheduled posts soonest-firstReturns: {status, total, returned, limit, offset, posts}, each post summarised — use get_draft for the full content of an unpublished one.
get_draft - Read one draft in full
Inputs:
draft_id (number): the id returned by list_posts or create_draft_postReturns: the draft as Substack stores it, body and audience/email settings included.
set_post_body - Replace a draft's body with a structured document
The only way to write structured content: headings, lists, links, code blocks, quotes, images, buttons and a paywall. create_draft_post takes plain text; this takes the document Substack actually stores, and its schema is published in tools/list so the calling model can read the node vocabulary instead of guessing.
Inputs:
draft_id (number): the id returned by list_posts or create_draft_postbody (object): a Substack ProseMirror document — {type: 'doc', content: [...]}Fifteen node types are accepted: paragraph, heading, bullet_list, ordered_list, list_item, blockquote, highlighted_code_block, code_block, horizontal_rule, captionedImage, button, paywall, youtube2, plus digestPostEmbed, substack_mentions and directMessage passed through unchanged so a document read with get_draft can be written back. Marks: strong, em, code, strikethrough, link.
Returns: {draft_id, nodes}, where nodes counts what was stored by type — so a caller that asked for a paywall can confirm there is one. Validation cannot report a node that was never sent.
Three things worth knowing:
image2.src pointing at an external URL is stored but does not render. Use upload_image to re-host one and get a src that works.start renders from 1 with no error.upload_image - Host an image on Substack, from a URL or a local file
Substack's editor uploads images as base64 data URIs to POST /api/v1/image, which answers with a Substack-hosted URL. image2.src in set_post_body and cover_image in update_draft only render such a URL, so this tool is the bridge. Substack itself only re-fetches URLs already in its own storage, so the image is encoded here rather than being handed off.
Inputs — exactly one of url or path:
url (string): the http(s) URL of an image to download and re-hostpath (string): absolute path to an image file on the machine running this server, read straight from disk with no downloadpost_id (number, optional): the post the image belongs to; its effect is unconfirmedReturns: {id, url, content_type, bytes, width, height} — put url into an image2.src when calling set_post_body, or into cover_image when calling `update_draft
ตัดมาแค่ช่วงต้น อ่านต่อใน repo