What is the Douyin Mini-Game MCP Server?

The Douyin Mini-Game MCP Server gives AI agents like Claude, ChatGPT, and Cursor direct access to Douyin Mini-Game. Douyin mini-game developer API — manage cloud storage, leaderboards, user sessions, and content moderation for casual games. Powered by the Vinkius AI Gateway — no API keys, no infrastructure, connect in under 2 minutes.

Douyin Mini-Game MCP Server: see your AI Agent in action

AI AgentVinkiusDouyin Mini-Game
You

Vinkius AI Gateway
GDPR·High Security·Kill Switch·Ultra-Low Latency·Plug and Play

Built-in capabilities (10)

check_content_security

) against Douyin's content policies. Returns whether the content is safe or contains prohibited material. Essential for games with user-generated content features. Check user-generated content for policy violations

code2session

This is the standard Douyin login flow: the mini-game client calls tt.login() to get a code, then the server exchanges it for the user session. Exchange login code for user session (openid/session_key)

get_access_token

This token is required for all subsequent API calls including user authentication, cloud storage, analytics, and game features. Tokens expire after a set period (typically 2 hours) and must be refreshed. Get server access token for Douyin mini-game API

get_analytics

Useful for tracking game performance, understanding player retention, and identifying trends. Get game analytics data (DAU, retention, etc.)

get_game_rank

Supports different rank scenes (different leaderboards). Useful for showing players their standing and competitive position. Get user's game rank and leaderboard data

get_user_info

Requires the access token and openid obtained from code2session. Note: Some fields require explicit user authorization. Get Douyin user profile information

get_user_storage

Specify keys to fetch specific fields, or omit keys to fetch all stored data. Useful for loading saved game progress, settings, or user preferences. Retrieve user data from Douyin cloud storage

remove_user_storage

Use this to reset game progress, clear saved data, or remove outdated entries. Requires comma-separated list of keys to remove. Remove specific keys from user cloud storage

set_user_storage

Each key-value pair is a string. Max storage per user is limited. Use this to save game progress, settings, high scores, or user preferences. Requires user login signature for security. Save user data to Douyin cloud storage (key-value)

submit_score

The score is a numeric value. The rank_scene parameter identifies which leaderboard (default 1001). Scores are used for ranking and competitive features. Submit a game score to the leaderboard

What this connector unlocks

Connect your Douyin Mini-Game (抖音小游戏) developer account to any AI agent and manage your casual game backend through natural conversation. Access cloud storage, leaderboards, analytics, and content moderation — all via the Douyin Open Platform API.

What you can do

  • User Authentication — Exchange login codes for session tokens (openid/session_key)
  • Cloud Storage — Save and load user game data (progress, settings, scores) via key-value cloud storage
  • Leaderboards — Submit scores and check player rankings across different game modes
  • Analytics — Track DAU, retention rates, and engagement metrics
  • Content Moderation — Check user-generated text for policy violations before publishing
  • User Profiles — Retrieve player nicknames, avatars, and account details

How it works

1. Subscribe to this server 2. Enter your Douyin Mini-Game App ID and App Secret 3. Start managing your game backend from Claude, Cursor, or any MCP client

Who is this for?

  • Game Developers — Manage cloud saves, leaderboards, and user data
  • Analytics Teams — Monitor retention, DAU trends, and player engagement
  • Moderators — Check user-generated content for policy compliance

Frequently asked questions

Give your AI agents the power of Douyin Mini-Game

Access Douyin Mini-Game and 2,500+ MCP servers — ready for your agents to use, right now. No glue code. No custom integrations. Just plug Vinkius AI Gateway and let your agents work.