TypeScript Package Introspector (MCP Server)
@t3ta
About TypeScript Package Introspector (MCP Server)
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"ts-introspect": {
"command": "npx",
"args": [
"-y",
"@t3ta/ts-introspect-mcp-server"
]
}
}
}Tools
3Overview
What is TypeScript Package Introspector (MCP Server)?
This tool extracts exported symbols (functions, classes, types, constants) and their type information from TypeScript packages and source code. It runs as a Model Context Protocol (MCP) server, designed for LLM applications like Claude for Desktop to inspect type definitions.
How to use TypeScript Package Introspector (MCP Server)?
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).
Key features of TypeScript Package Introspector (MCP Server)
- 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
Use cases of TypeScript Package Introspector (MCP Server)
- Give an LLM access to a package’s exported API without manual documentation
- Dynamically inspect third‑party type definitions during code generation
- Analyze local TypeScript source code for symbol extraction
FAQ from TypeScript Package Introspector (MCP Server)
How do I start the MCP server?
Run npx ts-introspect-mcp-server in your terminal.
What tools does the server provide?
Two tools: introspect-package (introspects an npm package) and introspect-source (introspects TypeScript source code directly).
How do I specify which package to introspect?
For introspect-package, provide the packageName parameter (e.g., 'zod'). For introspect-source, provide the source parameter containing the TypeScript code.
Does the tool include JSDoc comments?
Yes, JSDoc comments are extracted as descriptions for the exported symbols.
Frequently asked questions
How do I start the MCP server?
Run `npx ts-introspect-mcp-server` in your terminal.
What tools does the server provide?
Two tools: `introspect-package` (introspects an npm package) and `introspect-source` (introspects TypeScript source code directly).
How do I specify which package to introspect?
For `introspect-package`, provide the `packageName` parameter (e.g., `'zod'`). For `introspect-source`, provide the `source` parameter containing the TypeScript code.
Does the tool include JSDoc comments?
Yes, JSDoc comments are extracted as descriptions for the exported symbols.
Basic information
More Other MCP servers
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。

Glasswarp
GlasswarpSee and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Comments