Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

tubekit

by santiriera626version 0.3.0i★ 0iRuns on your computerOfficial site ↗
Registry nameio.github.santiriera626/tubekit-mcp

How to install

What it does

Compliance-aware MCP server for YouTube publishing, analytics and creator insights.

  • Connects Runs on your computer
  • Account or key No key needed · 1 setting to fill in (TUBEKIT_OAUTH_CLIENT_SECRETS_PATH)
  • Category Marketing & social media

Use together with

Skills that teach the AI this kind of work; they work alongside this one

scroll-world

A skill that turn any brand into a scrollable 3D world landing page

by oso95★ 11,0651 skills

Skill · How-to guide

social-auto-upload

自动化上传视频到社交媒体:抖音、小红书、视频号、tiktok、youtube、bilibili

by dreammis★ 16,698 (whole repo)4 skills

Skill · How-to guide

native-subtitle-quote-image

保留视频内嵌字幕,精确取帧并生成 3:4 社交长图的 Agent Skill

by chengyi-ai★ 2,8911 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness3/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score3/100

Quality: Passed 2/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install tubekit. Follow https://mcp.popnx.com/i/santiriera626-tubekit-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

1 setting(s) to fill in (TUBEKIT_OAUTH_CLIENT_SECRETS_PATH) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server tubekit for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "tubekit": { "command": "uvx", "args": [ "tubekit-mcp" ], "env": { "TUBEKIT_OAUTH_CLIENT_SECRETS_PATH": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For TUBEKIT_OAUTH_CLIENT_SECRETS_PATH, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the tubekit tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • TUBEKIT_OAUTH_CLIENT_SECRETS_PATH Path to your own Google Cloud OAuth client JSON. Required to refresh access tokens.

    Descriptions are as written by the maker.

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "tubekit": {
          "command": "uvx",
          "args": [
            "tubekit-mcp"
          ],
          "env": {
            "TUBEKIT_OAUTH_CLIENT_SECRETS_PATH": "your-value"
          }
        }
      }
    }
  5. Quit Claude and open it again

  6. Try it

    Use tubekit and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using tubekit or shows a tubekit tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • TUBEKIT_MASTER_KEY_PATH Path to the Fernet key that encrypts stored OAuth tokens at rest. The server refuses to start without one. · default ~/.config/tubekit/master.key
  • TUBEKIT_STATE_DB_PATH SQLite file holding the audit log, quota ledger and channel state. · default state.db

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect tubekit yet

tubekit runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect tubekit

  • 1 setting(s) to fill in (TUBEKIT_OAUTH_CLIENT_SECRETS_PATH) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • 1 setting(s) to fill in (TUBEKIT_OAUTH_CLIENT_SECRETS_PATH) · Install Python (uv) on your computer first (one time)
  • 1 setting(s) to fill in (TUBEKIT_OAUTH_CLIENT_SECRETS_PATH) · Install Python (uv) on your computer first (one time)
  • 1 setting(s) to fill in (TUBEKIT_OAUTH_CLIENT_SECRETS_PATH) · Install Python (uv) on your computer first (one time)

B · Others in Marketing & social media that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

1 setting(s) to fill in (TUBEKIT_OAUTH_CLIENT_SECRETS_PATH) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server tubekit for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user tubekit --env TUBEKIT_OAUTH_CLIENT_SECRETS_PATH=your-value -- uvx tubekit-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For TUBEKIT_OAUTH_CLIENT_SECRETS_PATH, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the tubekit tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • TUBEKIT_OAUTH_CLIENT_SECRETS_PATH Path to your own Google Cloud OAuth client JSON. Required to refresh access tokens.

    Descriptions are as written by the maker.

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user tubekit --env TUBEKIT_OAUTH_CLIENT_SECRETS_PATH=your-value -- uvx tubekit-mcp
  5. Type /mcp in Claude Code

    You should see tubekit listed as connected

  6. Try it

    Use tubekit and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using tubekit or shows a tubekit tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • TUBEKIT_MASTER_KEY_PATH Path to the Fernet key that encrypts stored OAuth tokens at rest. The server refuses to start without one. · default ~/.config/tubekit/master.key
  • TUBEKIT_STATE_DB_PATH SQLite file holding the audit log, quota ledger and channel state. · default state.db

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

