Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DOUYIN_SCOPESNoComma-separated list of granted scopes. Local allowlist only.
DOUYIN_OPEN_IDNoOpen ID of the authorized user.
DOUYIN_APP_TYPENoType of Douyin application (e.g., mobile, web, mini-app).
DOUYIN_DEVICE_IDNoDevice ID from your legitimate integration, required for official search.
DOUYIN_MEDIA_DIRNoAbsolute path to a directory containing approved media for uploads. Relative paths are resolved against this directory.
DOUYIN_STATE_DIRNoAbsolute path to a private state directory for credentials, tokens, and the write ledger. Use separate directories for different accounts/app types.
DOUYIN_CLIENT_KEYNoYour Douyin application client key.
DOUYIN_ACCESS_TOKENNoDirectly supplied user access token, alternative to running `douyin-auth exchange`.
DOUYIN_CLIENT_TOKENNoDirectly supplied client token.
DOUYIN_CLIENT_SECRETNoYour Douyin application client secret.
DOUYIN_ENABLE_WRITESNoSet to 'true' to enable write operations. Actual writes also require `dry_run=false` and an idempotency key.false
DOUYIN_BUSINESS_TOKENNoBusiness token for video analytics (requires separate business relationship flow).
DOUYIN_ENABLE_BROWSERNoSet to 'true' to enable browser-based tools. Requires browser extra and Playwright Chromium profile.false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources