Expand description
§TurboMCP
CLI
Command-line interface for interacting with MCP servers, providing tools for testing, debugging, and managing MCP server instances.
§Features
- Connect to MCP servers via multiple transports (HTTP, WebSocket, STDIO)
- List available tools and their schemas
- Call tools with JSON arguments
- Export tool schemas for documentation
- Support for authentication via bearer tokens
- JSON and human-readable output formats
§Usage
# List tools from HTTP server
turbomcp-cli tools-list --transport http --url http://localhost:8080/mcp
# Call a tool with arguments
turbomcp-cli tools-call --transport http --url http://localhost:8080/mcp \
add --arguments '{"a": 5, "b": 3}'
# Export tool schemas
turbomcp-cli schema-export --transport http --url http://localhost:8080/mcp --json
Structs§
- Cli
- Main CLI application structure
- Connection
- Connection configuration for connecting to MCP servers
Enums§
- Commands
- Available CLI subcommands
- Transport
Kind - Available transport types for connecting to MCP servers
Functions§
- cmd_
schema_ export - cmd_
tools_ call - cmd_
tools_ list - output
- run_cli
- Run the CLI application