Maven Project Generator MCP

Maven Project Generator MCP

Enables automatic generation of complete Maven projects (applications, plugins, libraries) with intelligent package detection, customizable file structure, and integrated ZIP export functionality.

Category
Visit Server

README

🚀 Maven Project Generator MCP

Un serveur MCP (Model Context Protocol) pour générer automatiquement des projets Maven complets avec export ZIP intégré, spécialement conçu pour Claude Desktop.

📋 Table des matières

🎯 Fonctionnalités

✨ Génération automatique

  • Projets Maven complets : Applications, plugins, bibliothèques
  • Structure standard : Respect des conventions Maven
  • Templates intelligents : Génération de pom.xml optimisés
  • Classes par défaut : Main.java ou Mojo selon le type

🔍 Détection intelligente

  • Auto-détection des packages Java depuis le code source
  • Extraction automatique des noms de classes
  • Validation des structures Maven
  • Gestion d'erreurs robuste

📦 Export et organisation

  • Export ZIP automatique avec structure complète
  • Gestion des répertoires automatique
  • Support multi-fichiers (Java, ressources, documentation)
  • Chemins personnalisés pour fichiers spéciaux

🎨 Types de projets supportés

  • Applications : Projets Java standard avec main()
  • Plugins Maven : Avec classes Mojo et annotations
  • Bibliothèques : Projets jar réutilisables

🔧 Installation

Prérequis

  • Node.js 18+
  • npm ou yarn
  • Claude Desktop installé

1. Cloner et installer

git clone <votre-repo>
cd maven-project-generator-mcp
npm install

2. Compiler le TypeScript

npm run build

⚙️ Configuration

Configuration Claude Desktop

Fichier de configuration :

  • Windows : %APPDATA%\Claude\claude_desktop_config.json
  • macOS/Linux : ~/.config/claude-desktop/claude_desktop_config.json

Contenu :

{
  "mcpServers": {
    "maven-project-generator": {
      "command": "node",
      "args": [
        "C:\\chemin\\vers\\votre\\projet\\dist\\index.js"
      ],
      "description": "Générateur de projets Maven avec export ZIP",
      "env": {
        "NODE_ENV": "production"
      }
    }
  }
}

Variables d'environnement

# Optionnel : répertoire de sortie par défaut
MAVEN_OUTPUT_DIR=./output

# Optionnel : niveau de log
LOG_LEVEL=info

🎮 Utilisation

Commandes disponibles dans Claude Desktop

1. 🏗️ Créer un projet

Crée un nouveau projet Maven avec :
- Group ID: com.monentreprise
- Artifact ID: mon-super-plugin  
- Type: plugin
- Description: Plugin Maven pour automatiser les builds

2. ☕ Ajouter des fichiers Java

Ajoute cette classe Java au projet :

package com.monentreprise.utils;

public class StringHelper {
    public static String capitalize(String input) {
        return input.substring(0, 1).toUpperCase() + input.substring(1);
    }
}

3. 📄 Ajouter des ressources

Ajoute un fichier application.properties avec :
app.name=Mon Application
app.version=1.0.0

4. 📦 Générer le ZIP final

Génère maintenant le projet Maven complet en ZIP

Workflow typique

  1. Créer le projet de base
  2. Ajouter les classes Java nécessaires
  3. Configurer les ressources
  4. Personnaliser le pom.xml si besoin
  5. Générer le ZIP final

🔍 API Documentation

Interface MavenProject

interface MavenProject {
  groupId: string;        // Identifiant du groupe
  artifactId: string;     // Identifiant de l'artifact
  version: string;        // Version du projet
  name?: string;          // Nom affiché
  description?: string;   // Description
  javaVersion?: string

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