Skip to main content
Glama
ghiloufibg

Maven Project Generator MCP

by ghiloufibg

clear_project

Remove all generated files and reset the current Maven project to its initial state, allowing for a clean restart of project generation.

Instructions

Vider le projet en cours

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The actual implementation of the clear_project logic which resets the currentProject object and returns a success message.
    async function clearProject() {
      currentProject = {
        groupId: "",
        artifactId: "",
        version: "1.0.0",
        files: {},
      };
    
      return {
        content: [
          {
            type: "text",
            text: "Projet vide avec succes! Vous pouvez maintenant creer un nouveau projet.",
          },
        ],
  • src/index.ts:184-190 (registration)
    Registration of the clear_project tool definition for the MCP server.
      name: "clear_project",
      description: "Vider le projet en cours",
      inputSchema: {
        type: "object",
        properties: {},
      },
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ghiloufibg/maven-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server