360 Secure SkillHub
360 安全技能中心

cli-mcp

该 Skill 提供 omniroute CLI 的 MCP 子命令说明,用于查看服务器状态、重启或启停服务、列出工具与作用域、执行工具调用,并管理审计日志;通过命令行参数接收工具名与 JSON 参数,输出文本或 JSON 结果。

分类:开发
cheaper-inference
热度 0.00
最近更新 2026-11-06 05:37:11

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cheaper-inference/omniroute/cli-mcp
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
cli-mcp
description
Inspect the MCP server status, list registered tools and scopes, run tool invocations, and manage MCP audit logs from the CLI.

Overview

Inspect the MCP server status, list registered tools and scopes, run tool invocations, and manage MCP audit logs from the CLI.

Quick install

npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

mcp

Example:

omniroute mcp

mcp status

Show MCP server status

Flags:

  • --json

Example:

omniroute mcp status

mcp restart

Restart the MCP server

Example:

omniroute mcp restart

mcp enable

Flags:

  • --transport <transport>

Example:

omniroute mcp enable

mcp disable

Example:

omniroute mcp disable

mcp call <tool> [argsJson]

Flags:

  • --args <json>
  • --args-file <path>
  • --stream
  • --scope <s>

Example:

omniroute mcp call <tool> [argsJson]

mcp scopes

Flags:

  • --tool <name>

Example:

omniroute mcp scopes