Skip to main content
Glama

ClickUp MCP

by TwoFeetUp
fix-sponsor.py993 B
import re import glob files = glob.glob('src/**/*.ts', recursive=True) count = 0 for filepath in files: try: with open(filepath, 'r', encoding='utf-8') as f: content = f.read() original = content # Pattern to match sponsorService.createResponse with 2 arguments (including multiline) # This matches: sponsorService.createResponse( ... , true/false) pattern = r'sponsorService\.createResponse\(((?:[^()]|\([^()]*\))*?),\s*(?:true|false)\s*\)' def replace_match(match): return f'sponsorService.createResponse({match.group(1)})' new_content = re.sub(pattern, replace_match, content, flags=re.DOTALL) if new_content != original: with open(filepath, 'w', encoding='utf-8') as f: f.write(new_content) count += 1 print(f'Fixed: {filepath}') except Exception as e: print(f'Error in {filepath}: {e}') print(f'\nTotal files fixed: {count}')

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/TwoFeetUp/clickup-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server