import_symbol
Import and inspect JavaScript/TypeScript modules and their properties
How to use it
import_symbol is exposed by the MCP Files MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the import_symbol tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Files
npx clear-npx-cacheOther tools in MCP Files (4)
Insert/replace text at precise line ranges. Perfect for direct line operations from code citations (12:15:file.ts) and surgical edits in large files
Send OS notifications using native notification systems
Find and extract code blocks by symbol name(s) from files. Supports multiple symbols via array
Search and replace with intelligent whitespace handling and automation-friendly multiple match resolution