# UXC — One CLI for OpenAPI/MCP/GraphQL Tools > One CLI to discover and invoke tools across OpenAPI, MCP, GraphQL, gRPC, and JSON-RPC with one contract; verified 108★, pushed 2026-05-14. ## Install Copy the content below into your project: ## Quick Use ```bash brew tap holon-run/homebrew-tap && brew install uxc uxc petstore3.swagger.io/api/v3 -h uxc petstore3.swagger.io/api/v3 get:/pet/{petId} petId=1 ``` ## Intro One CLI to discover and invoke tools across OpenAPI, MCP, GraphQL, gRPC, and JSON-RPC with one contract; verified 108★, pushed 2026-05-14. **Best for:** Teams standardizing how agents call remote APIs across mixed protocol stacks **Works with:** Rust-based CLI; works against schema-described hosts across OpenAPI/MCP/GraphQL/gRPC/JSON-RPC (per README examples) **Setup time:** 8-18 minutes ### Key facts (verified) - GitHub: 108 stars · 7 forks · pushed 2026-05-14. - License: MIT · owner avatar + repo URL verified via GitHub API. - README-backed entrypoint: `brew tap holon-run/homebrew-tap && brew install uxc`. ## Main - Use help-first discovery (` -h`, ` -h`) so agents don’t guess payload shape before calling. - Standardize invocation across protocols: keep your automation using one CLI contract even when services vary (OpenAPI/GraphQL/MCP). - Prefer deterministic JSON output in pipelines so downstream agents/tools can parse and diff results reliably. - Start with a low-risk host (e.g., petstore) to learn argument styles (`key=value`, nested paths, per-field JSON). ### Source-backed notes - README documents a consistent invocation pattern: `uxc -h`, then `uxc ...`. - README shows installs via Homebrew, install script, Cargo, and from-source builds. - README includes examples for OpenAPI, GraphQL, MCP, and JSON-RPC under one CLI contract. ### FAQ - **Is it MCP-only?**: No — README explicitly targets OpenAPI/GraphQL/gRPC/JSON-RPC and unifies MCP with adjacent protocols. - **How do I install quickly?**: Use Homebrew (`brew install uxc`) or the `scripts/install.sh` method from README. - **What’s a safe first task?**: Run `uxc -h` and invoke a read-only operation on a public demo endpoint before adding auth. ## Source & Thanks > Source: https://github.com/holon-run/uxc > License: MIT > GitHub stars: 108 · forks: 7 --- ## Quick Use ```bash brew tap holon-run/homebrew-tap && brew install uxc uxc petstore3.swagger.io/api/v3 -h uxc petstore3.swagger.io/api/v3 get:/pet/{petId} petId=1 ``` ## Intro UXC 用一个 CLI 统一调用 OpenAPI/MCP/GraphQL/gRPC/JSON-RPC:发现→检查→结构化调用,并输出确定性 JSON;已验证 108★,更新于 2026-05-14。 **Best for:** 需要在多协议栈里统一 agent 调用方式的团队(避免每个服务一个脚本) **Works with:** Rust CLI;按 README 示例可对接 OpenAPI/MCP/GraphQL/gRPC/JSON-RPC 等 schema 描述的 host **Setup time:** 8-18 minutes ### Key facts (verified) - GitHub:108 stars · 7 forks;最近更新 2026-05-14。 - 许可证:MIT;作者头像与仓库链接均已通过 GitHub API 复核。 - README 中可对照的入口命令:`brew tap holon-run/homebrew-tap && brew install uxc`。 ## Main - 用 help-first 发现流程(` -h` / ` -h`)让 agent 先看清参数结构再调用,减少“猜 JSON”。 - 把多协议统一到一个调用契约:OpenAPI/GraphQL/MCP 混用时也能保持同一套 CLI 调用方式。 - 在自动化链路里坚持确定性 JSON 输出,方便下游解析、比对与审计。 - 先从低风险示例 host(如 petstore)练习参数写法(`key=value`、嵌套路径、字段级 JSON)。 ### Source-backed notes - README 说明统一调用模式:`uxc -h`,再 `uxc ...`。 - README 提供 Homebrew、安装脚本、Cargo 与源码安装方式。 - README 在同一 CLI 契约下给出 OpenAPI/GraphQL/MCP/JSON-RPC 示例。 ### FAQ - **它只支持 MCP 吗?**:不是;README 明确覆盖 OpenAPI/GraphQL/gRPC/JSON-RPC,并把 MCP 纳入统一调用模型。 - **怎么最快安装?**:用 Homebrew(`brew install uxc`)或按 README 的 `scripts/install.sh` 安装。 - **安全的第一步做什么?**:先 `uxc -h` 查看接口,再在公开 demo endpoint 上跑只读操作,确认调用格式后再接鉴权。 ## Source & Thanks > Source: https://github.com/holon-run/uxc > License: MIT > GitHub stars: 108 · forks: 7 --- Source: https://tokrepo.com/en/workflows/uxc-one-cli-for-openapi-mcp-graphql-tools Author: Script Depot