{"type":"mcp_server","name":"jvm-mcp-server","description":"This repository provides a JVM monitoring MCP server based on Arthas, offering a Python interface for analyzing Java processes locally or remotely. It supports real-time thread and memory monitoring, along","category":"System Tools","language":"Python","stars":85,"forks":6,"owner":"xzq-xu","github_url":"https://github.com/xzq-xu/jvm-mcp-server","homepage":null,"setup":"## Setup\n\n1. Install uv tool:\n\n```bash\n## linux shell\ncurl -LsSf https://astral.sh/uv/install.sh | sh\n## or install using pip\npip install uv\n## or install using pipx (if you have pipx installed)\npipx install uv \n## windows powershell\npowershell -ExecutionPolicy ByPass -c \"irm https://astral.sh/uv/install.ps1 | iex\"\n```\n\n2. Clone the project:\n\n```bash\ngit clone https://github.com/xzq-xu/jvm-mcp-server.git\ncd jvm-mcp-server\n```\n\n3. Initialize project environment using uv:\n\n```bash\n# Create virtual environment\nuv venv\n# Sync project dependencies\nuv sync\n```\n\n4. Configure environment variables (Optional, for remote connections):\n\nCreate a `.env` file and add the following configurations:\n\n```bash\n# Linux/Mac\nARTHAS_SSH_HOST=user@remote-host\nARTHAS_SSH_PORT=22  # Optional, default is 22\nARTHAS_SSH_PASSWORD=your-password  # If using password authentication\n\n# Windows PowerShell\n$env:ARTHAS_SSH_HOST=\"user@remote-host\"\n$env:ARTHAS_SSH_PORT=\"22\"  # Optional, default is 22\n$env:ARTHAS_SSH_PASSWORD=\"your-password\"  # If using password authentication\n```","tools":"## Available Tools\n\n1. Automatic download and management of Arthas tools\n2. Support for local and remote Java process monitoring\n3. Java process list querying\n4. Real-time JVM thread information\n5. JVM memory usage monitoring\n6. Thread stack trace information\n7. Class loading information querying\n8. Support for class and method decompilation\n9. Method call monitoring\n10. Dynamic log level adjustment\n11. AI-driven JVM performance analysis","faq":null,"created_at":"2025-03-10T18:55:52+00:00","updated_at":"2025-03-28T12:58:06+00:00","source_url":"https://model-context-protocol.com/servers/jvm-mcp-server-java-model-context","related_articles":[]}