Skip to main content
Glama

mcptix

by ownlytics
mcptix.js2.18 kB
#!/usr/bin/env node /** * McpTix CLI * Command-line interface for McpTix */ const { program } = require('commander'); const path = require('path'); const fs = require('fs'); const chalk = require('chalk'); // Read package json const packageJson = require('../package.json'); // In CommonJS, __filename and __dirname are automatically available // Print a colorful banner console.log( chalk.cyan(` ███╗ ███╗ ██████╗██████╗ ████████╗██╗██╗ ██╗ ████╗ ████║██╔════╝██╔══██╗╚══██╔══╝██║╚██╗██╔╝ ██╔████╔██║██║ ██████╔╝ ██║ ██║ ╚███╔╝ ██║╚██╔╝██║██║ ██╔═══╝ ██║ ██║ ██╔██╗ ██║ ╚═╝ ██║╚██████╗██║ ██║ ██║██╔╝ ██╗ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ v${packageJson.version} `), ); // Import commands const init = require('./commands/init'); const start = require('./commands/start'); const mcp = require('./commands/mcp'); // Set up the CLI program program.name('mcptix').description('McpTix - A reusable ticket tracking system').version(packageJson.version); // Init command program.command('init').description('Initialize McpTix in your project').action(init); // Start command program .command('start') .description('Start the McpTix UI (API server only)') .option('-p, --port <port>', 'Port to run the server on', '3000') .option('-h, --host <host>', 'Host to run the server on', 'localhost') .option('--no-open', 'Do not open the browser automatically') .action(start); // MCP command program.command('mcp').description('Start only the MCP server (for development/testing purposes)').action(mcp); // Parse arguments program.parse(process.argv); // If no arguments, show help if (!process.argv.slice(2).length) { program.outputHelp(); }

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/ownlytics/mcptix'

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