1 setting(s) to fill in (TUBEKIT_OAUTH_CLIENT_SECRETS_PATH) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server tubekit for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "tubekit": { "command": "uvx", "args": [ "tubekit-mcp" ], "env": { "TUBEKIT_OAUTH_CLIENT_SECRETS_PATH": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For TUBEKIT_OAUTH_CLIENT_SECRETS_PATH, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the tubekit tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • TUBEKIT_OAUTH_CLIENT_SECRETS_PATH Path to your own Google Cloud OAuth client JSON. Required to refresh access tokens.

    Descriptions are as written by the maker.

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the tubekit settings, TUBEKIT_OAUTH_CLIENT_SECRETS_PATH is empty; add your key and save

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use tubekit and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using tubekit or shows a tubekit tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • TUBEKIT_MASTER_KEY_PATH Path to the Fernet key that encrypts stored OAuth tokens at rest. The server refuses to start without one. · default ~/.config/tubekit/master.key
  • TUBEKIT_STATE_DB_PATH SQLite file holding the audit log, quota ledger and channel state. · default state.db

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

1 setting(s) to fill in (TUBEKIT_OAUTH_CLIENT_SECRETS_PATH) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server tubekit for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "tubekit": { "type": "stdio", "command": "uvx", "args": [ "tubekit-mcp" ], "env": { "TUBEKIT_OAUTH_CLIENT_SECRETS_PATH": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For TUBEKIT_OAUTH_CLIENT_SECRETS_PATH, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the tubekit tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • TUBEKIT_OAUTH_CLIENT_SECRETS_PATH Path to your own Google Cloud OAuth client JSON. Required to refresh access tokens.

    Descriptions are as written by the maker.

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the tubekit settings, TUBEKIT_OAUTH_CLIENT_SECRETS_PATH is empty; add your key and save

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use tubekit and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using tubekit or shows a tubekit tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • TUBEKIT_MASTER_KEY_PATH Path to the Fernet key that encrypts stored OAuth tokens at rest. The server refuses to start without one. · default ~/.config/tubekit/master.key
  • TUBEKIT_STATE_DB_PATH SQLite file holding the audit log, quota ledger and channel state. · default state.db

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use tubekit💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user tubekit --env TUBEKIT_OAUTH_CLIENT_SECRETS_PATH=your-value -- uvx tubekit-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "tubekit": {
      "command": "uvx",
      "args": [
        "tubekit-mcp"
      ],
      "env": {
        "TUBEKIT_OAUTH_CLIENT_SECRETS_PATH": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "tubekit": {
      "command": "uvx",
      "args": [
        "tubekit-mcp"
      ],
      "env": {
        "TUBEKIT_OAUTH_CLIENT_SECRETS_PATH": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "tubekit": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tubekit-mcp"
      ],
      "env": {
        "TUBEKIT_OAUTH_CLIENT_SECRETS_PATH": "your-value"
      }
    }
  }
}

Values you fill in

  • TUBEKIT_MASTER_KEY_PATH env
    Path to the Fernet key that encrypts stored OAuth tokens at rest. The server refuses to start without one.
  • TUBEKIT_OAUTH_CLIENT_SECRETS_PATH required env
    Path to your own Google Cloud OAuth client JSON. Required to refresh access tokens.
  • TUBEKIT_STATE_DB_PATH env
    SQLite file holding the audit log, quota ledger and channel state.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
13/wk
Licencei
No licence stated
Connection
Runs on your computer
Latest versioni
0.3.0
Published to registryi
Aug 10, 2026
Code last changedi
Aug 10, 2026
Maker
santiriera626
Packages
pypi: tubekit-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account santiriera626, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 3 months ago

  • ! Caution

    Has a licence

    GitHub could not identify the licence type; open the file to check

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for tubekit-mcp@0.3.0

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/santiriera626-tubekit-mcp.svg)](https://mcp.popnx.com/en/servers/santiriera626-tubekit-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Marketing & social mediai

  • More stars than 0% of the other 4243 servers in this category
  • Published to the registry more recently than 18% of the other 4243 servers in this category
  • Basic checks equal to or better than 56% of the other 4243 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is tubekit safe?

It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 3 months ago, and the latest version (0.3.0) reached the registry 3 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: Relaticle, ChatbotX, X (Twitter) MCP Server by Xquik, Betterlytics, BibiGPT YouTube Video Summarizer

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

ChatbotX

Omnichannel customer messaging, CRM contacts, flows, sequences, broadcasts, and AI automation.

by ChatbotXIOGrowing★ 1.1K Stars for the whole repoUpdated 14 days ago

Runs in the cloud✓ service owner · chatbotx.io

Betterlytics

Query your Betterlytics web analytics from AI agents: traffic, funnels, journeys, errors, uptime.

by betterlyticsGrowing★ 196Updated 4 months ago

Runs in the cloud✓ service owner · betterlytics.io
Compared with similar ones
This one
tubekit
RelaticleChatbotXX (Twitter) MCP Server by XquikBetterlyticsBibiGPT YouTube Video Summarizer
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoYesNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks2/34/44/44/44/44/4
LicenseNOASSERTIONAGPL-3.0NOASSERTIONMITAGPL-3.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

tubekit-mcp

Compliance-aware Model Context Protocol server for YouTube publishing, analytics, and creator insights — every action gated, metered, and audited before it touches a channel.

tubekit-mcp is an MCP server: you connect it to an MCP client (Claude Desktop, Claude Code, …) and the assistant can then publish and manage videos on a YouTube channel on your behalf, with compliance checks, quota accounting, idempotent uploads and a tamper-evident audit log on every state-changing call. Licensed under FSL-1.1-MIT — run and self-host it freely, commercially or not; each release becomes plain MIT two years after publication.

Architecture

A single tool call (e.g. upload_video) flows through a compliance gate, a quota / idempotency ledger, an OAuth refresh, the YouTube API, and a tamper-evident audit row — with the pure core kept free of protocol concerns, a boundary enforced in CI by an AST fitness test (tests/unit/services/test_no_fastmcp_imports.py).

flowchart LR

client["MCP client (Claude Desktop / Code)"] subgraph edge["Protocol edge"] transport["Transport stdio · HTTP + Bearer"] tool["Tool wrapper"] end subgraph core["Pure core — no protocol imports (CI-enforced)"] compliance{"Compliance gate"} ledger["Quota + idempotency ledger"] oauth["OAuth refresh (Fernet at rest)"] end upstream["YouTube Data / Analytics API"] audit[("Tamper-evident hash-chained audit log")]

client --> transport --> tool --> compliance compliance -->|pass| ledger --> oauth --> upstream compliance -->|fail| suggestion["Suggestion → agent retries"] tool -. audited .-> audit ledger -. audited .-> audit oauth -. audited .-> audit

Why this exists. Agents are starting to operate real YouTube channels —

and a channel is an asset you can lose. One bad call can publish a video

that violates policy, burn the day's API quota (an upload costs 1600 of the

default 10,000 daily units), or double-publish on a retry. Generic YouTube

wrappers hand the agent the raw API; tubekit wraps every call in the

guardrails an unattended operator needs: a compliance gate *before* anything

goes live, quota accounted before it is spent, idempotent retries, OAuth

tokens encrypted at rest (fingerprint-only logging), and a tamper-evident

audit chain of everything the agent did. Full design rationale in

ADR 0001.

Usage

Prerequisites

Before an assistant can act on a channel you need, once per channel:

  1. A Google Cloud project with the *YouTube Data API v3* (and *YouTube Analytics API* if you use get_analytics) enabled.
  2. An OAuth client of type *Desktop app*, downloaded as client_secret.json.
  3. The channel whose Google account will grant the consent.

The OAuth grant is interactive and only happens here — tubekit stores the resulting refresh token Fernet-encrypted and never prints it. Never used Google Cloud Console? docs/runbooks/gcp-setup.md walks the whole thing from zero (project, APIs, consent screen, client type, and the two Google policies — token expiry in testing, private-locked uploads for unaudited projects — that surprise people later). The consent flows themselves are in docs/runbooks/oauth-bootstrap.md.

Install

From PyPI:

uv tool install tubekit-mcp   # installs the tubekit / tubekit-mcp-* commands

Use uv tool install, not uvx, for a real setup: the one-time steps below need the tubekit CLI to still be there afterwards. uvx tubekit-mcp runs the stdio server from a throwaway environment, which is what an MCP client's config points at once the setup is done.

The server will not start yet, and that is deliberate — it refuses to run without a master key rather than inventing one, since that key is what encrypts your OAuth tokens at rest. One-time setup below is the two commands that fix it.

Or from source, for development:

git clone https://github.com/santiriera626/tubekit-mcp.git tubekit-mcp && cd tubekit-mcp

uv sync --all-extras # installs the tubekit / tubekit-mcp-* entry points make db-upgrade # builds the state schema (wraps tubekit db upgrade;

tubekit db current prints the applied revision)

(uv itself installs with curl -LsSf https://astral.sh/uv/install.sh | sh.)

Try it in 60 seconds — no Google account needed

The compliance engine is pure-local, so you can watch the gate and its self-correction Suggestions work before touching Google Cloud:

cat > video.json <<'EOF'

{ "title": "Test Upload — Compliance Gate Demo", "description": "Demo description for the compliance gate.", "tags": ["demo", "test"], "ai_disclosure": false, "made_for_kids": null, "category_id": "10" } EOF uv run tubekit compliance test video.json

Compliance: PASSED  (8 rules evaluated)

WARNING AI_DISCLOSURE_MISSING: AI disclosure flag is false; confirm this is the channel owner's intended policy for AI-generated content. suggestion: action=set field=metadata.ai_disclosure value=True WARNING KIDS_FLAG_NOT_SET: made_for_kids is unset; set it explicitly to true or false (this rule does not classify by content). suggestion: action=set field=metadata.made_for_kids value=False

An error-severity violation — say a 126-character title — fails the gate with exit 1 and a machine-applicable fix (suggestion: action=truncate field=metadata.title value=100). That is the same Suggestion an agent receives from a rejected upload_video and applies before retrying (ADR D8). tubekit compliance list prints the rule catalog; tubekit compliance manifest exports it for external auditors.

Install with an AI agent

Rather not type the commands above yourself? Paste the block below into Claude Code (or any coding agent with shell access) and it will clone, install and register the server for you. It stops at the boundary above: no Google account, client_secret.json or OAuth consent is involved.

Install tubekit-mcp and register it as an MCP server. Stop and report if any step fails.
  1. Clone the repo and enter it (install uv first if missing: curl -LsSf https://astral.sh/uv/install.sh | sh): git clone https://github.com/santiriera626/tubekit-mcp.git tubekit-mcp && cd tubekit-mcp
  1. Install dependencies, apply the database migrations and create the Fernet master key (the server refuses to start without one): uv sync --all-extras make db-upgrade uv run tubekit auth init-master-key (Idempotent: an existing key is reported and left untouched.)
  1. Run the zero-credential compliance smoke check to confirm the install works: cat > video.json <<'EOF' { "title": "Test Upload — Compliance Gate Demo", "description": "Demo description for the compliance gate.", "tags": ["demo", "test"], "ai_disclosure": false, "made_for_kids": null, "category_id": "10" } EOF uv run tubekit compliance test video.json Expect "Compliance: PASSED (8 rules evaluated)" and exit code 0.
  1. Register the server with Claude Code over stdio, using absolute paths: claude mcp add tubekit \ -e TUBEKIT_STATE_DB_PATH="$(pwd)/state.db" \ -e TUBEKIT_MASTER_KEY_PATH="$HOME/.config/tubekit/master.key" \ -- "$(pwd)/.venv/bin/tubekit-mcp-stdio"

Do not run tubekit auth setup-channel or open any Google consent screen — OAuth channel bootstrap is a separate, human-in-the-loop step documented in docs/runbooks/oauth-bootstrap.md. Stop after step 4 and tell me to run that myself.

Restart your MCP client after registration; it can now call tubekit.health() and list the full tool catalog. Every tool that takes a channel argument — validate_compliance included — needs a configured channel, which means completing One-time setup — including the OAuth consent in docs/runbooks/oauth-bootstrap.md — yourself. The compliance gate itself is testable without any channel via step 3's tubekit compliance test.

One-time setup
# 1. Create the Fernet master key used to encrypt stored tokens (mode 0600).

Skip if the agent install above already created it.

tubekit auth init-master-key

2. Bootstrap a channel — opens a browser for the OAuth consent.

The alias is positional; --channel-id, --gcp-project, --client-secrets

and --scopes are all required (see docs/runbooks/oauth-bootstrap.md).

tubekit auth setup-channel mychannel \ --channel-id UCxxxxxxxxxxxxxxxxxxxxxx \ --gcp-project my-gcp-project \ --client-secrets ./client_secret.json \ --scopes youtube.upload,youtube.readonly

…or, on a headless box (no browser), append --device-code:

tubekit auth setup-channel mychannel \ --channel-id UCxxxxxxxxxxxxxxxxxxxxxx \ --gcp-project my-gcp-project \ --client-secrets ./client_secret.json \ --scopes youtube.upload,youtube.readonly \ --device-code

3. Define the channel registry — setup-channel persists only the encrypted

token; the registry is a TOML you write yourself. The table name is the

alias. Full field reference: docs/runbooks/vps-deploy.md §5.

mkdir -p ~/.config/tubekit/channels cat > ~/.config/tubekit/channels/mychannel.toml <<'EOF' [mychannel] channel_id = "UCxxxxxxxxxxxxxxxxxxxxxx" gcp_project_id = "my-gcp-project" oauth_scopes = [ "https://www.googleapis.com/auth/youtube.upload", "https://www.googleapis.com/auth/youtube.readonly", ] EOF

4. Verify — show prints one channel's status (token fingerprint only),

list prints every configured alias

tubekit channels show mychannel --channels-dir ~/.config/tubekit/channels tubekit channels list --channels-dir ~/.config/tubekit/channels

Connect to an MCP client (stdio)

Most clients launch the server over stdio. Add this to the client's MCP config (for Claude Desktop: claude_desktop_config.json):

{

"mcpServers": { "tubekit": { "command": "tubekit-mcp-stdio", "env": { "TUBEKIT_STATE_DB_PATH": "/absolute/path/to/state.db", "TUBEKIT_MASTER_KEY_PATH": "/absolute/path/to/master.key" } } } }

Restart the client. The assistant now sees the tools below plus a tubekit.health() probe. Ask it, e.g., *"upload ./intro.mp4 to mychannel"* and it will call upload_video, which gates on compliance, charges quota, refreshes OAuth and writes an audit row — all transparently.

Available tools
ToolWhat it doesOAuth scopeQuota
validate_compliance(channel, metadata, thumbnail_present=False)Run the rule registry against metadata; returns a ComplianceReport. Pure-local, no YouTube call.—0

| `upload_video(channel, video_path, metadata, idempotency_key, privacy_status="private", notify_subscr

Only the beginning is shown; read the rest in the repo