CyberCage MCP icon

CyberCage MCP

Connect to secured MCP servers via CyberCage

List Tools

AI-generated

Summary

Retrieve and filter the list of available tools from a selected MCP server, optionally including or excluding specific tools based on user selection.

Inputs

  • MCP Server (required) — Select the MCP server from the CyberCage secure catalog to list tools from.
  • Authentication (required) — Choose the authentication method (None, Bearer Token, or Header Auth) to access the MCP server; credentials must be configured accordingly if authentication is required.
  • Tools to Include (required) — Decide whether to include all tools, only selected tools, or all except specified tools from the MCP server.
  • Tools to Include (Selected Only) — Specifically choose tools to include if 'Selected' inclusion is chosen.
  • Tools to Exclude (All Except) — Specify tools to exclude if 'All Except' inclusion is chosen.

Output shape

a single record containing a 'tools' array, where each entry includes the tool name, description, and JSON schema of its input parameters

The returned list is filtered according to inclusion and exclusion options. The tool schema is converted from Zod to JSON Schema format. Errors are thrown if no tools are found or authentication is missing when required.

Examples

Example 1: List all tools from an MCP server without authentication.

Select the MCP server, choose 'None' authentication, and set 'Tools to Include' to 'All'. The node outputs all available tools with their input schemas.

Example 2: List only selected tools with bearer token authentication.

Choose the MCP server, set authentication to 'Bearer Token' with appropriate credentials, set 'Tools to Include' to 'Selected', and choose tools to include. The node returns only those specified tools.

Discussion