Lantern
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lantern_scanB | Discover active TCP listening services on the host machine, including process attribution, Docker container correlation, and network reachability classification (localhost, LAN, VPN). |
| lantern_whyA | Explain why a specific network service or port is reachable. Traces the socket back to its process, Docker container, source docker-compose.yml file and line, and network interface reachability. |
| lantern_freeA | Safely reclaims an occupied TCP port. Checks whether the port is held by a Docker container or host process and terminates it cleanly without breaking Docker networking. |
| lantern_doctorA | Run diagnostic environment checks for socket collection, Docker access, and system tools. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a clearly distinct role: scan discovers services, why explains reachability for a specific service/port, free reclaims a port, and doctor checks environment health. The boundaries between discovery, explanation, remediation, and diagnostics are easy to distinguish.
All names use the same lantern_ prefix and short, predictable suffixes. The suffixes scan, why, free, and doctor are concise and consistently styled, making the set easy to remember.
Four tools is well-scoped for a focused network-port diagnostic and remediation server. Each tool covers a necessary part of the workflow without redundant surface area.
The set covers the core lifecycle: discover services, explain reachability, reclaim a port, and diagnose environment issues. Minor gaps exist around continuous monitoring or more targeted container/process inspection, but agents can work around them.