omlx-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@omlx-mcp-serverWhat models are available and what's the power status?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
omlx-mcp-server
Local stdio MCP server for oMLX.
Tools
omlx_status: return the localoMLXmodel list and current power status in one call.omlx_run: unified execution tool for eitherchatoragentmode.
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"unlessallow_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 fetchmodels + power_status.Use
omlx_run(mode="chat" | "agent", prompt=...)for execution.
omlx_run picks a default model automatically:
chatmode defaults toMLX-Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled-v2-4bitagentmode defaults toMLX-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-4bitDefault agent model:
MLX-Qwen3.5-35B-A3B-Claude-4.6-Opus-Reasoning-Distilled-8bitDefault 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-serverCodex 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"Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Alicense-qualityBmaintenanceA Python MCP server that exposes local Ollama models as tools for AI assistants, enabling chat, generation, embeddings, and model management without cloud APIs.5MIT
- Alicense-qualityDmaintenanceEnables running MCP tools against local MLX models on your Mac, with hardware-aware configuration, CLI streaming, and a dashboard for routing and monitoring.5,309Inno Setup
- Alicense-qualityDmaintenanceMCP 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.2MIT
- FlicenseAqualityCmaintenanceMCP 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.91
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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