Skip to main content
Glama

FastMCP Development Assistant

fetch-npm-types

Retrieve TypeScript type definitions for specified NPM packages, sourced either from the main package or @types/. Supports version and search mode customization for precise type retrieval.

Instructions

指定されたNPMパッケージのTypeScript型定義を取得します。メインパッケージの型定義または@types/パッケージから取得します。

Input Schema

NameRequiredDescriptionDefault
packageNameYesNPMパッケージ名(例: 'express', 'react')
searchModeNo検索モード: 'main'=メインパッケージのみ, 'types-package'=@types/パッケージのみ, 'search'=両方を検索main
versionNoバージョン(デフォルト: 'latest')latest

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "packageName": { "description": "NPMパッケージ名(例: 'express', 'react')", "type": "string" }, "searchMode": { "default": "main", "description": "検索モード: 'main'=メインパッケージのみ, 'types-package'=@types/パッケージのみ, 'search'=両方を検索", "enum": [ "main", "types-package", "search" ], "type": "string" }, "version": { "default": "latest", "description": "バージョン(デフォルト: 'latest')", "type": "string" } }, "required": [ "packageName" ], "type": "object" }

Other Tools from FastMCP Development Assistant

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kongyo2/My-FastMCP-Development-Assistant-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server