Typescript MCP Server

A unified MCP (Model Context Protocol) server that provides advanced code manipulation and analysis capabilities for multiple programming languages

Local serverstdioTypeScript

What is the Typescript MCP MCP server?

A unified MCP (Model Context Protocol) server that provides advanced code manipulation and analysis capabilities for multiple programming languages through Language Server Protocol integration. The typescript mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.

Its toolset

Everything the assistant can do here goes through one of these:

  • lsp_get_hover — Get type information and documentation for symbols
  • lsp_find_references — Find all references to a symbol across the codebase
  • lsp_get_definitions — Navigate to symbol definitions with optional code body
  • lsp_get_diagnostics — Check for errors and warnings in files
  • lsp_get_all_diagnostics — Get diagnostics for entire project
  • lsp_get_document_symbols — List all symbols in a file
  • lsp_get_workspace_symbols — Search symbols across the entire workspace
  • lsp_get_completion — Get code completion suggestions
  • lsp_get_signature_help — Get parameter hints for function calls
  • lsp_format_document — Format entire documents using language server
  • lsp_rename_symbol — Rename symbols across the codebase
  • lsp_get_code_actions — Get available quick fixes and refactorings

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at @mizchi/lsmcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Configuration

  • Node.js 22.0.0 or higher (required for built-in SQLite support)

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Typescript MCP's toolset — lsp_get_hover, lsp_find_references, lsp_get_definitions and 11 more — is a fair guide to whether it matches your workflow. It is maintained by mizchi; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Typescript MCP.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the typescript mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
lsp_get_hoverGet type information and documentation for symbols
lsp_find_referencesFind all references to a symbol across the codebase
lsp_get_definitionsNavigate to symbol definitions with optional code body
lsp_get_diagnosticsCheck for errors and warnings in files
lsp_get_all_diagnosticsGet diagnostics for entire project
lsp_get_document_symbolsList all symbols in a file
lsp_get_workspace_symbolsSearch symbols across the entire workspace
lsp_get_completionGet code completion suggestions
lsp_get_signature_helpGet parameter hints for function calls
lsp_format_documentFormat entire documents using language server
lsp_rename_symbolRename symbols across the codebase
lsp_get_code_actionsGet available quick fixes and refactorings
lsp_delete_symbolDelete a symbol and optionally all its references
lsp_check_capabilitiesCheck supported LSP features

How to install the Typescript MCP MCP server

{
  "mcpServers": {
    "typescript": {
      "command": "npx",
      "args": ["-y", "@mizchi/lsmcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js 22.0.0 or higher (required for built-in SQLite support)

Example prompts to try

  • Use Typescript MCP to lsp get hover.
  • Use Typescript MCP to lsp find references.
  • Use Typescript MCP to lsp get definitions.

Frequently asked questions

It connects Typescript MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (lsp_get_hover, lsp_find_references, lsp_get_definitions, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Typescript MCP directly.