Skip to main content
Glama

mcp-google-sheets

build-piece.ts896 B
import { Command } from "commander"; import { buildPiece, findPiece } from '../utils/piece-utils'; import chalk from "chalk"; import inquirer from "inquirer"; async function buildPieces(pieceName: string) { const pieceFolder = await findPiece(pieceName); const { outputFolder } = await buildPiece(pieceFolder); console.info(chalk.green(`Piece '${pieceName}' built and packed successfully at ${outputFolder}.`)); } export const buildPieceCommand = new Command('build') .description('Build pieces without publishing') .action(async () => { const questions = [ { type: 'input', name: 'name', message: 'Enter the piece folder name', placeholder: 'google-drive', }, ]; const answers = await inquirer.prompt(questions); await buildPieces(answers.name); });

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/activepieces/activepieces'

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