Jolokia MCP Server

Jolokia MCP Server

jolokia-mcp•bytadayosi

An MCP server for Jolokia, a JMX-HTTP bridge, that enables an LLM to manage a Java application using the JMX API via Jolokia.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Lists MBeans, operations, and attributes available on the connected JVM.
  • •Reads and writes attributes of an MBean.
  • •Executes operations on an MBean.
  • •Can be deployed as a standalone server (stdio or HTTP) or as a JVM agent that opens an HTTP port for the MCP protocol.

BEST FOR

  • •Managing a running Java application's JMX MBeans through an LLM.
  • •Inspecting and modifying MBean attributes or invoking operations on a connected JVM.

ABOUT JOLOKIA-MCP

Jolokia MCP Server is cataloged as an MCP server attributed to tadayosi. An MCP server for Jolokia, a JMX-HTTP bridge, that enables an LLM to manage a Java application using the JMX API via Jolokia. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Jolokia MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What are the two distributions offered since version 0.4?

The Standalone MCP Server and the JVM Agent MCP Server.

How many tools does this MCP server provide?

It provides 6 tools.

Upstream README

View this exact version on GitHub

README.md · d456cde05090 · Fetched 2026-11-13 10:03:37 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Jolokia MCP Server

Test Maven Central: jolokia-mcp-server Maven Central: jolokia-mcp-agent-jvm

MCP server for Jolokia, a JMX-HTTP bridge for Java applications. This MCP server enables an LLM to manage a Java application using JMX API via Jolokia.

https://github.com/user-attachments/assets/624ec93b-da69-49b5-be8f-02f2ff14bd2e

Distributions

Since version 0.4, the Jolokia MCP Server offers two distinct distributions to suit different deployment needs:

Standalone MCP Server

The Standalone MCP Server acts as a conventional MCP server; it is registered to the MCP host with either stdio or HTTP, and the MCP server itself communicates with your Java application, which must have a Jolokia agent attached, via JMX over HTTP.

To use the Standalone MCP Server, you'll first need to attach a Jolokia agent to your Java application. For detailed instructions on how to do this, please refer to the Jolokia manual: https://jolokia.org/reference/html/manual/agents.html

JVM Agent MCP Server

In contrast, the JVM Agent MCP Server provides a streamlined, "drop-in" replacement for the standard Jolokia JVM Agent.

With this distribution, you simply attach the MCP Server's JVM Agent to your application instead of the standard Jolokia JVM Agent. The JVM Agent MCP Server then directly opens an HTTP port for the MCP protocol, effectively transforming your Java application itself into an MCP Server.

Features

This MCP server connects to a single JVM at startup and provides the following features on the connected JVM:

  • List MBeans from the connected JVM
  • List operations for a MBean
  • List attributes for a MBean
  • Read/write attributes of a MBean
  • Execute operations on a MBean

Tools

This MCP server provides 6 tools.

  • listMBeans
    • List available MBeans from the JVM
    • Output (List<String>): List of all MBean object names in the JVM
  • listMBeanOperations
    • 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
    • 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
    • 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
    • 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
    • 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"

Jolokia Version Compatibility

The following table shows the Jolokia versions compatible with each release of jolokia-mcp-server.

jolokia-mcp-serverJolokia
0.6.x2.6.1 – 2.6.5
0.5.x2.4.3 – 2.6.0
0.4.x2.2.9 – 2.4.3
0.3.x2.2.8 – 2.2.9
0.2.x2.2.8
0.1.x2.2.8

Install

Standalone

Download the MCP server runner jar:

To install the Jolokia MCP server to a MCP host, add the following entry to the MCP settings:

{
  "mcpServers": {
    "jolokia": {
      "command": "java",
      "args": [
        "-jar",
        "<path-to-the-runner-jar>/jolokia-mcp-0.6.2-runner.jar"
      ]
    }
  }
}

Or if you prefer using JBang (no need for downloading the jar with this method):

{
  "mcpServers": {
    "jolokia": {
      "command": "jbang",
      "args": [
        "org.jolokia.mcp:jolokia-mcp-server:0.6.2:runner"
      ]
    }
  }
}

JVM Agent

Download the MCP server javaagent jar:

Then run your Java application with -javaagent option:

java -javaagent:jolokia-mcp-agent-jvm-0.6.2-javaagent.jar -jar your-app.jar

This would open the MCP HTTP transport at http://localhost:8779/mcp.

To register the Jolokia MCP server to a MCP host, add the following entry to the MCP settings:

{
  "mcpServers": {
    "jolokia": {
      "httpUrl": "http://localhost:8779/mcp"
    }
  }
}

Run

Run it with java -jar:

java -jar jolokia-mcp-server-0.6.2-runner.jar [Jolokia URL]

Using JBang, you can directly run it with the Maven GAV (org.jolokia.mcp:jolokia-mcp-server:0.6.2:runner):

jbang org.jolokia.mcp:jolokia-mcp-server:0.6.2:runner

HTTP Transport

By default, this MCP server runs with stdio transport. To switch it to HTTP transport, use the --http option:

java -jar jolokia-mcp-server-0.6.2-runner.jar --http

The HTTP transport endpoint by default launches at http://localhost:8080/mcp.

Config Options

Parameter/OptionDefaultDescription
Positional parameterhttp://localhost:8778/jolokiaThe Jolokia endpoint URL the MCP server connects to
--httpfalse (stdio)Enable HTTP transport
--ssefalse (stdio)Deprecated. Use --http
--port=<number>8080The port for the HTTP endpoint. Equivalent to -Dquarkus.http.port=<number>. When the option is set, HTTP is always enabled
--method=<GET|POST>Preferred HTTP method for Jolokia requests (GET or POST). Equivalent to -Djolokia.mcp.preferred-http-method=<method>
-D*=*System properties

The system properties that are relevant to the MCP server:

System propertyDefaultDescription
quarkus.http.port8080(HTTP) The port for the HTTP endpoint
jolokia.mcp.urlhttp://localhost:8778/jolokiaEquivalent to the positional parameter
jolokia.mcp.preferred-http-methodNot setPreferred HTTP method for Jolokia requests (GET or POST)

Build

mvn clean install

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Jolokia MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/jolokia-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools