Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

JavaBytes

by markymakes-devversion 1.5.0i★ 2iRuns on your computerRepository ↗
Registry nameio.github.markymakes-dev/javabytes

How to install

What it does

80 Java-focused tools for files, MySQL, JavaFX, Spring Boot and JS-to-Java migration, over stdio.

  • Connects Runs on your computer
  • Account or key Needs JAVABYTES_DB_PASSWORD
  • Category Docs, sheets & office work

Use together with

Skills that teach the AI this kind of work; they work alongside this one

MinerU

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

by opendatalab★ 83,9721 skills

Skill · How-to guideNo license stated

watermarks-remover

A privacy-first app that strips AI watermarks from content you own.

by guillaumemeyer★ 27,7961 skills

Skill · How-to guide

obsidian-skills

Agent skills for Obsidian. Teach your agent to use Obsidian CLI and open formats including Markdown, Bases, JSON Canvas.

by kepano★ 53,242 (whole repo)5 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity6/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score18/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install JavaBytes. Follow https://mcp.popnx.com/i/markymakes-dev-javabytes.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 20, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a JavaBytes key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server JavaBytes for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "javabytes": { "command": "npx", "args": [ "-y", "javabytes-mcp" ], "env": { "JAVABYTES_DB_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For JAVABYTES_DB_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the JavaBytes tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a JavaBytes key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "javabytes": {
          "command": "npx",
          "args": [
            "-y",
            "javabytes-mcp"
          ],
          "env": {
            "JAVABYTES_DB_PASSWORD": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use JavaBytes and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using JavaBytes or shows a JavaBytes tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • JAVABYTES_ALLOWED_DIRS Filesystem sandbox roots (defaults to working dir + JVM temp dir)
  • JAVABYTES_DB_URL JDBC URL for the MySQL tools
  • JAVABYTES_DB_USER MySQL user

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect JavaBytes yet

JavaBytes runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect JavaBytes

  • You need a JavaBytes key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a JavaBytes key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a JavaBytes key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a JavaBytes key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Docs, sheets & office work that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a JavaBytes key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server JavaBytes for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user javabytes --env JAVABYTES_DB_PASSWORD=your-value -- npx -y javabytes-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For JAVABYTES_DB_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the JavaBytes tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a JavaBytes key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user javabytes --env JAVABYTES_DB_PASSWORD=your-value -- npx -y javabytes-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see JavaBytes listed as connected

  6. Try it

    Use JavaBytes and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using JavaBytes or shows a JavaBytes tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • JAVABYTES_ALLOWED_DIRS Filesystem sandbox roots (defaults to working dir + JVM temp dir)
  • JAVABYTES_DB_URL JDBC URL for the MySQL tools
  • JAVABYTES_DB_USER MySQL user

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a JavaBytes key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server JavaBytes for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "javabytes": { "command": "npx", "args": [ "-y", "javabytes-mcp" ], "env": { "JAVABYTES_DB_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For JAVABYTES_DB_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the JavaBytes tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a JavaBytes key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the JavaBytes settings, JAVABYTES_DB_PASSWORD is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use JavaBytes and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using JavaBytes or shows a JavaBytes tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • JAVABYTES_ALLOWED_DIRS Filesystem sandbox roots (defaults to working dir + JVM temp dir)
  • JAVABYTES_DB_URL JDBC URL for the MySQL tools
  • JAVABYTES_DB_USER MySQL user

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a JavaBytes key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server JavaBytes for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "javabytes": { "type": "stdio", "command": "npx", "args": [ "-y", "javabytes-mcp" ], "env": { "JAVABYTES_DB_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For JAVABYTES_DB_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the JavaBytes tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a JavaBytes key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the JavaBytes settings, JAVABYTES_DB_PASSWORD is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use JavaBytes and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using JavaBytes or shows a JavaBytes tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • JAVABYTES_ALLOWED_DIRS Filesystem sandbox roots (defaults to working dir + JVM temp dir)
  • JAVABYTES_DB_URL JDBC URL for the MySQL tools
  • JAVABYTES_DB_USER MySQL user

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use JavaBytes💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user javabytes --env JAVABYTES_DB_PASSWORD=your-value -- npx -y javabytes-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "javabytes": {
      "command": "npx",
      "args": [
        "-y",
        "javabytes-mcp"
      ],
      "env": {
        "JAVABYTES_DB_PASSWORD": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "javabytes": {
      "command": "npx",
      "args": [
        "-y",
        "javabytes-mcp"
      ],
      "env": {
        "JAVABYTES_DB_PASSWORD": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "javabytes": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "javabytes-mcp"
      ],
      "env": {
        "JAVABYTES_DB_PASSWORD": "your-value"
      }
    }
  }
}

Values you fill in

  • JAVABYTES_ALLOWED_DIRS env
    Filesystem sandbox roots (defaults to working dir + JVM temp dir)
  • JAVABYTES_DB_URL env
    JDBC URL for the MySQL tools
  • JAVABYTES_DB_USER env
    MySQL user
  • JAVABYTES_DB_PASSWORD secret required env
    MySQL password

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
1.5.0
Published to registryi
Nov 20, 2026
Code last changedi
Nov 19, 2026
Maker
markymakes-dev
Packages
npm: javabytes-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account markymakes-dev, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/markymakes-dev-javabytes.svg)](https://mcp.popnx.com/en/servers/markymakes-dev-javabytes)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Docs, sheets & office worki

  • More stars than 86% of the other 4164 servers in this category
  • Published to the registry more recently than 99% of the other 4164 servers in this category
  • Basic checks equal to or better than 99% of the other 4164 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is JavaBytes safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: JAVABYTES_DB_PASSWORD

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (1.5.0) reached the registry today.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Puter MCP, XcodeBuildMCP, Vexa, Atlassian Rovo MCP Server, Anki MCP Server

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Puter MCP

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

by HeyPuterWidely used★ 44.2KUpdated 5 months ago

Runs in the cloud✓ service owner · puter.com

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

by getsentryWidely used↓ 130.5K/wk shared package★ 6.6KUpdated 4 months ago

Runs on your computer✓ service owner · xcodebuildmcp.com

Vexa

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

by Vexa-aiWidely used★ 3KUpdated 2 months ago

Runs in the cloud✓ service owner · vexa.ai

Atlassian Rovo MCP Server

Atlassian’s official server lets AI search and manage Jira work and Confluence pages. Connects to Atlassian’s cloud with OAuth sign-in.

by atlassianGrowing★ 1.2KUpdated 2 months ago

Runs in the cloud✓ service owner · atlassian.com

Anki MCP Server

MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect.

by ankimcpGrowing↓ 1.1K/wk★ 570Updated 2 months ago

Runs on your computer✓ service owner · ankimcp.ai
Compared with similar ones
This one
JavaBytes
Puter MCPXcodeBuildMCPVexaAtlassian Rovo MCP ServerAnki MCP Server
Runs whereInstalls on your computerRuns in the cloud, nothing to installInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installInstalls on your computer
Needs a keyYesNoNoYesNoNo
Add with + in ClaudeNoNoNoNoYesNo
Basic checks3/34/43/32/44/43/3
LicenseMITAGPL-3.0MITApache-2.0Apache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

JavaBytes

A general-purpose Java MCP (Model Context Protocol) server that speaks JSON-RPC 2.0 over stdio.

It exposes Java-oriented tools for file access, MySQL, JavaFX canvas rendering/export, project diagnostics, and code/CSS generation. It has no MCP SDK dependency: the protocol is implemented directly with Jackson.

Scope note: tools that only reword a prompt (most *_generate_* tools) are conveniences.

The tools that add real capability are the ones that touch the world: the file sandbox, live

MySQL, JavaFX rendering, and project inspection.

Requirements

  • Node.js 18+ (only for the npx launcher)
  • JDK 21 or newer (built and tested with JDK 25)
  • Maven 3.9+ (only to build from source)

Install with npx

The javabytes-mcp package bundles the shaded jar, so a client only needs Node.js and Java:

npx -y javabytes-mcp

It resolves java from JAVABYTES_JAVA, then JAVA_HOME, then PATH, and the jar from JAVABYTES_JAR or the bundled copy.

Client config — Claude Desktop and most clients:

{

"mcpServers": { "javabytes": { "command": "npx", "args": ["-y", "javabytes-mcp"], "env": { "JAVABYTES_DB_URL": "jdbc:mysql://localhost:3306/appdb", "JAVABYTES_DB_USER": "app", "JAVABYTES_DB_PASSWORD": "change-me" } } } }

OpenCode (~/.config/opencode/opencode.json) uses a different shape — mcp, a command array, and environment rather than env:

{

"mcp": { "javabytes": { "type": "local", "command": ["npx", "-y", "javabytes-mcp"], "environment": { "JAVABYTES_DB_URL": "jdbc:mysql://localhost:3306/appdb", "JAVABYTES_DB_USER": "app", "JAVABYTES_DB_PASSWORD": "change-me" }, "enabled": true } } }

First Run (recommended)

# 1. Check your environment

npx -y javabytes-mcp doctor

2. Generate the config for your client (copy-paste into its config file)

npx -y javabytes-mcp config --client=opencode # → ~/.config/opencode/opencode.json npx -y javabytes-mcp config --client=claude # → claude_desktop_config.json npx -y javabytes-mcp config --client=cursor # → Cursor MCP settings npx -y javabytes-mcp config --client=vscode # → .vscode/mcp.json

3. Restart your client and verify tools load (should show 50/80)

Example doctor output:

PASS java: 21.0.5 via JAVA_HOME (/usr/lib/jvm/java-21-openjdk/bin/java)

PASS jar: present (15.8 MB) INFO db: JAVABYTES_DB_URL is not set - MySQL tools will be unconfigured PASS update: up to date (1.2.0) 4 checks, 0 problems

Quick reference for config locations:

ClientConfig commandWhere to paste
OpenCodenpx -y javabytes-mcp config --client=opencode~/.config/opencode/opencode.json
Claude Desktopnpx -y javabytes-mcp config --client=claude~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Cursornpx -y javabytes-mcp config --client=cursor~/.cursor/mcp.json
VS Codenpx -y javabytes-mcp config --client=vscode.vscode/mcp.json in your workspace

Then set your real DB credentials:

# Optional: configure MySQL for live queries

export JAVABYTES_DB_URL=jdbc:mysql://localhost:3306/yourdb export JAVABYTES_DB_USER=youruser export JAVABYTES_DB_PASSWORD=yourpassword

Restart the client / MCP server

The doctor command checks Java ≥ 21, the bundled jar, MySQL env, and npm updates. The config command prints ready-to-paste JSON with placeholders — just update the password and database URL, then restart your client.

Build from source

mvn clean test        # 146 unit tests (6 more run live only when JAVABYTES_RUN_DB_TESTS=1)

mvn package # produces target/javabytes.jar (shaded, runnable)

Run from source:

mvn -q exec:java

Run the shaded jar:

java -jar target/javabytes.jar

stdout is reserved for JSON-RPC. All logging goes to stderr.

Configuration

VariableDefaultPurpose
JAVABYTES_ALLOWED_DIRSworking dir + JVM temp dirFallback filesystem sandbox roots
JAVABYTES_ENABLEcategory defaultsEnable/disable tools by group or name
JAVABYTES_DISABLEcategory defaultsDisable specific tools
JAVABYTES_LOG_FILEunsetOptional JSON-RPC trace log
JAVABYTES_DB_URLjdbc:mysql://localhost:3306/appdbMySQL JDBC URL
JAVABYTES_DB_USERappMySQL user
JAVABYTES_DB_PASSWORDchange-meMySQL password

Example:

JAVABYTES_ALLOWED_DIRS=/home/me/projects java -jar target/javabytes.jar

Tool groups and feature flags

Tools are grouped, and a group can be toggled without touching code:

GroupDefaultContents
filesonsandboxed filesystem tools
databaseonread-only MySQL query/list/describe
systemonsystem info, time conversion, version, tool list
jsononJSON path query
javafxonoff-screen canvas, drawing and PNG export
analysisoncode/UI/security/TODO analysis and Spring Boot inspection
diagnosticsonevidence-based project diagnostics
ui, design, codegen, springbootofftemplate generators

A fresh server exposes 50 capability tools; the 30 template generators are opt-in (JAVABYTES_ENABLE=all exposes all 80).

Enable or disable by group or by individual tool name:

# Add every Spring Boot and code generator

JAVABYTES_ENABLE=springboot,codegen java -jar target/javabytes.jar

Everything, except one destructive tool

JAVABYTES_ENABLE=all JAVABYTES_DISABLE=delete_file java -jar target/javabytes.jar

Precedence, highest first: disabled by tool name → enabled by tool name → disabled group → enabled group → all in the disable list → all in the enable list → the group default. tools/list only advertises enabled tools; calling a disabled tool returns JSON-RPC -32602 with the flag needed to enable it.

Every tool descriptor also carries a title and MCP annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) so clients can ask for confirmation or auto-approve reads.

MCP roots

If the client advertises capabilities.roots, the server requests roots/list after initialization and again after notifications/roots/list_changed. Usable file:// roots replace the environment sandbox for the session, narrowing what file tools may touch. If the client returns no usable roots, or the request fails, the JAVABYTES_ALLOWED_DIRS fallback stays in effect. Filesystem roots such as C:\ and / are refused so a misconfiguration cannot expose the whole disk.

Tool catalog

Capabilities
ToolWhat it does
query_databaseRead-only SQL (SELECT/SHOW/DESCRIBE/EXPLAIN/WITH), max 1000 rows
list_tablesTables and views
describe_tableColumn metadata; identifiers are validated and backtick-quoted
javafx_init_canvasCreate an off-screen canvas
javafx_draw_canvasDraw rectangle/circle/line/text
javafx_set_colorSet fill/stroke color
javafx_clear_canvasClear the canvas
javafx_export_imageSnapshot to a real PNG via SwingFXUtils + ImageIO
project_diagnosticEvidence-based dependency/configuration check
analyze_springboot_projectSpring Boot layout inspection
extract_data_modelsParse mongoose/prisma/sequelize/SQL/JSON data declarations into tables and columns, with per-field confidence and an honest limitations list
models_to_schemaConvert parsed schema models into normalized schema proposals: proposed DDL, pass-through verdicts, and a verification list of medium/low-confidence fields
generate_databaseExecute proposed normalized DDL against a user-supplied JDBC URL to create the schema (creates only; refuses existing-table collision unless confirm=true)
fix_javafx_headlessAdds the Monocle property (dry run by default; apply=true to write)
create_mysql_clientGenerates a self-contained JDBC helper that reads credentials from env
get_system_infoJVM/OS/hardware info
environment_variablesRead env vars; secret-like values masked unless reveal=true
Filesystem (sandboxed)

read_text_file, write_file, list_directory, get_file_info, make_directory, delete_file, search_files (glob + optional content regex), backup_file (no overwrite), compare_files.

Convenience generators

generate_code, generate_tests, generate_docs, refactor_code, check_security, find_todos, analyze_code, generate_css, generate_ui_code, generate_javafx_component, extract_design_system, analyze_ui_layout, html_css_to_javafx_css, design_tokens, anti_slop_review, translate_webapp, json_query, convert_time, get_version, list_services, and the springboot_generate_* family (entity, repository, service, controller, DTO, properties, security, relationship, actuator, exception handler, validation, pagination, file upload, scheduled, async, cache, profile, docker, test).

These emit templates. They do not compile or run the result. Prefer prompting for anything beyond their exact shape. All of them are disabled by default; enable them with JAVABYTES_ENABLE=ui,design,codegen,springboot (or all).

Crew prompts (built-in migration manual)

Alongside tools the server advertises the MCP prompts capability and ships four prompt templates — the crew pack — mapped 1:1 to the java-anything pipeline phases:

  • recon — analyze the source app, choose the UI strategy with the human (ask-first wizard, ADR 0004/0013), produce the wave-ordered ticket list.
  • port — translate the honest subset per unit, hand-write the rest, record cases for the gate.
  • verify — run the migration gate per unit; a unit is done only when recorded behavior replays.
  • report — assemble the Converted / Manual work / Unverified split; claims end where evidence ends.

Prompts are documentation: always advertised, never feature-gated, they call no tools and carry no logic. A drift test in CI asserts every tool name a prompt references still exists in the catalog, so renames can never silently break the crew manual.

Structured tool results

Every tool descriptor in tools/list carries a derived outputSchema — the result envelope as a machine-checkable contract: success (boolean, required), error and message (optional strings), tool-specific payload keys permitted. Successful tools/call results also carry structuredContent: the envelope as a real JSON object, so typed clients (MCP Inspector, FastMCP-style clients, IDE integrations) read results as data instead of re-parsing a string. Error results omit structuredContent per the MCP spec; the envelope still travels in text content, so text-reading clients see zero change. The schema is derived once in the same place input schemas are rendered — no per-tool annotation, no drift, no new dependency (conformance is a CI round-trip test, not a runtime validator).

Security model

  • Path sandbox. AppConfig.isPathAllowed rejects empty paths and null bytes, normalizes, resolves the real path of the deepest existing ancestor (so non-existent targets and symlinks are handled), and compares on component boundaries. C:\dev-evil never matches C:\dev.
  • Read-only SQL. MyDatabaseClient.query validates the statement, refuses multiple statements, sets the connection read-only, caps rows,(sf and applies a query timeout.
  • **Identifier validation.describe_table accepts only plain identifiers or schema.table.
  • **Secret masking.`Environment variables whose names look like credentials

Only the beginning is shown; read the rest in the repo