Skip to main content
MCP

Use the CLI

Orchestrate MCP servers from the terminal with the Bailian CLI.

The Bailian CLI wraps MCP server orchestration into commands you can drive from the terminal or an Agent.
MCP CLI capabilities are currently available only to China site (aliyun.com) accounts.

Commands

CapabilityCommandNotesCommon options
MCP orchestrationbl mcp list / tools / callList active MCP servers, inspect tools, invoke any tool directly--server server name (tools), --target server.tool (call), --json/--arg args (call)

Example

bl mcp list                                              # List active MCP servers
bl mcp tools --server <server-name>                      # Inspect tools in a server
bl mcp call --target <server-name>.<tool-name> --json '{"query":"weather in Beijing"}'
Append --help to any command for full parameter details. See the MCP & Skill command reference for more commands.