login
Authenticate to ThumbAPI by opening a browser for user consent, saving the returned API key to config. Use when prompted for API key or when generating thumbnails fails without key.
Instructions
Sign the MCP server in to ThumbAPI. Opens a browser to app.thumbapi.dev/mcp-login, asks the user to consent, and saves the returned API key to ~/.thumbapi/config.json.
Call this tool when:
The user asks to log in / sign in / authenticate to ThumbAPI.
Another tool (generate_thumbnail) returns "no API key found".
The tool blocks up to ~30s per invocation waiting for the browser callback. If the user hasn't consented yet, it returns "still waiting" — just call login again to keep waiting. The underlying local callback server stays alive across calls for up to 15 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||