BJ

brunoborges/jvm-diagnostics-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

73 stars 7 forks 품질 63 트렌드 0MIT

brunoborges/jvm-diagnostics-mcp는 https://github.com/brunoborges/jvm-diagnostics-mcp.]에서 수입된 MCP 서버 후보입니다

개요

brunoborges/jvm-diagnostics-mcp는 https://github.com/brunoborges/jvm-diagnostics-mcp.]에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

이것은 jstat, jcmd], jps]와 같은 다양한 JVM 진단 도구 (CLI)를 감싸는 MCP 서버이며, 그들이 어떻게 작동하고 노출하는 좋은 프롬프트를 추가합니다.

무엇을 할 수 있습니까?

그것은 각종 JVM 진단 기구에 접근이 있습니다, 그래서 다음과 같은 일을 실행할 수 있습니다:

  • jstat를 사용하여 JVM 성능 지표 모니터링
  • JVM 프로세스 검사 및 관리 jps.
  • jcmd로 진단 명령을 실행합니다.
  • 나사 덤프, 힙 덤프 및 기타 JVM 관련 진단 분석.

사용 안전합니까?

MCP 서버가 LLM에 의해 구동되는 것처럼, 우리는 그것이 생성하는 명령을 신중하게 검증하는 것이 좋습니다. Claude 3.7 또는 GPT-4o와 같은 신뢰할 수있는 LLM을 사용하는 경우, JVM 도구에 우수한 교육 데이터를 가지고, 우리의 경험은 매우 좋습니다.

"The SOFTWARE IS PROVIDED “AS IS”, ANY KIND의 WARRANTY"라는 인증을 읽으려면이 MCP 서버를 자신의 위험에 사용하십시오.

보안, 그리고 나는 원격 서버에 이것을 실행해야?

짧은 대답: ****.

이 MCP 서버는 당신을 위한 JVM 진단 명령을 실행하고 다른 명령을 실행하는 공격자에 의해 악화될 수 있었습니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

JVM Diagnostics MCP

This is an MCP Server that wraps various JVM diagnostic tools (CLI) such as jstat, jcmd, jps, adds a nice prompt to improve how they work, and exposes them.

What can it do?

It has access to various JVM diagnostic tools, so it can perform tasks such as:

  • Monitoring JVM performance metrics using jstat.
  • Inspecting and managing JVM processes with jps.
  • Executing diagnostic commands with jcmd.
  • Analyzing thread dumps, heap dumps, and other JVM-related diagnostics.

Is it safe to use?

As the MCP server is driven by an LLM, we recommend being cautious and validating the commands it generates. If you’re using a reliable LLM like Claude 3.7 or GPT-4o, which has excellent training data on JVM tools, our experience has been very good.

Please read our License which states that “THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND”, so you use this MCP server at your own risk.

Is it secured, and should I run this on a remote server?

Short answer: NO.

This MCP server runs JVM diagnostic commands for you and could be exploited by an attacker to run other commands. The current implementation, as with most MCP servers at the moment, only works with the stdio transport: it’s supposed to run locally on your machine, using your JVM tools, as you would do by yourself.

In the future, it’s possible to have this MCP server support the http transport and token-based authentication, so that it could be used remotely by different persons. This will be considered once the MCP specification and SDK are more stable.

How do I install it?

This MCP server currently only works with the stdio transport, so it should run locally on your machine, using your JVM diagnostic tools.

This server can run as a Java application or inside a Docker container. If Java is installed on your machine, this first option is probably the easiest one. If you don’t have Java installed, or if you want to have something a bit more secure, you can use the second option.

Install and configure the server with Java

  • Make sure you have Java 17 or higher installed. You can check this by running java -version in your terminal.
  • Ensure that JVM diagnostic tools like jstat, jcmd, and jps are available in your environment.

Binaries are available on the GitHub Release page, here’s how you can download the latest one with the GitHub CLI:

  • Download the latest release: gh release download --repo brunoborges/jvm-diagnostics-mcp --pattern='jvm-diagnostics-mcp.jar'

To use the server from Claude Desktop, add the server to your claude_desktop_config.json file. Please note that you need to point to the location where you downloaded the jvm-diagnostics-mcp.jar file.

{
    "mcpServers": {
        "jvm-diagnostics": {
            "command": "java",
            "args": [
                "-jar",
GitHub에서 전체 README 보기

설치

docker run -i --rm -e JAVA_HOME ghcr.io/brunoborges/jvm-diagnostics-mcp:latest
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "jvm-diagnostics": { "command": "java", "args": [ "-jar", "~/Downloads/jvm-diagnostics-mcp.jar" ] } } }