{"slug":"andyliner13/ts-mcp-server","name":"TypeScript MCP Server","description":"TypeScript MCP server for AI-powered refactoring. Rename symbols, extract functions, move declarations, inline variables, find references, and fix diagnostics â strictly via the native tsserver","category":"development","tags":[],"official":false,"stars":2,"transport":null,"install":[{"cmd":"npx ts-mcp-server","imports":[]}],"tools":[{"name":"rename_symbols","description":"Rename variables, functions, classes, types, properties, interfaces, enums — all references updated across every file"},{"name":"rename_move_files_folders","description":"Rename or move files and folders — all import paths updated automatically"},{"name":"extract_function","description":"Extract a code range into a new function with auto-detected parameters and return type"},{"name":"extract_constant","description":"Extract an expression into a named constant with inferred type"},{"name":"extract_type","description":"Extract an inline type annotation into a named type alias"},{"name":"infer_return_type","description":"Add an explicit return type annotation to a function, inferred by TypeScript"},{"name":"move_symbol","description":"Move top-level declarations to another file, all imports rewired automatically"},{"name":"inline_variable","description":"Replace all references with the variable's initializer and delete the declaration"},{"name":"organize_imports","description":"Sort, coalesce, and remove unused imports"},{"name":"format","description":"Format a range of code according to TypeScript's formatting rules"},{"name":"get_code_fixes","description":"Retrieve available auto-fixes for specific diagnostics (missing imports, type mismatches, etc.)"},{"name":"get_combined_code_fix","description":"Apply a fix-all action for a specific error code across a file"},{"name":"get_diagnostics","description":"Retrieve type errors, warnings, and suggestions for any file"},{"name":"find_all_references","description":"Locate every usage of a symbol across the project"},{"name":"map_code","description":"Map AI-generated code snippets into a file, replacing matching declarations by name or appending new ones"},{"name":"get_supported_code_fixes","description":"List every error code that has an available automatic fix, optionally scoped to a project"},{"name":"quick_info","description":"Full type information, documentation, and JSDoc tags for any symbol (hover info)"},{"name":"navigation_tree","description":"Complete hierarchical structure of a file (all declarations and their nesting)"},{"name":"go_to_definition","description":"Jump to where a symbol is declared"},{"name":"definition_and_bound_span","description":"Like definition, but also returns the text span of the queried symbol"},{"name":"find_source_definition","description":"Navigate to actual TypeScript source instead of .d.ts declaration files"},{"name":"go_to_type_definition","description":"Jump to the type's definition, not the variable's declaration"},{"name":"go_to_implementation","description":"Find concrete implementations of an interface or abstract class"},{"name":"navigate_to_symbol","description":"Workspace-wide symbol search by name"},{"name":"file_references","description":"Find every file that imports a given file (reverse dependency graph)"},{"name":"prepare_call_hierarchy","description":"Get call hierarchy entry point for a function/method"},{"name":"incoming_calls","description":"Find all callers of a function ('who calls this?')"},{"name":"outgoing_calls","description":"Find all callees of a function ('what does this call?')"},{"name":"project_info","description":"Get tsconfig.json path, file list, and language service status"},{"name":"completion_info","description":"Autocomplete suggestions at a position"},{"name":"completion_entry_details","description":"Full documentation and type signature for a completion item"},{"name":"signature_help","description":"Function parameter info and overloads at a call site"},{"name":"document_highlights","description":"All occurrences of a symbol within a file, with read/write distinction"},{"name":"get_applicable_refactors","description":"Discover what refactorings are available at a position or selection"},{"name":"selection_range","description":"Get semantically meaningful selection ranges for smart expand/shrink selection"},{"name":"move_to_refactoring_suggestions","description":"Get suggested target files when moving a symbol"},{"name":"doc_comment_template","description":"Generate JSDoc comment template for a function/method"},{"name":"outlining_spans","description":"Get foldable regions in a file"},{"name":"inlay_hints","description":"Get inlay hints (parameter names, inferred types) for a range"},{"name":"todo_comments","description":"Find all TODO/FIXME/HACK comments in a file"}],"env_vars":[],"auth_type":"none","github":"https://github.com/AndyLiner13/ts-mcp-server","homepage":"","server_url":"","status":"active","source":"mcpservers.org","updated_at":"Thu May 28"}