feat: CLI tool for human/AI MCP tool access over Streamable HTTP (stdio bridge) #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Add a CLI tool (
cmd/amcs-clior similar) that lets humans and AI agents quickly invoke any AMCS MCP tool from the command line. The CLI must bridge MCP over stdio so AI clients that speak the stdio MCP transport can connect to the remote AMCS server. Optional output is set to JSON or YML for human readable output.Key Requirement
The CLI must connect to the MCP server via URL + bearer token — not a local socket or in-process connection.
Requirements
Human-facing UX
amcs-cli call <tool_name> [args...]for scripting--server <url>and--token <token>flags (also readable from env:AMCS_URL,AMCS_TOKEN)AI stdio bridge
amcs-cli stdio(or similar), act as a stdio MCP server that proxies all tool calls to the remote AMCS HTTP endpoint--server <url> --token <token>(or env vars)Config
~/.config/amcs/config.yaml) for default server URL and tokenAcceptance Criteria
amcs-cli call capture_thought --content "hello"works end-to-endamcs-cli stdio --server https://... --token ...acts as a valid stdio MCP serveramcs-cli toolslists all available tools from the remote server