creator-mcp
by luen-eth
README.md
# creator-mcp
An [MCP](https://modelcontextprotocol.io) server for running YouTube channels and Instagram creator accounts from an AI assistant: upload and schedule videos, publish posts, manage comments, read insights.
> **Status: phase 1 (foundation).** Working today: the HTTP/stdio server, bearer-token auth, encrypted token storage, six account slots, the shared YouTube quota counter, and the `accounts_list` / `quota_status` tools. YouTube, Instagram, scheduling and OAuth are on the roadmap below.
## Design
- **Six account slots**: `yt-1..3` (YouTube) and `ig-1..3` (Instagram creator accounts).
- **Remote first**: Streamable HTTP at `POST /mcp`, protected by a bearer token. `GET /healthz` is open. Local stdio works with `--stdio`.
- **Secrets stay out of the repo**: everything sensitive comes from environment variables or the data volume. OAuth tokens are stored AES-256-GCM encrypted in SQLite and are never returned by any tool.
- **Safe by default**: every tool that publishes, edits or deletes will preview unless called with `confirm: true`.
- **Quota aware**: the three YouTube channels share one Google Cloud project (10,000 units/day, an upload costs 1,600), tracked on the Pacific-time day.
## Run
```sh
cp .env.example .env # fill in the two secrets, see comments inside
npm ci && npm run build
set -a; . ./.env; set +a
node dist/index.js # HTTP on $CREATOR_MCP_PORT
node dist/index.js --stdio # local MCP over stdio
```
Docker: `docker build -t creator-mcp .`, mount a volume at `/data`, set the variables from `.env.example`. Behind Dokploy, put it behind HTTPS and keep the volume between deploys.
Client call:
```sh
curl -X POST https://your-host/mcp \
-H "authorization: Bearer $CREATOR_MCP_AUTH_TOKEN" \
-H "content-type: application/json" -H "accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```
## Platform limits to know
- **YouTube**: uploads from a Google Cloud project that has not passed YouTube's API audit are forced to *private*. About six uploads per day fit in the default quota.
- **Instagram**: only Business/Creator accounts; the API fetches video from a public URL; 100 published posts per 24 h; publishing permissions need Meta App Review (development mode works for your own accounts).
## Roadmap
1. ~~Foundation~~ (this release)
2. OAuth connect flow for Google and Meta
3. YouTube tools: upload, update, thumbnails, playlists
4. Instagram tools: Reels, photos, carousels, stories (R2-backed media staging)
5. Scheduling queue (SQLite, retries, quota-aware)
6. Comments, insights, analytics, captions
7. Deployment guide and security review
## Development
```sh
npm run typecheck && npm test && npm run scan-secrets
```
`scan-secrets` runs in CI and should be run before every push; this repository is public.
## License
MIT
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues