Class McpServerApplication

java.lang.Object
org.gridgain.internal.mcp.McpServerApplication

public class McpServerApplication extends Object
Main entry point for the GridGain 9 MCP server.

This application bootstraps an MCP-compliant server instance using STDIO-based transport and registers GridGain-specific tools for database connectivity and diagnostics.

Startup sequence:

  1. Load and log server configuration
  2. Initialize MCP server with transport and capabilities
  3. Register supported tools

The server is intended to be embedded or launched as a standalone process and communicates with MCP clients (for example, Claude Desktop) via standard input/output streams.

  • Constructor Details

    • McpServerApplication

      public McpServerApplication()
  • Method Details

    • main

      public static void main(String[] args)
      Application entry point.

      Initializes configuration and starts the MCP server. Any startup failure is treated as fatal and terminates the JVM with a non-zero exit code.

      Parameters:
      args - command-line arguments (currently unused)