from typing import Tuple
import os
def validate_api_token() -> Tuple[bool, str]:
"""
Validates if the ClickUp API token is present in environment variables.
Returns:
Tuple[bool, str]: (is_valid, token_or_error_message)
"""
api_token = os.getenv("CLICKUP_API_TOKEN")
if not api_token:
return False, "Error: CLICKUP_API_TOKEN environment variable not set"
return True, api_token
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sksudeepvarma/clickup-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server