tokportal-cli
Official@tokportal/cli
TokPortal은 관리형 소셜 인프라 API입니다. 16개 이상의 국가에서 인간 계정 관리자가 생성, 워밍 및 운영하는 실제 TikTok, Instagram 및 YouTube 계정을 REST API 및 MCP 서버로 제공합니다. 계정당 OAuth가 필요 없고, 하루 25개 게시물 제한이 없으며, 앱 리뷰도 필요 없습니다.
문서 https://developers.tokportal.com · API 베이스 https://app.tokportal.com/api/ext · OpenAPI https://developers.tokportal.com/openapi.json · MCP 원격 https://app.tokportal.com/api/ext/mcp · API 키 받기 https://app.tokportal.com/developer/api-keys · llms.txt https://developers.tokportal.com/llms.txt
@tokportal/cli는 TokPortal API의 공식 명령줄 인터페이스입니다. API 작업당 하나의 명령어로, OpenAPI에서 생성되었으며 JSON 입력/JSON 출력 방식입니다. 스크립트, CI 및 빠른 확인에 이상적입니다. Node 18+가 필요합니다.
설치
npm install -g @tokportal/cli
# or without installing:
npx @tokportal/cli get-current-userRelated MCP server: apollo-mcp
30초 퀵스타트
export TOKPORTAL_API_KEY=sk_your_key_here
# who am I / credit balance
tokportal get-current-user
tokportal get-credit-balance
# create a 1-video TikTok bundle in the USA and capture its id (credits are debited here)
BUNDLE_ID=$(tokportal create-bundle --body '{"bundle_type":"account_and_videos","platform":"tiktok","country":"USA","title":"US launch","videos_quantity":1}' | jq -r .data.id)
# upload the video from disk -> public_url
VIDEO_URL=$(tokportal upload-video-direct --file ./launch.mp4 --bundle_id "$BUNDLE_ID" | jq -r .data.public_url)
# configure the account profile + video slot 1, then publish
tokportal configure-bundle-account --id "$BUNDLE_ID" --body '{"username":"mybrand.us","visible_name":"My Brand","biography":"Official account"}'
tokportal configure-bundle-video --id "$BUNDLE_ID" --position 1 --body "{\"video_type\":\"video\",\"video_url\":\"$VIDEO_URL\",\"description\":\"Day 1 #launch\",\"target_publish_date\":\"2026-09-01\"}"
tokportal get-bundle-publish-readiness --id "$BUNDLE_ID"
tokportal publish-bundle --id "$BUNDLE_ID"
# follow progress
tokportal get-bundle --id "$BUNDLE_ID"
tokportal help # list every generated command참조
npm install -g @tokportal/cli
export TOKPORTAL_API_KEY=sk_your_key_here
tokportal get-current-user
tokportal list-bundles --page 1 --per_page 25
tokportal create-bundle --body '{"bundle_type":"account_and_videos","country":"USA","videos_quantity":5}'
tokportal upload-video-direct --file ./video.mp4 --bundle_id 00000000-0000-0000-0000-000000000000CLI는 관찰 가능성 및 지원 진단을 위해 API 요청에 X-TokPortal-Client: tokportal-cli/0.1.2를 전송합니다.
멀티파트 업로드 명령어도 OpenAPI에서 생성됩니다. 바이너리 필드에는 --file <path>를 사용하고, --bundle_id 또는 --auto_publish와 같은 양식 필드는 일반 플래그로 전달하세요.
실패한 API 응답은 사용 가능한 헤더가 있을 때 request_id, retry_after_seconds 및 rate_limit를 포함하는 diagnostics 객체와 함께 출력됩니다.
변경 가능한 뮤테이션에만 --idempotency-key를 사용하세요. CLI는 자격 증명 공개, 확인 코드 검색, 웹훅 생성, 서명된 이미지/비디오 업로드 URL 생성 및 분석 보고서 생성에 대해 로컬에서 이를 거부합니다. 이러한 응답에는 비밀이 포함되어 있으며 재생을 위해 저장되지 않기 때문입니다.
CLI는 공개 OpenAPI 스키마에서 생성됩니다. tokportal help를 사용하여 생성된 명령어를 나열하세요.
진실의 원천
이 패키지는 비공개 TokPortal 모노레포의 TokPortal 공개 OpenAPI 스키마(https://developers.tokportal.com/openapi.json)에서 생성됩니다. 생성된 파일(src/generated.ts)은 릴리스 시마다 덮어쓰여집니다. 수동으로 편집하지 마세요. PR로 받아들이는 내용은 CONTRIBUTING.md를 참조하고, 취약점 보고는 SECURITY.md를 참조하세요.
링크
SDK 및 CLI 가이드: https://developers.tokportal.com/sdks-cli
MCP 서버: https://developers.tokportal.com/mcp ·
tokportal-mcpAPI 참조(OpenAPI): https://developers.tokportal.com/openapi.json
기타 패키지:
@tokportal/node·@tokportal/cli·tokportal(PyPI) ·github.com/tokportal/tokportal-go
MIT © TokPortal
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Publish and schedule videos to TikTok, YouTube Shorts, Instagram, Facebook, LinkedIn, Pinterest, Bluesky, Threads and X from Claude, Cursor or any MCP client. Upload once, post everywhere, track views in unified analytics, and retry failed posts. Official platform APIs only, free plan available. Docs: https://docs.multi-upload-tool.com/mcp
Public TikTok profiles, videos, comments and keyword search as JSON. No developer account.
Validate, schedule and publish posts to TikTok, Instagram, Facebook, YouTube, Threads, Bluesky, X.
Schedule and publish posts to TikTok, Instagram, YouTube, LinkedIn and more from any AI agent. Connect your social accounts once, then let Claude, ChatGPT or any MCP client create, schedule, edit and review posts across every platform. Upload images and videos to your media library and attach them to posts. Signs in with OAuth; HubPost never sees your passwords. Also available in the [Claude directory](https://claude.ai/directory/hubpost) and as a [ChatGPT app](https://chatgpt.com/plugins/plugin_asdk_app_6ab141477a708191a7c5f68714ee7c39). Setup guide: [hubpost.co/mcp](https://hubpost.co/mcp?utm_source=glama&utm_medium=mcp-directory).
Related MCP Servers
- AlicenseAqualityCmaintenanceTikTok creator toolkit for AI assistants. Four tools: download watermark-free videos by URL, look up curated 15-hashtag sets for 15 niches with strategy tips, retrieve best posting times for 12 countries, and generate viral hook formulas across 8 categories. Stdio transport, runs via npx -y tiktapdown-mcp, no API keys, no signup, free. MIT license.1082 npm1MIT
- AlicenseBqualityCmaintenanceProvides 45 MCP tools to search, enrich, and manage Apollo.io B2B data (people, companies, CRM, deals, tasks, sequences, etc.) via stdio or HTTP transport.451MIT

tokportal-mcpofficial
AlicenseCqualityBmaintenanceOfficial MCP server for the TokPortal API, exposing 91 tools to create bundles, upload and publish videos, configure accounts, read analytics, and manage webhooks for real TikTok, Instagram, and YouTube accounts in any MCP client.911,128 npm1MIT- AlicenseAqualityDmaintenanceEnables downloading TikTok videos and photos without watermarks, extracting metadata and analytics, and performing bulk downloads of user profiles via CLI or as an MCP server for AI assistants.51MIT