Skip to main content
Glama

DevFlow MCP

by Takin-Profit
bash-complete.ts669 B
#!/usr/bin/env node /** * Bash Autocomplete Support * Handles bash completion for the dfm CLI */ import { proposeCompletions } from "@stricli/core" import { app, buildCliContext } from "#cli/app" // Bash completion starts after argv[0] (node), argv[1] (script), argv[2] (command) const COMPLETION_ARGS_START_INDEX = 3 const inputs = process.argv.slice(COMPLETION_ARGS_START_INDEX) if (process.env.COMP_LINE?.endsWith(" ")) { inputs.push("") } try { for (const { completion } of await proposeCompletions( app, inputs, buildCliContext(process) )) { process.stdout.write(`${completion}\n`) } } catch { // ignore errors during completion }

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/Takin-Profit/devflow-mcp'

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