Skip to main content
Glama
higebu
by higebu

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CML_URLYesThe URL of the CML controller, e.g. https://cml.example.net/
CML_PASSWORDYesPassword for CML authentication
CML_USERNAMEYesUsername for CML authentication
CML_CACHE_DIRNoDirectory for token and OpenAPI cache (default: ~/.cache/cml/)~/.cache/cml/
CML_VERIFY_SSLNoWhether to verify TLS certificates (default: off, as CML often uses self-signed certs). Set to 'true' to enable.false

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
cml_openapiA

Return CML2's live OpenAPI spec as a JSON string.

Cached at $CML_CACHE_DIR/openapi.json (default ~/.cache/cml/) for 24h. Set refresh=True to force a re-fetch.

cml_apiA

Authenticated CML2 REST call.

Args: method: HTTP method (GET/POST/PUT/PATCH/DELETE). path: Path AFTER /api/v0, must start with '/'. Example: '/labs'. body: Optional JSON-serializable value (object/array/string/etc.). Sent as the request body with Content-Type: application/json.

Returns the raw response body as text (callers should json.parse if needed). Re-authenticates and retries once on HTTP 401. Raises on non-2xx.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
openapi_resourceThe live (24h-cached) OpenAPI spec, exposed as an MCP resource.

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/higebu/cml2-mcp'

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