Skip to main content
Glama
ghiloufibg

Maven Project Generator MCP

by ghiloufibg

set_pom_xml

Set or modify the content of a Maven project's pom.xml file to configure dependencies, plugins, and project settings for Java applications.

Instructions

Definir ou modifier le contenu du pom.xml

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesContenu complet du pom.xml

Implementation Reference

  • The actual handler implementation for the 'set_pom_xml' tool.
    async function setPomXml(args: any) {
      currentProject.files["pom.xml"] = args.content;
    
      return {
        content: [
          {
            type: "text",
            text: "pom.xml mis a jour avec succes!",
          },
        ],
      };
    }
  • src/index.ts:157-168 (registration)
    The registration definition for the 'set_pom_xml' tool in the MCP tools list.
    name: "set_pom_xml",
    description: "Definir ou modifier le contenu du pom.xml",
    inputSchema: {
      type: "object",
      properties: {
        content: {
          type: "string",
          description: "Contenu complet du pom.xml",
        },
      },
      required: ["content"],
    },

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