Skip to main content
Glama

Tree-Hugger-JS MCP Server

by qckfx
MIT License
165
1

remove_unused_imports

Remove unused import statements to optimize bundle size, ensure linting compliance, and clean up code during development. Safely detects and eliminates unnecessary imports.

Instructions

Automatically remove unused import statements to clean up code. Safely detects which imports are actually used.

Examples: • Bundle size optimization: remove_unused_imports() to reduce bundle size • Code cleanup: remove_unused_imports() after refactoring • Linting compliance: remove_unused_imports() to fix ESLint warnings • Before deployment: remove_unused_imports({preview: true}) to see what will be removed • Legacy cleanup: remove_unused_imports() after removing old code • Development workflow: remove_unused_imports() during feature development

Input Schema

NameRequiredDescriptionDefault
previewNoReturn preview only without applying changes (default: false). Use to see what will be removed.

Input Schema (JSON Schema)

{ "properties": { "preview": { "description": "Return preview only without applying changes (default: false). Use to see what will be removed.", "type": "boolean" } }, "type": "object" }

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/qckfx/tree-hugger-js-mcp'

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