jar-tools-mcp

jar-tools-mcp

MCP server for jar.tools' JAR security scanner. Enables AI agents to scan local .jar, .zip, or .class files for supply-chain risk without opening a browser.

Category
Visit Server

README

jar-tools-mcp

MCP server for jar.tools' JAR security scanner. Scan a local .jar, .zip, or .class file for supply-chain risk — network activity, file access, process execution, and obfuscation/decompiler-evasion signals — directly from an AI agent, without opening a browser.

Features

  • Static behavioral analysis of .jar/.zip/.class files — the file is never executed
  • Suspicious-class counts broken down by category (network, file access, process execution, hard-to-review code)
  • Decompiler-anomaly detection (obfuscation/evasion signals)
  • Optional Pro license key raises the .jar size cap from 64MB to 256MB

Use Cases

  • Audit a dependency before adding it to a build — scan a resolved JAR pulled from Maven/Gradle before trusting it
  • Investigate a suspicious plugin or mod — check a Minecraft mod or IDE plugin JAR before installing
  • Review a vendor SDK — static analysis of a third-party binary before shipping it to production

Installation

npm install -g github:gogainda/jar-tools-mcp

Until the npm registry release is available, this installs directly from the public GitHub repository. No API key is required for the default free tier.

Configuration

Codex Setup

Add the MCP server with the Codex CLI:

codex mcp add jar-tools -- npx -y github:gogainda/jar-tools-mcp

Verify that Codex can see it:

codex mcp list

You can also add it manually to ~/.codex/config.toml:

[mcp_servers.jar-tools]
command = "npx"
args = ["-y", "github:gogainda/jar-tools-mcp"]

For Pro scans, export JARTOOLS_LICENSE_KEY before starting Codex and allow the MCP server to receive it:

[mcp_servers.jar-tools]
command = "npx"
args = ["-y", "github:gogainda/jar-tools-mcp"]
env_vars = ["JARTOOLS_LICENSE_KEY"]

In an active Codex session, use /mcp to confirm that jar-tools is connected.

Claude Code Setup

Add the MCP server using the CLI:

claude mcp add jar-tools -- npx -y github:gogainda/jar-tools-mcp

Or add manually to ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "jar-tools": {
      "command": "npx",
      "args": ["-y", "github:gogainda/jar-tools-mcp"]
    }
  }
}

Optional: Pro License Key

If you have a jar.tools Pro license and need to scan .jar files larger than 64MB:

export JARTOOLS_LICENSE_KEY=your-license-key

Or pass license_key as a tool argument on individual calls.

Usage

Ask your agent to scan a file:

Scan ./vendor/some-library.jar for supply-chain risk before I add it as a dependency.

The tool returns a text summary (suspicious-class count, top signal categories, decompiler-anomaly flags) plus the full JSON findings report.

API Reference

This server is a thin wrapper around the public jar.tools Security Scan API (POST /api/v1/security-scan/jar-report / class-report). See that page for the full response schema if you want to parse the JSON output yourself.

Development

# Build
npm run build

# Test
npm test

# Run directly
node dist/index.js

Author

Visit my personal site: https://igorstechnoclub.com

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured