Metadata-Version: 2.4
Name: uno-cli
Version: 0.1.1
Summary: CLI tool to call 80+ MCP servers via Uno gateway using bash commands
Project-URL: Homepage, https://mcpmarket.cn
Project-URL: Repository, https://github.com/xray918/uno-mcp-cli
License: MIT
Keywords: ai,cli,mcp,oauth,tools
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.12
Requires-Dist: click>=8.3.1
Requires-Dist: httpx>=0.28.1
Requires-Dist: mcp>=1.26.0
Description-Content-Type: text/markdown

# uno-cli

通过 bash 命令调用 Uno MCP 网关聚合的 80+ MCP Server，无需 LLM 原生 tool_use。

## 安装

```bash
uv tool install uno-cli
```

## 认证

服务器环境（无浏览器）使用 Device Code Flow：

```bash
uno-cli login --headless
```

终端会输出设备码和验证链接，在任意浏览器中打开链接、输入设备码完成授权。Token 存储在 `~/.uno/tokens.json`。

## 使用

```bash
# 检查状态
uno-cli status

# 发现 server 工具
uno-cli tools call uno_discover_servers '{"server_names": ["time"]}'

# 调用工具
uno-cli tools call uno_call_tool '{"tool_name": "time.get_current_time", "arguments": {"timezone": "Asia/Shanghai"}}'

# 沙盒执行脚本
uno-cli tools call uno_execute_script '{"language": "python", "script": "print(2**10)"}'
```

## 支持的 MCP Server

Uno 网关聚合了 80+ MCP Server，涵盖搜索、GitHub、文档、图表、金融、地图、出行等场景。详见 [SKILL.md](https://mcpmarket.cn/skill.md)。

## MCP 网关

`https://uno.mcpmarket.cn/mcp`
