MCP.so
Sign In

TypeScript Definition Finder MCP Server

@runninghare

About TypeScript Definition Finder MCP Server

A Model Context Protocol (MCP) server that helps AI code editors find TypeScript symbol definitions in your codebase.

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "ts-def-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@runninghare/ts-def-mcp",
        "--client",
        "claude"
      ]
    }
  }
}

Tools

No tools detected

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is TypeScript Definition Finder MCP Server?

An MCP server that helps AI code editors locate the original definition of TypeScript symbols in a codebase, including imported symbols from external packages.

How to use TypeScript Definition Finder MCP Server?

Install via Smithery (npx -y @smithery/cli install @runninghare/ts-def-mcp --client claude) or manually with bun install and bun run build. Start the server with node dist/run.js. Use the tool find_typescript_definition (trigger /ts-def) with parameters file_path, line_content, and column_number.

Key features of TypeScript Definition Finder MCP Server

  • 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 AI code editor integration
  • Trigger command /ts-def available in Cursor

Use cases of TypeScript Definition Finder MCP Server

  • Locating the original definition of an imported symbol in a TypeScript project
  • Finding where a class, interface, or function is defined in the local codebase
  • Assisting AI code editors to navigate to symbol definitions during code generation or refactoring

FAQ from TypeScript Definition Finder MCP Server

Comments

More Other MCP servers