Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_dev_serversA

List all local dev servers (next, vite, rails, django, etc) listening on TCP ports. Returns port, pid, framework, project name, cwd, uptime, memory, cpu.

port_infoA

Get info on a specific port. Returns the dev server holding it, or null if free / not a dev process.

kill_serverA

Kill a dev server by pid or port. Defaults to dry-run; pass confirm=true to actually kill. SIGTERM first, escalates to SIGKILL after 5s. Refuses system PIDs (<1000).

find_zombiesA

Find dev servers that look abandoned: uptime>6h AND cpu<1% AND mem>100MB. Excludes IDE/LSP/agent/DB noise (vscode-server, language-servers, MCPs, postgres, sidekiq, etc) by default. Returns candidates with reasons. Does not auto-kill. Set include_excluded=true to also list noise that meets the heuristic.

port_conflictB

Diagnose why a port is busy. Returns the blocking server and 5 free alternative ports nearby.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/HasanJahidul/localhost-mcp'

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