L

Lamatok MCP

by subzeroid · io.github.subzeroid/lamatok-mcp

MCP server for LamaTok TikTok data API — auto-generates 20+ tools from the live OpenAPI spec (users, videos, hashtags, music, comments). Local stdio via npx -y lamatok-mcp, requires only LAMATOK_KEY.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-subzeroid-lamatok-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lamatok-mcp"
      ],
      "env": {
        "LAMATOK_KEY": "<YOUR_VALUE>",
        "LAMATOK_TOOLS": "core",
        "LAMATOK_URL": "https://api.lamatok.com",
        "LAMATOK_TAGS": "<VALUE>",
        "LAMATOK_SPEC_URL": "${LAMATOK_URL}/openapi.json",
        "LAMATOK_TIMEOUT_MS": "30000",
        "LAMATOK_EXCLUDE_TAGS": "<VALUE>",
        "LAMATOK_MAX_SPEC_BYTES": "8388608",
        "LAMATOK_SPEC_TIMEOUT_MS": "60000",
        "LAMATOK_MAX_RESPONSE_BYTES": "10485760"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-subzeroid-lamatok-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lamatok-mcp"
      ],
      "env": {
        "LAMATOK_KEY": "<YOUR_VALUE>",
        "LAMATOK_TOOLS": "core",
        "LAMATOK_URL": "https://api.lamatok.com",
        "LAMATOK_TAGS": "<VALUE>",
        "LAMATOK_SPEC_URL": "${LAMATOK_URL}/openapi.json",
        "LAMATOK_TIMEOUT_MS": "30000",
        "LAMATOK_EXCLUDE_TAGS": "<VALUE>",
        "LAMATOK_MAX_SPEC_BYTES": "8388608",
        "LAMATOK_SPEC_TIMEOUT_MS": "60000",
        "LAMATOK_MAX_RESPONSE_BYTES": "10485760"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-subzeroid-lamatok-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lamatok-mcp"
      ],
      "env": {
        "LAMATOK_KEY": "<YOUR_VALUE>",
        "LAMATOK_TOOLS": "core",
        "LAMATOK_URL": "https://api.lamatok.com",
        "LAMATOK_TAGS": "<VALUE>",
        "LAMATOK_SPEC_URL": "${LAMATOK_URL}/openapi.json",
        "LAMATOK_TIMEOUT_MS": "30000",
        "LAMATOK_EXCLUDE_TAGS": "<VALUE>",
        "LAMATOK_MAX_SPEC_BYTES": "8388608",
        "LAMATOK_SPEC_TIMEOUT_MS": "60000",
        "LAMATOK_MAX_RESPONSE_BYTES": "10485760"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-subzeroid-lamatok-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lamatok-mcp"
      ],
      "env": {
        "LAMATOK_KEY": "<YOUR_VALUE>",
        "LAMATOK_TOOLS": "core",
        "LAMATOK_URL": "https://api.lamatok.com",
        "LAMATOK_TAGS": "<VALUE>",
        "LAMATOK_SPEC_URL": "${LAMATOK_URL}/openapi.json",
        "LAMATOK_TIMEOUT_MS": "30000",
        "LAMATOK_EXCLUDE_TAGS": "<VALUE>",
        "LAMATOK_MAX_SPEC_BYTES": "8388608",
        "LAMATOK_SPEC_TIMEOUT_MS": "60000",
        "LAMATOK_MAX_RESPONSE_BYTES": "10485760"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-subzeroid-lamatok-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lamatok-mcp"
      ],
      "env": {
        "LAMATOK_KEY": "<YOUR_VALUE>",
        "LAMATOK_TOOLS": "core",
        "LAMATOK_URL": "https://api.lamatok.com",
        "LAMATOK_TAGS": "<VALUE>",
        "LAMATOK_SPEC_URL": "${LAMATOK_URL}/openapi.json",
        "LAMATOK_TIMEOUT_MS": "30000",
        "LAMATOK_EXCLUDE_TAGS": "<VALUE>",
        "LAMATOK_MAX_SPEC_BYTES": "8388608",
        "LAMATOK_SPEC_TIMEOUT_MS": "60000",
        "LAMATOK_MAX_RESPONSE_BYTES": "10485760"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-subzeroid-lamatok-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lamatok-mcp"
      ],
      "env": {
        "LAMATOK_KEY": "<YOUR_VALUE>",
        "LAMATOK_TOOLS": "core",
        "LAMATOK_URL": "https://api.lamatok.com",
        "LAMATOK_TAGS": "<VALUE>",
        "LAMATOK_SPEC_URL": "${LAMATOK_URL}/openapi.json",
        "LAMATOK_TIMEOUT_MS": "30000",
        "LAMATOK_EXCLUDE_TAGS": "<VALUE>",
        "LAMATOK_MAX_SPEC_BYTES": "8388608",
        "LAMATOK_SPEC_TIMEOUT_MS": "60000",
        "LAMATOK_MAX_RESPONSE_BYTES": "10485760"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
LAMATOK_KEY secret Yes Your LamaTok access key (sent as x-access-key header)
LAMATOK_TOOLS No core (default): 23 curated tools, one per task. all: every endpoint. Default: core
LAMATOK_URL No Base URL Default: https://api.lamatok.com
LAMATOK_TAGS No Whitelist: only include operations with these tags (comma-separated)
LAMATOK_SPEC_URL No OpenAPI spec URL Default: ${LAMATOK_URL}/openapi.json
LAMATOK_TIMEOUT_MS No Per-request timeout for API calls Default: 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 Default: 8388608
LAMATOK_SPEC_TIMEOUT_MS No Timeout for the startup spec fetch Default: 60000
LAMATOK_MAX_RESPONSE_BYTES No Max bytes read from each API response Default: 10485760

Similar servers