Skip to main content
Glama

Code MCP Server

by block

npm_command

Execute npm commands (e.g., install, test, build) directly within the Code MCP Server, enabling AI agents to manage Node.js project tasks efficiently.

Instructions

Run npm commands (install, test, build, etc)

Input Schema

NameRequiredDescriptionDefault
argsNoAdditional arguments
commandYesnpm command (install, test, run, etc)
cwdNoWorking directory

Input Schema (JSON Schema)

{ "properties": { "args": { "description": "Additional arguments", "items": { "type": "string" }, "type": "array" }, "command": { "description": "npm command (install, test, run, etc)", "type": "string" }, "cwd": { "description": "Working directory", "type": "string" } }, "required": [ "command" ], "type": "object" }

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/block/vscode-mcp'

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