LamaTok — TikTok MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LAMATOK_KEY | Yes | Your LamaTok access key (sent as x-access-key header) | |
| LAMATOK_URL | No | Base URL | https://api.lamatok.com |
| LAMATOK_TAGS | No | Whitelist: only include operations with these tags (comma-separated) | |
| LAMATOK_SPEC_URL | No | OpenAPI spec URL | ${LAMATOK_URL}/openapi.json |
| LAMATOK_TIMEOUT_MS | No | Per-request timeout for API calls | 30000 |
| LAMATOK_EXCLUDE_TAGS | No | Blacklist: additional tags to exclude (on top of Legacy, System, /sys) | |
| LAMATOK_MAX_SPEC_BYTES | No | Max bytes read from the OpenAPI spec | 8388608 |
| LAMATOK_SPEC_TIMEOUT_MS | No | Timeout for the startup spec fetch | 60000 |
| LAMATOK_MAX_RESPONSE_BYTES | No | Max bytes read from each API response | 10485760 |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_v1_user_by_usernameA | Get a TikTok profile by username (without @). Use it first for any account; if it answers 404 ProfileUnavailable, use |
| get_v1_user_following_by_secUidA | List accounts a TikTok user follows by |
| get_v1_user_followers_by_secUidA | List a TikTok user's followers by |
| get_v1_user_suggested_by_secUidA | List the accounts TikTok suggests as related to a user, by |
| get_v1_user_following_by_usernameA | List accounts a TikTok user follows by username, one page per call. Use it when you have a handle; use |
| get_v1_user_followers_by_usernameA | List a TikTok user's followers by username, one page per call. Use it when you have a handle; use |
| get_v1_user_suggested_by_usernameA | List the accounts TikTok suggests as related to a user, by username, one page per call. Use it to find similar accounts when you have a handle; use |
| get_v1_user_playlists_by_usernameA | List a TikTok user's playlists by username, one page per call. Use it when you have a handle; use |
| get_v1_user_playlists_by_secUidA | List a TikTok user's playlists by |
| get_v1_media_by_idA | Get a TikTok video by numeric video id. Use it when you have the id from another tool; use |
| get_v1_media_comments_by_idA | Get comments on a TikTok video, one page per call. Use |
| get_v1_media_comment_replies_by_idA | Get replies under one comment of a TikTok video, one page per call. Use it to read a thread; use |
| get_v1_media_by_urlA | Get a TikTok video by its link. Use it when you have a tiktok.com URL; use |
| get_v1_media_video_download_by_idA | Get a download link for a TikTok video by video id. Returns the file URL and the HTTP headers to send with it; the file itself is not downloaded. |
| get_v1_media_video_download_by_urlA | Get a download link for a TikTok video by its URL. Returns the file URL and the HTTP headers to send with it; the file itself is not downloaded. |
| get_v1_media_music_download_by_idA | Get a download link for the audio track of a TikTok video, by video id. Returns the file URL and the HTTP headers to send with it; the file itself is not downloaded. Use |
| get_v1_media_music_download_by_urlA | Get a download link for the audio track of a TikTok video, by the video's URL. Returns the file URL and the HTTP headers to send with it; the file itself is not downloaded. Use |
| get_v1_hashtag_infoA | Get a TikTok hashtag (challenge) by name: pass |
| get_v1_hashtag_mediasA | List videos under a TikTok hashtag, one page per call. Pass the hashtag |
| get_v2_searchA | Search TikTok by keyword, one page per call. Use it when you have a topic rather than a handle, link or id; use |
| get_v2_user_medias_by_secUidA | List a TikTok user's videos, one page per call. Use it to read an account's content; use |
| get_v2_user_likes_by_secUidA | List videos a TikTok user has liked, one page per call. Use |
| get_v3_user_by_usernameA | Get a TikTok profile by username, including profiles TikTok does not serve on the web (the ones |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 23 tools
Tools are mostly distinct by resource and identifier type (username vs secUid, id vs url), and descriptions explicitly cross-reference alternatives. However, the many near-duplicate pairs (e.g. following by username vs secUid, download by id vs url) require careful reading to avoid misselection.
All tool names follow a highly consistent snake_case pattern: get_<version>_<resource>_<action>_<qualifier>. The version prefixes (v1, v2, v3) are the only variation and clearly reflect API endpoints.
23 tools is on the heavy side for a single MCP server, falling into the 16-25 borderline range. While each tool maps to a distinct TikTok API endpoint, the set feels large and could overwhelm an agent without strong routing guidance.
The surface covers user profiles, relationships, playlists, media, downloads, comments, hashtags, and search well. Minor gaps exist, such as no direct user lookup by secUid and no trending/live endpoints, but core read-only TikTok workflows are supported.