Skip to main content
Glama
ghiloufibg

Maven Project Generator MCP

by ghiloufibg

list_files

Lists all files in the current Maven project to review structure and contents for project management and organization.

Instructions

Lister tous les fichiers du projet en cours

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The listFiles function which implements the logic for listing files in the current project.
    async function listFiles() {
      if (Object.keys(currentProject.files).length === 0) {
        return {
          content: [
            {
              type: "text",
              text: "Aucun projet en cours. Creez d'abord un projet avec 'create_maven_project'.",
            },
          ],
        };
      }
    
      const filesList = Object.keys(currentProject.files)
        .sort()
        .map(file => `- ${file}`)
        .join('\n');
    
      return {
        content: [
          {
  • src/index.ts:192-198 (registration)
    The MCP tool registration for list_files.
      name: "list_files",
      description: "Lister tous les fichiers du 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