Skip to main content
Glama

Gradle Tomcat MCP Server

by lkb2k

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_DIRNoDirectory for log files./logs
TOMCAT_PORTNoExpected Tomcat port8080
GRADLE_COMMANDNoGradle command to runappRun
GRADLE_WORKING_DIRNoWorking directory for Gradle commandscurrent directory
MAX_LOG_BUFFER_SIZENoMaximum log entries in memory1000

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
start_tomcat

Launch Tomcat via Gradle

stop_tomcat

Terminate Tomcat process

restart_tomcat

Stop and start Tomcat

get_tomcat_status

Check Tomcat process status

get_logs

Retrieve log entries

clear_logs

Clear log buffer and files

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/lkb2k/mcp-gradle'

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