MCP.so
ログイン

TypeScript Package Introspector (MCP Server)

@t3ta

基本情報

カテゴリ

その他

トランスポート

stdio

作者

t3ta

TypeScript Package Introspector について

概要はまだありません

TypeScript Package Introspector の設定

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

{
  "mcpServers": {
    "ts-morph-mcp-server": {
      "command": "node",
      "args": [
        "dist/index.js",
        "zod"
      ]
    }
  }
}

TypeScript Package Introspector のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

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

概要

What is TypeScript Package Introspector (MCP Server)?

TypeScript Package Introspector (MCP Server) is a tool that extracts exported symbols (functions, classes, types, constants) and their type information from TypeScript packages and source code. It can be used as a library, a CLI tool, or as a Model Context Protocol (MCP) server to provide context to LLM applications.

How to use TypeScript Package Introspector (MCP Server)?

Clone the repository, install dependencies with npm install or pnpm install, and build with npm run build. Use the CLI with node dist/index.js <packageName>, the library via introspectFromPackage or introspectFromSource imports, or run the MCP server with npm start.

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
  • Run as an MCP server to provide context to LLMs

Use cases of TypeScript Package Introspector (MCP Server)

  • Introspect npm packages to understand their exported API surface
  • Analyze TypeScript source code for documentation or static analysis
  • Provide package type information to LLMs via the MCP protocol
  • Automatically extract type signatures and JSDoc from codebases

よくある質問

1

What symbols does the tool extract?

It extracts exported functions, classes, types, and constants along with their type signatures and JSDoc documentation.

2

How do I run it as an MCP server?

Build the project with `npm run build`, then start the MCP server with `npm start`. It provides two tools: `introspect-package` and `introspect-source`.

3

What MCP tools are available?

Two tools: `introspect-package` (introspects an npm package by name) and `introspect-source` (introspects TypeScript source code directly).

4

How do I install and set up the server?

Clone the repository, install dependencies using `npm install` or `pnpm install`, and build the project with `npm run build`.

5

What are the dependencies for installation?

The project requires a Node.js environment with npm or pnpm to install dependencies and run build commands.

コメント

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