MCP.so
ログイン

TypeScript Package Introspector (MCP Server)

@t3ta

TypeScript Package Introspector (MCP Server) について

概要はまだありません

基本情報

カテゴリ

その他

ランタイム

node

トランスポート

stdio

公開者

t3ta

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "ts-introspect": {
      "command": "npx",
      "args": [
        "-y",
        "@t3ta/ts-introspect-mcp-server"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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.

コメント

「その他」の他のコンテンツ