Back to Home
adibirzu icon

mcp-oci-logan-server

Verified Safe

by adibirzu

Overview

Enables AI assistants (like Claude) to perform natural language querying, analysis, and basic management of security logs within Oracle Cloud Infrastructure (OCI) Logging Analytics, leveraging the Logan Security Dashboard's capabilities.

Installation

Run Command
npm run start

Environment Variables

  • OCI_COMPARTMENT_ID
  • OCI_REGION
  • MCP_TRANSPORT
  • MCP_HTTP_PORT
  • MCP_OAUTH_ENABLED
  • MCP_OAUTH_ISSUER_URL
  • MCP_OAUTH_INTROSPECTION_URL
  • MCP_OAUTH_CLIENT_ID
  • MCP_OAUTH_CLIENT_SECRET
  • MCP_PYTHON_DIR
  • LOGAN_PROJECT_PATH
  • MCP_LOG_LEVEL

Security Notes

The server utilizes environment variables for OCI credentials and OAuth configuration, actively redacts sensitive information in logs, and has a `.gitignore` specifically designed to prevent credential leakage. Python scripts are spawned as subprocesses with controlled arguments, mitigating direct code injection risks from query inputs. OAuth 2.0 authentication is implemented with token introspection. While custom 'eval' and 'extract' operations are used within the OCI Logging Analytics query context, these are not JavaScript/Python 'eval' and are subject to internal query sanitization, reducing the risk of server-side arbitrary code execution.

Similar Servers

Stats

Interest Score10
Security Score9
Cost ClassMedium
Avg Tokens750
Stars1
Forks0
Last Update2025-12-19

Tags

OCILogging AnalyticsSecurityAI IntegrationLog AnalysisMCP