Skip to main content
Glama

run_javascript

Execute JavaScript code or scripts using Node.js directly within the Code MCP Server, allowing AI agents to automate and process tasks efficiently.

Instructions

Execute JavaScript code or script with Node.js

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNoCommand line arguments
codeNoJavaScript code to execute
script_pathNoPath to JavaScript file

Latest Blog Posts

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