Metadata-Version: 2.4
Name: 8-mcp-youtube
Version: 0.1.0
Summary: YouTube Data API v3 MCP server for the 8th stack.
Author: fRNRT8
Author-email: fRNRT8 <fran.am8@gmail.com>
License-Expression: MIT
Requires-Dist: fastmcp>=3.4.7
Requires-Dist: google-api-python-client>=2,<3
Requires-Dist: google-auth>=2,<3
Requires-Dist: google-auth-oauthlib>=1,<2
Requires-Dist: python-dotenv>=1,<2
Requires-Python: >=3.13
Description-Content-Type: text/markdown

# 8-mcp-youtube

YouTube MCP server for the 8th stack, backed by the YouTube Data API v3 with an
OAuth 2.0 refresh token. Includes a local SQLite mirror so metadata edits can be
staged and validated before spending quota.

## Install

```bash
uvx 8-mcp-youtube
```

## Configuration

| Variable | Description |
| --- | --- |
| `YT_CLIENT_ID` | Google OAuth client ID |
| `YT_CLIENT_SECRET` | Google OAuth client secret |
| `YT_REFRESH_TOKEN` | OAuth refresh token (mint with `scripts/get_refresh_token.py`) |
| `YT_DATA_DIR` | SQLite mirror + CSV exports (default `./data`) |
| `YT_PROFILES_DIR` | Style profiles (default `./profiles`) |
| `YT_STYLE_PROFILE` | Active profile name or path (default `example`) |
| `YT_DAILY_QUOTA` | Daily quota budget (default `10000`) |

`data/` and `profiles/` resolve relative to the current working directory unless
overridden. `MCP_TRANSPORT` selects `stdio` (default) or `streamable-http`
(port `PORT`, default `8000`, at `/mcp`).
