Skip to main content
Glama

omlx-mcp-server

Local stdio MCP server for oMLX.

Tools

  • omlx_status: return the local oMLX model list and current power status in one call.

  • omlx_run: unified execution tool for either chat or agent mode.

Related MCP server: local-mcp

Battery Guard

omlx_run checks power status before using a model.

  • On AC power: execute normally.

  • On battery power: return status="needs_confirmation" unless allow_on_battery=true.

This is meant to force an explicit user decision before running heavy local inference on battery.

Compact Interface

The server is intentionally compressed to two tools to keep MCP schema overhead down.

  • Use omlx_status() to fetch models + power_status.

  • Use omlx_run(mode="chat" | "agent", prompt=...) for execution.

omlx_run picks a default model automatically:

  • chat mode defaults to MLX-Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled-v2-4bit

  • agent mode defaults to MLX-Qwen3.5-35B-A3B-Claude-4.6-Opus-Reasoning-Distilled-8bit

Defaults

  • Default chat model: MLX-Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled-v2-4bit

  • Default agent model: MLX-Qwen3.5-35B-A3B-Claude-4.6-Opus-Reasoning-Distilled-8bit

  • Default base URL: http://127.0.0.1:8000/v1

Local Run

UV_CACHE_DIR=.uv-cache UV_PROJECT_ENVIRONMENT=.venv uv sync --dev
UV_CACHE_DIR=.uv-cache UV_PROJECT_ENVIRONMENT=.venv uv run omlx-mcp-server

Codex Config Snippet

Add this to your Codex config if you want future sessions to discover it automatically. Replace /path/to/omlx-mcp-server with your clone path and set your local oMLX key:

[mcp_servers.omlx]
command = "uv"
args = [
  "run",
  "--directory", "/path/to/omlx-mcp-server",
  "omlx-mcp-server",
]

[mcp_servers.omlx.env]
UV_CACHE_DIR = "/path/to/omlx-mcp-server/.uv-cache"
UV_PROJECT_ENVIRONMENT = "/path/to/omlx-mcp-server/.venv"
OMLX_BASE_URL = "http://127.0.0.1:8000/v1"
OMLX_API_KEY = "your-local-omlx-key"
OMLX_DEFAULT_MODEL = "MLX-Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled-v2-4bit"
OMLX_AGENT_MODEL = "MLX-Qwen3.5-35B-A3B-Claude-4.6-Opus-Reasoning-Distilled-8bit"
Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables running MCP tools against local MLX models on your Mac, with hardware-aware configuration, CLI streaming, and a dashboard for routing and monitoring.
    5,309
    Inno Setup
  • A
    license
    -
    quality
    D
    maintenance
    MCP server that enables local Apple on-device Foundation Model access via any MCP client, supporting text generation, structured output, and multi-turn chat on macOS.
    2
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    MCP server that connects LLM agents to a local LM Studio instance, enabling model management, OpenAI-compatible chat completions, text completions, and embeddings through a set of tools.
    9
    1

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.

View all MCP Connectors

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/glasses666/omlx-mcp-server'

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