Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MLX_API_KEYNoAPI key for secured backends
MLX_TIMEOUTNoRequest timeout in seconds30
MLX_BASE_URLNoBackend URLhttp://localhost:8080
MLX_DEFAULT_MODELNoModel name — required for Ollama

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
chatB

Send a message to the local LLM and return the response with token usage.

quick_testB

Run a predefined diagnostic prompt to sanity-check the loaded model.

health_checkA

Check whether the configured LLM backend is reachable.

list_modelsA

List available models on the configured backend.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
get_configCurrent server configuration (API key is not exposed).
get_usage_docsSetup and usage documentation.

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/deresolution20/mlx-mcp-server'

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