### Access and Monitor MCP Server Logs Source: https://context7.com/ibm-apiconnect/apic-mcp-server/llms.txt Provides commands to locate and tail log files on different operating systems. Logs are retained for 14 days. ```bash # Log file locations: # Windows: %USERPROFILE%\apic-mcp\apic-mcp-YYYY-MM-DD.log # macOS/Linux: ~/apic-mcp/apic-mcp-YYYY-MM-DD.log # View today's logs tail -f ~/apic-mcp/apic-mcp-$(date +%Y-%m-%d).log ``` -------------------------------- ### Configure Debug Logging for MCP Server Source: https://context7.com/ibm-apiconnect/apic-mcp-server/llms.txt Enables verbose logging by setting the LOG_LEVEL environment variable to 'debug' in the MCP server configuration. Logs are automatically rotated and stored in the user's home directory. ```json { "servers": { "apic-analytics-mcp-server": { "command": "npx", "args": ["-y", "-p", "${input:tarPath}", "apic-analytics-mcp-server"], "env": { "PROVIDER_ORG": "${input:pOrg}", "API_KEY": "${input:api-key}", "client_id": "${input:cID}", "client_secret": "${input:cSecret}", "APIC_PLATFORM_URL": "${input:platformUrl}", "APIC_MANAGEMENT_URL": "${input:managementUrl}", "NODE_TLS_REJECT_UNAUTHORIZED": "1", "LOG_LEVEL": "debug" } } } } ``` -------------------------------- ### Disable TLS Validation for Self-Signed Certificates Source: https://context7.com/ibm-apiconnect/apic-mcp-server/llms.txt Configures the MCP server to bypass TLS certificate validation by setting NODE_TLS_REJECT_UNAUTHORIZED to '0'. This is required when connecting to API Connect instances using self-signed certificates. ```json { "mcpServers": { "apic-analytics-mcp-server": { "command": "npx", "args": ["-y", "-p", "/path/to/package.tgz", "apic-analytics-mcp-server"], "env": { "NODE_TLS_REJECT_UNAUTHORIZED": "0", "PROVIDER_ORG": "my-provider-org", "API_KEY": "your-api-key", "client_id": "your-client-id", "client_secret": "your-client-secret", "APIC_PLATFORM_URL": "https://platform.apic.local", "APIC_MANAGEMENT_URL": "https://management.apic.local" } } } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.