Inference Gateway CLIBLOCK
A Git-first CLI coding agent that turns ideas, issues, and tasks into real code changes. It can run remotely from your mobile phone or automate your computer.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://golang.org) [](LICENSE) [](https://github.com/inference-gateway/cli/actions) [](https://github.com/inference-gateway/cli/releases)
An agentic command-line assistant that writes code, understands project context, and uses tools to perform real tasks.
📖 Documentation · 🚀 Quick Start · 🧭 Features · 💬 Discussions
Plan mode fanning out 5 subagents, each live transcript one keypress away - Subagents
Early development stage: breaking changes are expected until the project reaches a stable version. Always pin a specific version tag when downloading binaries or using install scripts.
Installation
The recommended install is npm/npx - the matching native binary is fetched and cached on first use:
npx @inference-gateway/cli@latest chat
See Installation for production and CI installs, and Binary Verification to verify a download.
Quick Start
- Initialize the userspace baseline:
infer init
This creates the shared ~/.infer/ configuration directory. All state (conversations, logs, history, artifacts) lives there, and a project .infer/ is an optional override layer you create
99c45a765ccfOBSERVED · 2026-10-11Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add cli -- npx -y @inference-gateway/[email protected]
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"@inference-gateway/[email protected]"
]
}
}
}Exposed tools (8)
8 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
all-readonly | read | Only read-only tools. |
bash-runner | read | Reads files and runs shell commands. |
code-reviewer | read | Reviews a diff for correctness bugs. |
editor | read | Reads and edits files. |
explorer | read | Read-only explorer |
runner | read | Runs tests |
unrestricted | read | No tool restriction. |
writer | read | Free-form helper |
Trust audit
BLOCKgrade F · trust 56/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | WARN |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (8 observation(s))
- Network
- declared (3 observation(s))
- Shell
- declared (3 observation(s))
- Dependencies
- pinned
- Secrets in source
- found
Findings (25)
func (s *D1Storage) exec(ctx context.Context, query string, args ...any) (int64, error) {KnownHostsPath: "~/.ssh/known_hosts",
"id_rsa",
"id_ecdsa",
"id_ed25519",
.claude/skills
const testToken = "ghp_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnop"
pem := "-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAK\n-----END RSA PRIVATE KEY-----"
openssh := "-----BEGIN OPENSSH PRIVATE KEY-----\nb3BlbnNzaG9ydA\n-----END OPENSSH PRIVATE KEY-----"
streamable-http
.commitlintrc.json
.golangci.yml
.markdownlint.json
.markdownlintignore
if [ ! -f /keys/id_rsa ]; then
{"double climb out of the artifacts dir", "/artifacts/-home-alice-repo/../../escape.txt", http.StatusNotFound},{"climb out of the projects root", "/artifacts/-home-alice-repo/sess/../../outside.txt", http.StatusNotFound},{"traversal stripped", "../../etc/passwd", "passwd.jsonl"},"skills/../../evil/SKILL.md": "boom",
`{"type":"image","filename":"../../notes.txt","mimeType":"text/plain","data":"aGVsbG8="}]}]}}`)){"169.254.169.254", false},GET http://127.0.0.1:<port>/artifacts/<project-slug>/<relative-path>
4. **Use IP address:** <http://192.168.1.100:3000> instead of hostname
cfg.Gateway.URL = "http://127.0.0.1:1"
if !strings.HasPrefix(m["OTEL_EXPORTER_OTLP_ENDPOINT"], "http://127.0.0.1:") {Gates applied: no_behavioural_pass.
99c45a765ccffull audit observations/trust-audit/mcp-server/inference-gateway__cli.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-11 | 99c45a765ccf | BLOCK | F | 56 | first audit |
Questions
What is the @inference-gateway/cli MCP server?
A Git-first CLI coding agent that turns ideas, issues, and tasks into real code changes. It can run remotely from your mobile phone or automate your computer.
What tools does @inference-gateway/cli expose?
8 in total: 8 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is @inference-gateway/cli safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (56/100) and found 5 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does @inference-gateway/cli need?
No credential environment variables were found in its source, so it appears to need none.
How does @inference-gateway/cli run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as @inference-gateway/cli at 0.228.0.
How current is this page?
The grade is for one exact copy of the source (99c45a765ccf), read on 2026-10-11. The repository is watched and re-audited when it changes.