cmd/amcs-cli — a CLI tool that connects to the AMCS MCP server over HTTP (URL + bearer token).
Commands
amcs-cli tools # list all tools from remote server
amcs-cli call <tool> --arg k=v # invoke a tool, print result
amcs-cli stdio # stdio↔HTTP MCP bridge for AI clients
amcs-cli stdio acts as a stdio MCP server, proxying all MCP tool traffic to the remote HTTP endpoint. Allows AI clients that only speak stdio MCP to use a remote AMCS server.
Build
make build-cli
Closes #18
## What this adds
`cmd/amcs-cli` — a CLI tool that connects to the AMCS MCP server over HTTP (URL + bearer token).
### Commands
```
amcs-cli tools # list all tools from remote server
amcs-cli call <tool> --arg k=v # invoke a tool, print result
amcs-cli stdio # stdio↔HTTP MCP bridge for AI clients
```
### Config
Precedence: config file < env < flags
```yaml
# ~/.config/amcs/config.yaml
server: https://amcs.example.com
token: your-api-key
```
Or via env: `AMCS_URL`, `AMCS_TOKEN`
Or via flags: `--server`, `--token`
### stdio bridge
`amcs-cli stdio` acts as a stdio MCP server, proxying all MCP tool traffic to the remote HTTP endpoint. Allows AI clients that only speak stdio MCP to use a remote AMCS server.
### Build
```bash
make build-cli
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #18
What this adds
cmd/amcs-cli— a CLI tool that connects to the AMCS MCP server over HTTP (URL + bearer token).Commands
Config
Precedence: config file < env < flags
Or via env:
AMCS_URL,AMCS_TOKENOr via flags:
--server,--tokenstdio bridge
amcs-cli stdioacts as a stdio MCP server, proxying all MCP tool traffic to the remote HTTP endpoint. Allows AI clients that only speak stdio MCP to use a remote AMCS server.Build