360 Secure SkillHub
360 安全技能中心

cli-mcp

通过 omniroute CLI 查看 MCP 服务器状态、重启或启停服务、列出工具与作用域、执行工具调用,并从命令行管理审计日志;支持 JSON 输出及从文件传入调用参数。

diegosouzapw
热度 0.00
最近更新 2026-10-19 02:16:27
分类:开发依赖:代码执行 / MCP 服务应用场景:API 集成 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add diegosouzapw/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