Skip to main content
Glama

Node Code Sandbox MCP

by mozicim

get_dependency_types

Retrieve TypeScript definitions for npm packages to inspect exposed APIs and types before running Node.js scripts with unfamiliar dependencies.

Instructions

Given an array of npm package names (and optional versions), fetch whether each package ships its own TypeScript definitions or has a corresponding @types/… package, and return the raw .d.ts text.

Useful whenwhen you're about to run a Node.js script against an unfamiliar dependency and want to inspect what APIs and types it exposes.

Input Schema

NameRequiredDescriptionDefault
dependenciesYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "dependencies": { "items": { "additionalProperties": false, "properties": { "name": { "type": "string" }, "version": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" } }, "required": [ "dependencies" ], "type": "object" }

Other Tools from Node Code Sandbox MCP

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/mozicim/node-code-sandbox-mcp'

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