TypeScript Agent

•
4
•

Empowers AI coding agents to perform real TypeScript type checking and code navigation by bridging MCP tool calls to the tsgo LSP server.

`typescript-mcp` is a Go-based Model Context Protocol (MCP) server engineered to provide AI coding agents with accurate and reliable TypeScript capabilities. It functions as a critical intermediary, translating high-level MCP tool requests from agents into standard Language Server Protocol (LSP) JSON-RPC messages for the powerful `tsgo` compiler. This architecture ensures that AI agents, such as Claude Code, can execute robust type checking, navigate code, and perform refactoring operations with true TypeScript understanding, eliminating reliance on regex or heuristic methods for superior code interaction.

주요 기능

01Real-time TypeScript diagnostics (errors and warnings)
02Detailed type information and documentation on hover
033 GitHub stars
04Precise code navigation (go-to-definition, find all references)
05Structured outline of file symbols (functions, classes, interfaces)
06Atomic, project-wide symbol renaming with rollback

사용 사례

01Streamline the edit-check-fix development cycle for TypeScript projects by automating error detection and verification.
02Safely refactor TypeScript codebases through automated, project-wide symbol renaming with guaranteed consistency.
03Enhance code exploration by providing AI agents with comprehensive type details and symbol definitions for unfamiliar codebases.