Skip to main content
Glama
by akuity
cmd.ts896 B
import yargs from 'yargs'; import { hideBin } from 'yargs/helpers'; import { connectStdioTransport, connectHttpTransport, connectSSETransport } from '../server/transport.js'; export const cmd = () => { const exe = yargs(hideBin(process.argv)); exe.command( 'stdio', 'Start ArgoCD MCP server using stdio.', () => {}, () => connectStdioTransport() ); exe.command( 'sse', 'Start ArgoCD MCP server using SSE.', (yargs) => { return yargs.option('port', { type: 'number', default: 3000 }); }, ({ port }) => connectSSETransport(port) ); exe.command( 'http', 'Start ArgoCD MCP server using Http Stream.', (yargs) => { return yargs.option('port', { type: 'number', default: 3000 }); }, ({ port }) => connectHttpTransport(port) ); exe.demandCommand().parseSync(); };

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/akuity/argocd-mcp'

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