@marmarlabs/agentbridge-cli
v0.4.0
Published
Command-line interface for AgentBridge: scan, validate, init, and generate manifests.
Maintainers
Readme
@marmarlabs/agentbridge-cli
Command-line interface for AgentBridge. Scan, validate, scaffold, and generate manifests from your terminal.
Install
npm install -g @marmarlabs/agentbridge-cli
# or invoke directly:
npx @marmarlabs/agentbridge-cli scan http://localhost:3000Commands
agentbridge scan <url>
Score a URL's AgentBridge readiness. Prints a 0–100 score and grouped recommendations.
agentbridge scan http://localhost:3000
agentbridge scan https://api.example.com --jsonagentbridge validate <file-or-url>
Validate a manifest from disk or URL.
agentbridge validate ./public/.well-known/agentbridge.json
agentbridge validate http://localhost:3000agentbridge init
Scaffold an agentbridge.config.ts and starter manifest in the current
directory.
agentbridge init # TypeScript config
agentbridge init --format json # JSON manifest onlyagentbridge generate openapi <src>
Convert an OpenAPI 3.x document into an AgentBridge manifest.
agentbridge generate openapi ./store.openapi.json --out ./agentbridge.json
agentbridge generate openapi https://api.example.com/openapi.json --base-url https://api.example.comagentbridge mcp-config
Print copy-pasteable MCP client config snippets for OpenAI Codex (CLI
one-liner and config.toml), Claude Desktop, Cursor, and any other
MCP-compatible client.
# OpenAI Codex one-liner (also printed by mcp-config)
codex mcp add agentbridge -- npx -y @marmarlabs/agentbridge-mcp-serverFull Codex walkthrough: docs/codex-setup.md. For everything else (Claude Desktop, Cursor, custom): docs/mcp-client-setup.md.
agentbridge version
Print the CLI version.
Exit codes
0— success1— validation failure or runtime error2— invalid arguments
Status
Public release. v0.2.2 is a docs-and-CLI-output release that adds
OpenAI Codex onboarding to the mcp-config command and to the docs —
no other code or behavior changes. AgentBridge is suitable for local
development, manifest authoring, scanner workflows, OpenAPI import,
and MCP experiments. It is not yet production security
infrastructure.
The CLI command surface is stable for the v0.x line.
License
Apache-2.0
