jaenster

TS Lsp MCP — AI skill for Claude Code

AI community

Give AI agents IDE superpowers for TypeScript.

How to install TS Lsp MCP

This entry records only its repository, not the path inside it, so there is no exact command to give. Open jaenster/ts-lsp-mcp and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What TS Lsp MCP does

Give AI agents IDE superpowers for TypeScript.

Alternatives in AI

  • Open Knowledge — Beautiful, AI-native markdown IDE and LLM wiki 3.7k ★
  • Empryo — Empryo issue tracker + SoulForge (v2) 1.1k ★
  • Octocode — Structural code intelligence for AI agents — semantic search, knowledge graphs, and a built-in MCP server in o 464 ★

README

ts-lsp-mcp

[![npm version](https://img.shields.io/npm/v/ts-lsp-mcp.svg)](https://www.npmjs.com/package/ts-lsp-mcp) [![npm downloads](https://img.shields.io/npm/dm/ts-lsp-mcp.svg)](https://www.npmjs.com/package/ts-lsp-mcp) [![license](https://img.shields.io/npm/l/ts-lsp-mcp.svg)](https://github.com/jaenster/ts-lsp-mcp/blob/main/LICENSE)

MCP server exposing TypeScript LSP-like functionality to AI agents.

Gives AI agents the same "what's the type at this position?" powers that IDE users have.

Quick Start

Install into Claude Code

# Install to current project (recommended)
npx ts-lsp-mcp install cc

# Or install globally for all projects
npx ts-lsp-mcp install cc --global

That's it! The MCP server is now available to Claude Code.

Uninstall

npx ts-lsp-mcp uninstall cc

Manual Installation

Global npm install

npm install -g ts-lsp-mcp
ts-lsp-mcp install cc

Manual config

Add to your Claude Code MCP config (`.mcp.json` in project or `~/.claude/settings.json` globally):

{
  "mcpServers": {
    "ts-lsp-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "ts-lsp-mcp", "serve", "--stdio"]
    }
  }
}

HTTP/SSE Mode

For remote clients or debugging:

ts-lsp-mcp --http --port 3000

Endpoints:

  • GET /sse - SSE connection
  • POST /message - Send messages
  • GET /health - Health check

Available Tools

Tool Description
getTypeAtPosition Get the TypeScript type at a specific file:line:col
getDefinition Go to definition
getReferences Find all references
getHover Get hover documentation
getCompletions Get autocomplete suggestions
getDiagnostics Get type errors and warnings
traceType Trace where a type comes from and how it's composed
runTypeTests Run type assertions from @ts-lsp-mcp comments
checkInlineCode Type-check inline TypeScript without creating files