forgejo-mcp/cmd
Christoph Görn ff205dfff1 feat: ✨ add --cli mode for direct tool invocation
Add global --cli flag that bypasses the MCP server and invokes tools
directly from the command line. Supports:
- `--cli list` with domain-grouped output (text/JSON)
- `--cli <tool> --args '{json}'` for tool execution
- `--cli <tool> --help` for parameter schema display
- stdin pipe and --output=json|text control

Partially implements forgejo-cli vision. Follows google_workspace_mcp
CLI mode pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 10:24:55 +01:00
..
cli.go feat: ✨ add --cli mode for direct tool invocation 2026-02-06 10:24:55 +01:00
cmd.go feat: ✨ add --cli mode for direct tool invocation 2026-02-06 10:24:55 +01:00