listtools

command
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

listtools 用 in-memory transport 启动 mcp server,验证暴露给 MCP 客户端 (Cherry Studio / Claude Desktop 等)的完整元数据。

默认输出每个工具的 name + description + inputSchema + outputSchema, 让你检查描述、参数说明、required、类型是否符合预期。

用法:

go run ./mcp/cmd/listtools                      # 详细:name + desc + 参数
go run ./mcp/cmd/listtools -short               # 紧凑:每行一个工具
go run ./mcp/cmd/listtools -grep app_command    # name 子串过滤
go run ./mcp/cmd/listtools -enable pandora      # 包过滤
go run ./mcp/cmd/listtools -tags read           # tag 过滤
go run ./mcp/cmd/listtools -json                # 完整 JSON(含 schema)
go run ./mcp/cmd/listtools -call pandora.is_app_exist -args '{"cluster":"hba","app":"foo"}'

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL