#!/usr/bin/env node
import { Command } from 'commander';
import packageJson from '../package.json' assert { type: 'json' };
import { boilerplateCommand } from './commands/boilerplate';
import { mcpServeCommand } from './commands/mcp-serve';
import { scaffoldCommand } from './commands/scaffold';
/**
* Main entry point
*/
async function main() {
const program = new Command();
program
.name('scaffold-mcp')
.description('MCP server for scaffolding applications with boilerplate templates')
.version(packageJson.version);
// Add all commands
program.addCommand(mcpServeCommand);
program.addCommand(boilerplateCommand);
program.addCommand(scaffoldCommand);
// Parse arguments
await program.parseAsync(process.argv);
}
main();
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/AgiFlow/aicode-toolkit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server