cyberneticlibrary

Generate typed CLI commands from MCP tools

mcpmcp_serversetup L30
remorses/goke
What it does

Dynamically generate typed CLI commands from MCP server tools

Best for

Bridge MCP servers into developer CLIs with automatic argument coercion and caching.

Inputs
  • · MCP server URL
  • · tool JSON Schema definitions
Outputs
  • · CLI command with typed --options
  • · cached tool discovery (1hr TTL)
Requires
  • · MCP-compatible server endpoint
  • · optional OAuth provider
Preconditions
  • · goke CLI framework installed
  • · MCP server running on network
Failure modes
  • · schema validation failure
  • · OAuth flow timeout
  • · tool name collision on CLI
Trust signals
  • · Zod schema support
  • · OAuth automatic retry
  • · bidirectional (CLI->MCP + MCP->CLI)