typescript-definition-finder-mcp
A Model Context Protocol (MCP) server that helps AI code editors find TypeScript symbol definitions in your codebase.
Top Comments
The TypeScript Definition Finder MCP Server is a specialized tool designed to assist AI code editors in locating the original definitions of TypeScript symbols within a codebase. This server is particularly beneficial for developers working with TypeScript projects, as it can identify the source of imported symbols, classes, interfaces, or functions. By providing both the location and a code snippet of the definition, it enhances the efficiency of code navigation and understanding. The server operates via a stdio interface, allowing seamless integration with various AI code editors. It requires a TypeScript project setup and Node.js for execution. The server can be installed using Smithery and is compatible with several AI code editors, including Claude Desktop, Cursor, Windsurf, and Roo Cline Editor.
Features
- Finds original definitions of TypeScript symbols
- Works with imported symbols from external packages
- Returns both the definition location and code snippet
- Supports stdio interface for seamless integration with AI code editors
MCP Tools
- find_typescript_definition: Locates the original definition of TypeScript symbols in your codebase
Usage with Different Platforms
installing_via_smithery
bash
npx -y @smithery/cli install @runninghare/typescript-definition-finder-mcp --client claude
running_the_mcp_server
bash
npx -y ts-def-mcp@latest
running_in_development_mode
bash
bun run src/index.ts
Related MCP Servers
View all developer_tools servers →Everything MCP Server
by modelcontextprotocol
The Everything MCP Server is a test server for evaluating the features of the Model Context Protocol (MCP). It provides various tools, resources, and prompts to demonstrate and test the server's capabilities, suitable for MCP client developers.
Sequential Thinking
by modelcontextprotocol
The Sequential Thinking MCP Server is designed to offer a structured process for dynamic problem-solving and analysis. It helps users to break down complex issues into manageable thoughts, refine them, and explore alternative reasoning paths while maintaining the flexibility to adjust dynamically.
context7
by upstash
Context7 MCP delivers up-to-date, version-specific code documentation into any AI prompt, eliminating the reliance on outdated or hallucinated code examples typically offered by LLMs. With versions available for multiple platforms and comprehensive troubleshooting support, Context7 streamlines coding with its on-demand, accurate documentation.