Skip to main content
Glama

GenAIScript

Official
by microsoft
MIT License
43
2,820
  • Linux
  • Apple
system.node_test.genai.mts551 B
system({ title: "Tools to run node.js test script", }) export default function (ctx: ChatGenerationContext) { const { defTool } = ctx defTool( "node_test", "build and test current project using `npm test`", { path: { type: "string", description: "Path to the package folder relative to the workspace root", }, }, async (args) => { return await host.exec("npm", ["test"], { cwd: args.path }) } ) }

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/microsoft/genaiscript'

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