### Enable HTTP/SSE Transport for Jolokia MCP Server Source: https://github.com/jolokia/jolokia-mcp-server/blob/main/README.md This command shows how to start the Jolokia MCP server with HTTP/SSE transport enabled, allowing communication over an HTTP endpoint instead of stdio. ```console java -jar jolokia-mcp-server-0.3.5-runner.jar --sse ``` -------------------------------- ### Jolokia MCP Server Configuration Options Source: https://github.com/jolokia/jolokia-mcp-server/blob/main/README.md Documentation for command-line parameters and system properties used to configure the Jolokia MCP server, including default values and descriptions. ```APIDOC Config Options: - Positional parameter: Default: http://localhost:8778/jolokia Description: The Jolokia endpoint URL the MCP server connects to - --sse: Default: false (stdio) Description: Enable HTTP/SSE transport - -D*=* (System properties): Description: Generic system properties System properties relevant to the MCP server: - quarkus.http.port: Default: 8080 Description: (SSE) The port for the SSE endpoint - quarkus.mcp.server.sse.root-path: Default: mcp Description: (SSE) The root path for the SSE endpoint (http://localhost:8080/mcp/sse) - jolokia.mcp.url: Default: http://localhost:8778/jolokia Description: Equivalent to the positional parameter ``` -------------------------------- ### Build Jolokia MCP Server with Maven Source: https://github.com/jolokia/jolokia-mcp-server/blob/main/README.md This command compiles and packages the Jolokia MCP server project using Maven, creating the necessary artifacts for deployment. ```console mvn clean install ``` -------------------------------- ### Run Jolokia MCP Server from JAR or JBang Source: https://github.com/jolokia/jolokia-mcp-server/blob/main/README.md These console commands demonstrate how to execute the Jolokia MCP server using the downloaded runner JAR or directly via JBang, optionally specifying the Jolokia endpoint URL. ```console java -jar jolokia-mcp-server-0.3.5-runner.jar [Jolokia URL] ``` ```console jbang org.jolokia.mcp:jolokia-mcp-server:0.3.5:runner ``` -------------------------------- ### Configure Jolokia MCP Server in MCP settings Source: https://github.com/jolokia/jolokia-mcp-server/blob/main/README.md These JSON snippets show how to add the Jolokia MCP server to your MCP settings, specifying the command and arguments to run the server using either the downloaded runner JAR or directly via JBang. ```json { "mcpServers": { "jolokia": { "command": "java", "args": [ "-jar", "/jolokia-mcp-0.3.5-runner.jar" ] } } } ``` ```json { "mcpServers": { "jolokia": { "command": "jbang", "args": [ "org.jolokia.mcp:jolokia-mcp-server:0.3.5:runner" ] } } } ``` -------------------------------- ### Jolokia MCP Server JMX Management Tools API Source: https://github.com/jolokia/jolokia-mcp-server/blob/main/README.md Detailed API documentation for the 6 JMX management tools provided by the Jolokia MCP server, including their purpose, input parameters, and output formats. ```APIDOC Tools: - listMBeans: Description: List available MBeans from the JVM Output: List (List of all MBean object names in the JVM) - listMBeanOperations: Description: List available operations for a given MBean Inputs: - mbean (String): MBean name Output: String (JSON-formatted definitions of all available operations for the given MBean) - listMBeanAttributes: Description: List available attributes for a given MBean Inputs: - mbean (String): MBean name Output: String (JSON-formatted definitions of all available attributes for the given MBean) - readMBeanAttribute: Description: Read an attribute from a given MBean Inputs: - mbean (String): MBean name - attribute (String): Attribute name Output: String (String representation of the given attribute's value or "null") - writeMBeanAttribute: Description: Set the value to an attribute of a given MBean Inputs: - mbean (String): MBean name - attribute (String): Attribute name - value (Object): Attribute value Output: String (String representation of the given attribute's previous value or "null") - executeMBeanOperation: Description: Execute an operation on a given MBean Inputs: - mbean (String): MBean name - operation (String): Operation name - args (Object[]): Arguments Output: String (String representation of the return value of the operation or "null") ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.