Package Exports
- @treedy/typescript-lsp-mcp
- @treedy/typescript-lsp-mcp/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@treedy/typescript-lsp-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.