Koskamo

jvmsrc MCP

An MCP server and CLI that provides coding agents with accurate JVM classpath information by querying build tools like Gradle and Maven. It retrieves real source code, signatures, and class structures for the exact library versions in use, preventing agents from guessing or reading incorrect JARs from local caches.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

jvmsrc MCP logo, by SintexerCommunity listingLocal stdioSource reviewed; not executedPublished by Sintexer
Vendor documentation

What you can do with it

  • Resolve the exact classpath for a JVM project using Gradle or Maven
  • Search for classes within the resolved dependencies
  • Retrieve class structure and method signatures
  • Fetch actual source code for library classes

Source and maintenance

Community listingRegistry 1.16.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

jvmsrc 1.16.0

npmnpx
jvmsrc package definition
{
  "version": "1.16.0",
  "transport": "stdio",
  "identifier": "jvmsrc",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "packageArguments": [
    {
      "type": "positional",
      "value": "mcp",
      "description": "Run the bundled MCP server (stdio transport)."
    }
  ],
  "runtimeArguments": [
    {
      "name": "-y",
      "type": "named",
      "description": "Install the package via npx without a confirmation prompt."
    }
  ],
  "environmentVariables": [
    {
      "name": "JVMSRC_ALLOWED_ROOTS",
      "format": "string",
      "description": "Optional comma-separated absolute paths; only these project roots are allowed."
    },
    {
      "name": "JVMSRC_CACHE_ROOT",
      "format": "string",
      "description": "Optional absolute path for resolution and decompile caches (default: OS cache dir)."
    },
    {
      "name": "JVMSRC_LOG_DIR",
      "format": "string",
      "description": "Optional absolute path for failure diagnostic logs."
    },
    {
      "name": "JVMSRC_MAX_SOURCE_OUTPUT_CHARS",
      "format": "string",
      "description": "Max characters returned for full-file source (default 524288)."
    },
    {
      "name": "JVMSRC_GRADLE_TIMEOUT_MS",
      "format": "string",
      "description": "Gradle resolution subprocess timeout in milliseconds."
    },
    {
      "name": "JVMSRC_CFR_PATH",
      "format": "filepath",
      "description": "Optional path to a custom CFR JAR for decompilation."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "jvmsrc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "jvmsrc@1.16.0",
        "mcp"
      ],
      "env": {
        "JVMSRC_ALLOWED_ROOTS": "<YOUR_JVMSRC_ALLOWED_ROOTS>",
        "JVMSRC_CACHE_ROOT": "<YOUR_JVMSRC_CACHE_ROOT>",
        "JVMSRC_LOG_DIR": "<YOUR_JVMSRC_LOG_DIR>",
        "JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "<YOUR_JVMSRC_MAX_SOURCE_OUTPUT_CHARS>",
        "JVMSRC_GRADLE_TIMEOUT_MS": "<YOUR_JVMSRC_GRADLE_TIMEOUT_MS>",
        "JVMSRC_CFR_PATH": "<YOUR_JVMSRC_CFR_PATH>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "jvmsrc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "jvmsrc@1.16.0",
        "mcp"
      ],
      "env": {
        "JVMSRC_ALLOWED_ROOTS": "<YOUR_JVMSRC_ALLOWED_ROOTS>",
        "JVMSRC_CACHE_ROOT": "<YOUR_JVMSRC_CACHE_ROOT>",
        "JVMSRC_LOG_DIR": "<YOUR_JVMSRC_LOG_DIR>",
        "JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "<YOUR_JVMSRC_MAX_SOURCE_OUTPUT_CHARS>",
        "JVMSRC_GRADLE_TIMEOUT_MS": "<YOUR_JVMSRC_GRADLE_TIMEOUT_MS>",
        "JVMSRC_CFR_PATH": "<YOUR_JVMSRC_CFR_PATH>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "jvmsrc-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "jvmsrc@1.16.0",
        "mcp"
      ],
      "env": {
        "JVMSRC_ALLOWED_ROOTS": "<YOUR_JVMSRC_ALLOWED_ROOTS>",
        "JVMSRC_CACHE_ROOT": "<YOUR_JVMSRC_CACHE_ROOT>",
        "JVMSRC_LOG_DIR": "<YOUR_JVMSRC_LOG_DIR>",
        "JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "<YOUR_JVMSRC_MAX_SOURCE_OUTPUT_CHARS>",
        "JVMSRC_GRADLE_TIMEOUT_MS": "<YOUR_JVMSRC_GRADLE_TIMEOUT_MS>",
        "JVMSRC_CFR_PATH": "<YOUR_JVMSRC_CFR_PATH>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "jvmsrc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "jvmsrc@1.16.0",
        "mcp"
      ],
      "env": {
        "JVMSRC_ALLOWED_ROOTS": "<YOUR_JVMSRC_ALLOWED_ROOTS>",
        "JVMSRC_CACHE_ROOT": "<YOUR_JVMSRC_CACHE_ROOT>",
        "JVMSRC_LOG_DIR": "<YOUR_JVMSRC_LOG_DIR>",
        "JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "<YOUR_JVMSRC_MAX_SOURCE_OUTPUT_CHARS>",
        "JVMSRC_GRADLE_TIMEOUT_MS": "<YOUR_JVMSRC_GRADLE_TIMEOUT_MS>",
        "JVMSRC_CFR_PATH": "<YOUR_JVMSRC_CFR_PATH>"
      }
    }
  }
}

Let your agent find its tools

Find servers like jvmsrc MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.