Skip to main content
Glama
theburgerllc

AI Development Pipeline MCP

by theburgerllc

run_project_tests

Execute project test suites (npm test, yarn test) to validate code functionality and identify issues during development.

Instructions

Run project tests (npm test, yarn test, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The complete inline implementation of the 'run_project_tests' tool handler. It registers the tool with no input parameters and executes 'npm test' using child_process.exec, returning the stdout or error message in MCP content format.
    server.tool( 'run_project_tests', 'Run project tests (npm test, yarn test, etc.)', {}, async () => { return new Promise((resolve) => { exec('npm test', { cwd: process.cwd() }, (error, stdout, stderr) => { if (error) { resolve({ content: [{ type: 'text', text: `Test error: ${stderr || error.message}` }] }); } else { resolve({ content: [{ type: 'text', text: stdout }] }); } }); }); } );
  • Empty schema indicating the tool takes no input parameters.
    {},
  • Registration of the 'run_project_tests' tool using McpServer.tool method.
    server.tool(

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/theburgerllc/ai-development-pipeline-mcp'

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