ts-introspect-mcp-server

ts-introspect-mcp-server

0

The TypeScript Package Introspector is a tool that extracts exported symbols and their type information from TypeScript packages and source code. It functions as a Model Context Protocol (MCP) server, offering introspection capabilities for LLM applications.

TypeScript Package Introspector (MCP Server)

Features

  • Extract exported symbols from npm packages using their type definitions
  • Analyze TypeScript source code directly
  • Get detailed type signatures for all exported symbols
  • Extract JSDoc comments as descriptions
  • Provide type information to LLMs through MCP

Usage

This tool can be run as an MCP server to provide TypeScript package introspection capabilities to LLM applications. You can start it using npx. The MCP server provides tools like introspect-package and introspect-source for npm packages and TypeScript source code introspection, respectively.

Development

This project can be tested and started in development mode using npm scripts.

License

MIT