TypeScript Package Introspector (MCP Server)
Description
# TypeScript Package Introspector (MCP Server) This tool introspects TypeScript packages and source code to extract exported symbols (functions, classes, types, constants) and their type information. It runs as a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/)…
About
# TypeScript Package Introspector (MCP Server) This tool introspects TypeScript packages and source code to extract exported symbols (functions, classes, types, constants) and their type information. It runs as a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server. ## Features - Extract exported…
Details
- Author
- t3ta
- Downloads
- 156
- Categories
- Other
Jump to
- Extract exported symbols from npm packages using 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
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
TypeScript Package Introspector (MCP Server)Command (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Start the MCP server via npx: npx ts-introspect-mcp-server. To integrate with your project, create a .roo/mcp.json configuration file specifying the command and arguments shown in the README. The server provides two MCP tools: introspect-package (for npm packages) and introspect-source (for TypeScript source code).
introspect-package
introspect-source
introspect-project
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"typescript package introspector (mcp server)": {
"ts-introspect": {
"command": "npx",
"args": [
"-y",
"@t3ta/ts-introspect-mcp-server"
]
}
}
}
}
McpServers
{
"ts-introspect": {
"command": "npx",
"args": [
"-y",
"@t3ta/ts-introspect-mcp-server"
]
}
}
TypeScript Package Introspector (MCP Server)
This tool introspects TypeScript packages and source code to extract exported symbols (functions, classes, types, constants) and their type information. It runs as a Model Context Protocol (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 like Claude for Desktop. You can start it using npx:
npx ts-introspect-mcp-server
To integrate it with your project, create a .roo/mcp.json configuration file:
{
"mcpServers": {
"ts-introspect": {
"command": "npx",
"args": ["-y", "ts-introspect-mcp-server"]
}
}
}
MCP Tools
The MCP server provides the following tools:
introspect-package
Introspects an npm package and returns its exported symbols.
Parameters:
- packageName: Name of the npm package to introspect (e.g., 'zod')
introspect-source
Introspects TypeScript source code and returns the exported symbols.
Parameters:
- source: TypeScript source code to analyze
Development
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



