iagctl mcp tool list

Gateway 5.5+

List tools available from an MCP server.

The iagctl mcp tool list command connects to a registered MCP server and displays all tools it exposes. For each tool, the output includes its name and description. Use the --raw flag to return full tool schema information, including input and output parameters.

For more information, see Register and manage MCP servers.

Syntax

$iagctl mcp tool list <mcp_server> [flags]

Available tools

The following tables list the tools available from two commonly used MCP servers. The tools available on any given MCP server depend on its implementation.

Filesystem server tools

Tools provided by the filesystem MCP server (@modelcontextprotocol/server-filesystem). All tools operate only within the directories the server is configured to allow.

ToolDescription
create_directoryCreate a new directory, including any intermediate parent directories, in a single operation. Succeeds silently if the directory already exists.
directory_treeReturn a recursive JSON tree of files and directories. Each entry includes name, type (file or directory), and children for directories.
edit_fileMake line-based edits to a text file by replacing exact line sequences with new content. Returns a git-style diff of the changes.
get_file_infoReturn metadata for a file or directory, including size, creation time, last modified time, permissions, and type.
list_allowed_directoriesReturn the list of directories the server is allowed to access, including their subdirectories.
list_directoryReturn a listing of all files and directories at a specified path. Entries are prefixed with [FILE] or [DIR].
list_directory_with_sizesReturn a listing of all files and directories at a specified path, including size information. Entries are prefixed with [FILE] or [DIR].
move_fileMove or rename a file or directory. Fails if the destination already exists. Both source and destination must be within allowed directories.
read_fileRead the complete contents of a file as text. Deprecated—use read_text_file instead.
read_media_fileRead an image or audio file and return its base64-encoded content and MIME type.
read_multiple_filesRead the contents of multiple files simultaneously. Returns each file’s content with its path. Individual read failures don’t stop the operation.
read_text_fileRead the complete contents of a text file. Supports head and tail parameters to return only the first or last N lines.
search_filesRecursively search for files and directories matching a glob-style pattern. Returns full paths to all matching items.
write_fileCreate a new file or overwrite an existing file with the provided text content. Overwrites without warning.

Context7 server tools

Tools provided by the Context7 MCP server (https://mcp.context7.com/mcp). Use these tools to retrieve up-to-date library documentation and code examples during automation development.

ToolDescription
resolve-library-idResolve a package or product name to a Context7-compatible library ID. Returns a list of matching libraries.
query-docsRetrieve documentation and code examples from Context7 for a specified library or framework.

Examples

List tools from an MCP server

$iagctl mcp tool list my-server

List tools with full schema in JSON format

$iagctl mcp tool list my-server --raw

Options

$ -h, --help Help for list

Options inherited from parent commands

$ --config string Path to the configuration file
$ --profile string Specify the client profile to use (case-insensitive, defaults to [client] section)
$ --raw Display the result of the command in raw format
$ --verbose Enable verbose output