Skip to main content
Glama

Tree-Hugger-JS MCP Server

by qckfx
MIT License
165
1

get_imports

Analyze and extract all import statements in JavaScript/TypeScript projects for dependency audits, bundle optimization, security checks, refactoring, and license compliance.

Instructions

Get all import statements with detailed module and specifier information. Essential for dependency analysis.

Examples: • Dependency audit: get_imports() to see all external dependencies • Bundle analysis: get_imports() to identify heavy imports • Security audit: get_imports() to check for suspicious packages • TypeScript analysis: get_imports({includeTypeImports: false}) to focus on runtime imports • Refactoring prep: get_imports() to understand module structure before changes • License compliance: get_imports() to generate dependency list

Input Schema

NameRequiredDescriptionDefault
includeTypeImportsNoInclude TypeScript type-only imports (default: true). Set false for runtime dependency analysis.

Input Schema (JSON Schema)

{ "properties": { "includeTypeImports": { "description": "Include TypeScript type-only imports (default: true). Set false for runtime dependency analysis.", "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