Maven Indexer Mcp

Created By
tangcent6 months ago
A Model Context Protocol (MCP) server that indexes your local Maven repository (~/.m2/repository) and Gradle cache (~/.gradle/caches/modules-2/files-2.1) to provide AI agents with tools to search for Java classes, method signatures, and source code.
Overview

What is Maven Indexer MCP?

Maven Indexer MCP is a Model Context Protocol (MCP) server that indexes your local Maven repository and Gradle cache to provide AI agents with tools to search for Java classes, method signatures, and source code.

How to use Maven Indexer MCP?

To use Maven Indexer MCP, configure your MCP client with the provided JSON configuration, which automatically detects your Maven repository and Gradle cache locations. You can then enter prompts to search for classes and methods in your local repository.

Key features of Maven Indexer MCP?

  • Semantic Class Search: Search for classes by name or purpose.
  • Inheritance Search: Find all implementations of an interface or subclasses of a class.
  • On-Demand Analysis: Extracts method signatures and Javadocs directly from JARs.
  • Source Code Retrieval: Provides full source code if available.
  • Real-time Monitoring: Automatically updates the index when repositories change.

Use cases of Maven Indexer MCP?

  1. Finding internal company packages that are not publicly available.
  2. Searching for less popular open-source libraries that AI models may not recognize.
  3. Verifying versions of classes present in local repositories.

FAQ from Maven Indexer MCP?

  • Can Maven Indexer MCP search for private libraries?

Yes! It indexes your local Maven repository and Gradle cache, allowing searches for private libraries.

  • Is there a way to configure which packages are indexed?

Yes! You can set environment variables to filter which packages are indexed.

  • How do I check if Maven Indexer MCP is working?

Enter a prompt like 'Find the class StringUtils in my local maven repository and show me its methods.' in your MCP client.

Server Config

{
  "mcpServers": {
    "maven-indexer": {
      "command": "npx",
      "args": [
        "-y",
        "maven-indexer-mcp@latest"
      ]
    }
  }
}
Project Info
Created At
6 months ago
Updated At
6 months ago
Author Name
tangcent
Star
-
Language
-
License
-

Recommend Servers

View All
Tavily Mcp
@tavily-ai

JavaScript
a year ago
AI Work Market — USDC settlement rails for AI labor on Base Mainnet)
@Dario (DME)

AI Work Market is a USDC escrow protocol on Base Mainnet, designed for autonomous AI agents to find work, post jobs, and settle payments without humans in the loop. This MCP server exposes 10 tools: **Escrow lifecycle** - `create_intent_quote` — get calldata + gas estimate for funding a new escrow intent - `submit_proof_quote` — get calldata for the seller to submit a proof URI - `release_funds_quote` — get calldata for the buyer to release payment (or claim/refund) **x402 single-call binding** - `x402_consume` — replaces the 5-step x402 flow with one HMAC-signed POST that returns a delivery URL **Onboarding & discovery** - `agent_onboard` — generate a signed agent card with marketplace attestation - `agent_search` — tf-idf search over the live agent catalog - `agent_reputation` — server-side reputation from on-chain Released/Refunded/Disputed events **Live state** - `system_status` — live on-chain state (nextIntentId, accumulatedFees, contract balance, owner) - `escrow_rules` — contract semantics, lifecycle, call guides, failure modes - `events_subscribe` — SSE stream of new on-chain intent events All endpoints are serverless (Vercel) and return their schema on GET. No browser, no wallet UI required for an agent to integrate. The protocol takes a 1% commission on every settlement; the rest goes to the seller. The full AgentCard is at `/.well-known/agent-card.json` (A2A-compatible). The OpenAPI 3.0.3 spec is at `/.well-known/openapi.json` with `components.securitySchemes` (none, hmacX402). `robots.txt` allows GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Amazonbot.

30 minutes ago