Typescript Definition Finder icon

Typescript Definition Finder

Locates the original definition of TypeScript symbols within a codebase, aiding AI code editors.

About

The Typescript Definition Finder is a Model Context Protocol (MCP) server designed to assist AI code editors in finding the original definitions of TypeScript symbols within a project. It excels at locating definitions of imported symbols, classes, interfaces, and functions, returning both the definition's location and the corresponding code snippet. Seamless integration with AI code editors is facilitated through a stdio interface, making it a valuable tool for developers seeking to enhance their AI-assisted coding experience.

Key Features

  • Finds original definitions of TypeScript symbols, including imported symbols.
  • Returns both the definition location and code snippet.
  • Supports stdio interface for integration with AI code editors.
  • Provides a 'find_typescript_definition' tool with a trigger command for easy access.
  • Requires only file path, symbol, and line content as input.
  • 0 GitHub stars

Use Cases

  • Locating the definition of a locally defined class or interface.
  • Finding the definition of an imported symbol from an external package.
  • Assisting AI code editors in providing accurate code completion and navigation.
Craft Better Prompts with AnyPrompt