Skip to main content
Glama
TOOL_CONFIGURATION.mdโ€ข11.2 kB
# ๐Ÿ”ง Intersight MCP Server Tool Configuration *Version 1.0.15 - Tool Configuration & Security Enhancement* The Intersight MCP Server supports configurable tool sets to balance functionality with security and performance. ## ๐ŸŽฏ Configuration Modes ### 1. Core Mode (Default) - 66 Essential Tools Safe, read-only tools for basic Intersight operations: - โœ… **Inventory & Discovery (8 tools)** * `list_compute_servers` - List all compute servers * `get_server_details` - Get detailed server information * `list_chassis` - List equipment chassis * `list_fabric_interconnects` - List fabric interconnects * `list_compute_blades` - List blade servers * `list_compute_rack_units` - List rack-mounted servers * `list_compute_boards` - List server motherboards * `search_resources` - Search resources by type - โœ… **Monitoring & Alarms (3 tools)** * `list_alarms` - List active alarms * `get_tam_advisory_count` - Get advisory count by severity * `list_tam_advisories` - List technical advisories - โœ… **Policy Management (12 tools)** * `list_policies` - List policies by type * `get_policy` - Get specific policy details * `list_server_profiles` - List all server profiles * `get_server_profile` - Get server profile details * `list_bios_units` - List BIOS/UEFI firmware units * `list_boot_device_boot_modes` - List boot device modes * `list_adapter_config_policies` - List adapter configuration policies * `get_adapter_config_policy` - Get adapter policy details * `list_lan_connectivity_policies` - List LAN connectivity policies * `get_lan_connectivity_policy` - Get LAN policy details * `list_vnics` - List virtual network interfaces * `get_vnic` - Get vNIC details - โœ… **Resource Pools (6 tools)** * `list_pools` - List pools by type * `list_ippool_blocks` - List IP pool blocks * `list_macpool_blocks` - List MAC pool blocks * `list_fcpool_blocks` - List Fibre Channel pool blocks * `get_ippool_block` - Get IP pool block details * `get_macpool_block` - Get MAC pool block details - โœ… **Telemetry & Metrics (15 tools)** * `get_server_telemetry` - Get server telemetry data * `get_chassis_telemetry` - Get chassis telemetry data * `get_adapter_telemetry` - Get network adapter telemetry * `get_top_resources` - Get top resources by metric * `list_processor_units` - List processor units * `list_memory_units` - List memory units * `list_storage_controllers` - List storage controllers * `list_physical_drives` - List physical drives * `get_power_statistics` - Get power consumption stats * `get_thermal_statistics` - Get temperature statistics * `list_fan_modules` - List fan modules * `list_psu_units` - List power supply units * `list_storage_virtual_drives` - List virtual drives * `list_pci_devices` - List PCI devices * `list_graphics_cards` - List graphics cards/GPUs - โœ… **Hardware & Firmware (7 tools)** * `list_firmware_running` - List running firmware versions * `list_licenses` - List license information * `list_hcl_operating_systems` - List supported operating systems * `list_hcl_hyperflex_compatibility` - List HyperFlex compatibility * `list_equipment_io_cards` - List IO cards * `list_equipment_sys_io_ctrls` - List system IO controllers * `list_management_controllers` - List management controllers - โœ… **Fabric & Network (6 tools)** * `list_fabric_vlans` - List fabric VLANs * `get_fabric_vlan` - Get VLAN details * `list_fabric_vsans` - List fabric VSANs * `get_fabric_vsan` - Get VSAN details * `list_fabric_port_channels` - List port channels * `get_fabric_port_channel` - Get port channel details - โœ… **Workflows & System (4 tools)** * `list_workflows` - List workflow executions * `get_workflow` - Get workflow details * `list_top_systems` - List top-level systems * `get_top_system` - Get system details - **Code Examples (4 tools)** * `get_python_examples` - Get Python SDK programming examples * `get_powershell_examples` - Get PowerShell module examples * `get_terraform_examples` - Get Terraform infrastructure examples * `get_ansible_examples` - Get Ansible automation examples - **Security & Health Check Agent (1 tool)** * `generate_security_health_report` - Generate comprehensive security and health check report ### 2. All Tools Mode - 199+ Complete Toolset Full CRUD operations including create, update, delete capabilities. ## ๐Ÿš€ Quick Configuration ### Environment Variables (Recommended) ```bash # Use core 65 tools (default) export INTERSIGHT_TOOL_MODE=core # Use all 199+ tools export INTERSIGHT_TOOL_MODE=all # Alternative: Enable all tools export INTERSIGHT_ENABLE_ALL_TOOLS=true ``` ### VS Code Configuration ```json { "github.copilot.chat.mcp.servers": { "intersight-core": { "command": "node", "args": ["/Users/jicoyne/Intersight_MCP/build/index.js"], "env": { "INTERSIGHT_API_KEY_ID": "your-key-id", "INTERSIGHT_API_SECRET_KEY_PATH": "/path/to/SecretKey.txt", "INTERSIGHT_TOOL_MODE": "core" } }, "intersight-full": { "command": "node", "args": ["/Users/jicoyne/Intersight_MCP/build/index.js"], "env": { "INTERSIGHT_API_KEY_ID": "your-key-id", "INTERSIGHT_API_SECRET_KEY_PATH": "/path/to/SecretKey.txt", "INTERSIGHT_TOOL_MODE": "all" } } } } ``` ### Claude Desktop Configuration ```json { "mcpServers": { "intersight": { "command": "node", "args": ["/Users/jicoyne/Intersight_MCP/build/index.js"], "env": { "INTERSIGHT_API_KEY_ID": "your-key-id", "INTERSIGHT_API_SECRET_KEY_PATH": "/path/to/SecretKey.txt", "INTERSIGHT_TOOL_MODE": "core" } } } } ``` ## ๐Ÿ“‹ Configuration File (Advanced) Create `intersight-mcp-server-config.json`: ```json { "serverConfig": { "name": "intersight", "toolSelectionMode": "whitelist", "enableAllTools": false, "serverProfileFocus": false }, "toolConfiguration": { "enabledTools": [ "list_compute_servers", "get_server_details", "list_server_profiles", "get_server_profile" ], "disabledTools": [ "create_*", "update_*", "delete_*" ] } } ``` ## ๐Ÿ”’ Security Benefits ### Core Mode (65 tools) - โœ… **Read-only operations only** - โœ… **No destructive actions** - โœ… **Safer for exploration** - โœ… **Faster tool discovery** - โœ… **Focused functionality** ### All Tools Mode (199+ tools) - โš ๏ธ **Full CRUD capabilities** - โš ๏ธ **Can modify infrastructure** - โš ๏ธ **Requires careful usage** - โœ… **Complete automation power** ## ๐Ÿ“Š Tool Categories in Core Mode | Category | Count | Key Tools | |----------|-------|-----------| | **Inventory & Discovery** | 8 | `list_compute_servers`, `get_server_details` | | **Monitoring** | 3 | `list_alarms`, `list_tam_advisories` | | **Policy Management** | 12 | `list_policies`, `get_policy`, `list_server_profiles` | | **Resource Pools** | 6 | `list_pools`, `list_ippool_blocks` | | **Telemetry** | 15 | `get_server_telemetry`, `get_top_resources` | | **Hardware** | 8 | `list_firmware_running`, `list_hcl_operating_systems` | | **Network** | 6 | `list_fabric_vlans`, `list_fabric_port_channels` | | **Workflows** | 4 | `list_workflows`, `list_top_systems` | | **Examples** | 3 | `get_powershell_examples`, `get_python_examples` | ## ๐ŸŽ›๏ธ Runtime Tool Information The server logs configuration details: ```text Intersight MCP Server: Exposing 65 of 199 tools Tool mode: whitelist Enable all tools: false ``` ## ๐Ÿ›ก๏ธ Error Handling When a disabled tool is called: ```text Error: Tool 'create_server_profile' is not enabled in current configuration. Use INTERSIGHT_TOOL_MODE=all to enable all tools. ``` ## ๐Ÿ“ˆ Recommended Usage ### Development & Exploration ```bash export INTERSIGHT_TOOL_MODE=core ``` ### Production Automation ```bash export INTERSIGHT_TOOL_MODE=all ``` ### Mixed Environment Configure two separate MCP servers with different names and tool modes. ## ๐Ÿ”ง Implementation Details ### Server-Side Configuration (Recommended) The MCP server filters tools internally before exposing them to clients. **โœ… Advantages:** - Centralized control - Consistent tool exposure across all clients - Security enforcement at the server level - Reduced client complexity **โŒ Disadvantages:** - Requires server modification - Less flexibility for different client needs ### Configuration Loader The server uses `loadMCPServerConfig()` to determine which tools to expose: ```typescript export function loadMCPServerConfig(): MCPServerConfig { const configPath = process.env.INTERSIGHT_CONFIG_FILE || './intersight-mcp-server-config.json'; // Load from file or use defaults // Override with environment variables if (process.env.INTERSIGHT_TOOL_MODE === 'all') { config.serverConfig.enableAllTools = true; config.serverConfig.toolSelectionMode = 'all'; } return config; } ``` ### Tool Filtering Tools are filtered using `isToolEnabled()` function: ```typescript export function isToolEnabled(toolName: string, config: MCPServerConfig): boolean { if (config.serverConfig.toolSelectionMode === 'all') { return true; } if (config.serverConfig.toolSelectionMode === 'whitelist') { return config.toolConfiguration.enabledTools.includes(toolName); } return false; } ``` ## ๐ŸŽญ Client Behavior When tools are filtered server-side: **โœ… What Clients See:** - Only enabled tools in `list_tools` response - Cleaner, focused tool interface - Consistent behavior across clients - Security enforced at server level **โŒ Disabled Tool Behavior:** - Disabled tools not listed in `list_tools` - Calls to disabled tools return error - Clear error message: "Tool 'X' is not enabled" ## ๐Ÿ“ˆ Benefits of Server-Side Configuration 1. **๐Ÿ”’ Security**: Dangerous operations disabled at source 2. **๐ŸŽฏ Focus**: Streamlined tool set for specific use cases 3. **โšก Performance**: Reduced tool discovery overhead 4. **๐Ÿงน Simplicity**: Clients don't need to filter tools 5. **๐Ÿ“‹ Consistency**: Same tool set across all clients 6. **๐Ÿ›ก๏ธ Safety**: Read-only operations prevent accidents ## ๐Ÿ’ก Recommendation **Use server-side configuration with the optimized 65-tool whitelist as the default.** This provides: - Maximum safety (no destructive operations) - Optimal performance (focused tool set) - Server profile management focus - Easy client integration - Centralized security control The server can expose environment variables or configuration options for users who need the full 199-tool set for advanced scenarios. ## ๐Ÿš€ Version 1.0.15 Features - **Tool Configuration System**: Core vs All Tools modes - **Enhanced Security**: Server-side filtering and runtime checks - **Environment Variable Control**: Simple `INTERSIGHT_TOOL_MODE` setting - **Flexible Deployment**: Multiple server instances with different tool sets - **Comprehensive Documentation**: Setup guides and security recommendations - **Tested Implementation**: Verified core mode safety and all tools functionality

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jim-coyne/Intersight_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server