Atlas / MCP servers / inference-gateway / Inference Gateway CLI

Inference Gateway CLIBLOCK

mcp/inference-gateway/cli

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.

Verdict
BLOCK
Grade
F
Trust score
56 /100
Exposed tools
8 8r · 0w · 0d
Transport
streamable-http
License
Apache-2.0
Stars
7
01

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

  1. 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

Read from source at commit 99c45a765ccfOBSERVED · 2026-10-11
Advertisement
02

Connect

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-code
claude mcp add cli -- npx -y @inference-gateway/[email protected]
claude-desktop
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@inference-gateway/[email protected]"
      ]
    }
  }
}
03

Exposed tools (8)

8 read · 0 write · 0 destructive.

ToolRiskDescription
all-readonlyreadOnly read-only tools.
bash-runnerreadReads files and runs shell commands.
code-reviewerreadReviews a diff for correctness bugs.
editorreadReads and edits files.
explorerreadRead-only explorer
runnerreadRuns tests
unrestrictedreadNo tool restriction.
writerreadFree-form helper
04

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.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (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)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
internal/platform/storage/d1.go:212
func (s *D1Storage) exec(ctx context.Context, query string, args ...any) (int64, error) {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
config/config.go:1304
KnownHostsPath: "~/.ssh/known_hosts",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
config/sandbox.go:40
"id_rsa",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
config/sandbox.go:42
"id_ecdsa",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
config/sandbox.go:43
"id_ed25519",
Why it matters. touches a credential store
MEDIUMInventory / provenance · inv.symlink · CWE-1104
.claude/skills
.claude/skills
Why it matters. link not followed
MEDIUMHard-coded secrets · secret.github · CWE-798, CWE-321
internal/insights/redact_test.go:12
const testToken = "ghp_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnop"
MEDIUMHard-coded secrets · secret.private_key · CWE-798, CWE-321
internal/insights/redact_test.go:68
pem := "-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAK\n-----END RSA PRIVATE KEY-----"
MEDIUMHard-coded secrets · secret.private_key · CWE-798, CWE-321
internal/insights/redact_test.go:69
openssh := "-----BEGIN OPENSSH PRIVATE KEY-----\nb3BlbnNzaG9ydA\n-----END OPENSSH PRIVATE KEY-----"
MEDIUMAuth / authz · mcp.remote_no_auth · CWE-287, CWE-862
streamable-http
Why it matters. a network transport with no auth environment variable found
Fix. require a token
LOWInventory / provenance · inv.hidden_file · CWE-1104
.commitlintrc.json
.commitlintrc.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.golangci.yml
.golangci.yml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.markdownlint.json
.markdownlint.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.markdownlintignore
.markdownlintignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
examples/computer-use/docker-compose.yml:10
if [ ! -f /keys/id_rsa ]; then
Why it matters. touches a credential store
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
cmd/daemon/artifacts_test.go:63
{"double climb out of the artifacts dir", "/artifacts/-home-alice-repo/../../escape.txt", http.StatusNotFound},
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
cmd/daemon/artifacts_test.go:64
{"climb out of the projects root", "/artifacts/-home-alice-repo/sess/../../outside.txt", http.StatusNotFound},
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
internal/platform/storage/jsonl_test.go:962
{"traversal stripped", "../../etc/passwd", "passwd.jsonl"},
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
internal/plugins/installer_test.go:199
"skills/../../evil/SKILL.md": "boom",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
internal/presentation/headless/control_test.go:336
`{"type":"image","filename":"../../notes.txt","mimeType":"text/plain","data":"aGVsbG8="}]}]}}`))
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
internal/platform/utils/httpguard_test.go:19
{"169.254.169.254", false},
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/browser-extension-protocol.md:409
GET http://127.0.0.1:<port>/artifacts/<project-slug>/<relative-path>
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/web-terminal.md:570
4. **Use IP address:** <http://192.168.1.100:3000> instead of hostname
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
internal/gateway/supervisor_test.go:133
cfg.Gateway.URL = "http://127.0.0.1:1"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
internal/platform/telemetry/propagation_test.go:82
if !strings.HasPrefix(m["OTEL_EXPORTER_OTLP_ENDPOINT"], "http://127.0.0.1:") {

Gates applied: no_behavioural_pass.

Audited 2026-10-11 · audit v0.4.1 · source sha 99c45a765ccffull audit observations/trust-audit/mcp-server/inference-gateway__cli.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-1199c45a765ccfBLOCKF56first audit
06

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.

Advertisement