@treedy/typescript-lsp-mcp
v0.1.7
Published
MCP server providing TypeScript/JavaScript code intelligence using the official TypeScript Language Service
Maintainers
Readme
TypeScript LSP MCP Server
A Model Context Protocol (MCP) server that provides TypeScript/JavaScript code intelligence using the official TypeScript Language Service.
Features
Standard LSP Capabilities:
- Hover: Documentation and type info.
- Definition: Jump to definition.
- References: Find usages.
- Completions: Intelligent code completion.
- Signature Help: Parameter hints.
- Symbols: Document symbol search.
Inlay Hints: Reveal inferred types and parameter names inline.
Code Actions: Quick fixes, Organize Imports, Refactorings.
Cross-File Rename: Semantic renaming.
Installation
npm install -g @treedy/typescript-lsp-mcpUsage
Run via command line (stdio):
typescript-lsp-mcpOr via npx:
npx @treedy/typescript-lsp-mcpConfiguration
It uses the tsconfig.json found in the workspace root.
