Onde Inference MCP Server
Enables managing Onde Inference accounts and model catalog operations through MCP tools such as login, app management, model registration, and assignment. Returns structured JSON over stdio for use with any MCP client.
README
<p align="center"> <img src="https://raw.githubusercontent.com/ondeinference/onde/refs/heads/development/assets/onde-inference-logo.svg" alt="Onde Inference" width="96"> </p>
<h1 align="center">Onde Inference CLI</h1>
<p align="center"> Command-line interface for <a href="https://ondeinference.com/">Onde Inference</a>. </p>
<p align="center"> <a href="https://ondeinference.com"><img src="https://img.shields.io/badge/ondeinference.com-235843?style=flat-square&labelColor=17211D" alt="Website"></a> <a href="https://apps.apple.com/se/developer/splitfire-ab/id1831430993"><img src="https://img.shields.io/badge/App%20Store-live-235843?style=flat-square&labelColor=17211D" alt="App Store"></a> <a href="https://www.npmjs.com/package/@ondeinference/cli"><img src="https://img.shields.io/npm/v/@ondeinference/cli?style=flat-square&labelColor=17211D&color=235843" alt="npm"></a> <a href="https://pypi.org/project/onde-cli/"><img src="https://img.shields.io/pypi/v/onde-cli?style=flat-square&labelColor=17211D&color=235843" alt="PyPI"></a> <a href="https://pub.dev/packages/onde_cli"><img src="https://img.shields.io/pub/v/onde_cli?style=flat-square&labelColor=17211D&color=235843" alt="pub.dev"></a> <a href="https://www.nuget.org/packages/Onde.Cli"><img src="https://img.shields.io/nuget/v/Onde.Cli?style=flat-square&labelColor=17211D&color=235843" alt="NuGet"></a> <a href="https://crates.io/crates/onde-cli"><img src="https://img.shields.io/crates/v/onde-cli?style=flat-square&labelColor=17211D&color=235843" alt="Crates.io"></a> </p>
<p align="center"> <a href="https://github.com/ondeinference/onde-swift">Swift</a> · <a href="https://pub.dev/packages/onde_inference">Flutter</a> · <a href="https://www.npmjs.com/package/@ondeinference/react-native">React Native</a> · <a href="https://crates.io/crates/onde">Rust</a> · <a href="https://ondeinference.com">Website</a> </p>
Manage your Onde Inference account, fine-tune local models, and export them to GGUF, all from the terminal.
Install
Install onde-cli with your favorite tool. For package docs and the full install matrix, see https://ondeinference.com/cli.
npm
npm install -g @ondeinference/cli
Homebrew
brew tap ondeinference/homebrew-tap && brew trust --tap ondeinference/homebrew-tap
brew install onde
pip / uv / uvx
pip install onde-cli
# or
uv tool install onde-cli
uv run onde
# or with
uvx --from onde-cli onde
.NET tool
dotnet tool install --global Onde.Cli
Dart pub global
dart pub global activate onde_cli
The Dart package is a thin launcher. On first run it downloads the right native binary into ~/.onde/cli, then reuses the local copy.
Pre-built binary
Download a release from GitHub Releases:
# macOS Apple Silicon
curl -Lo onde https://github.com/ondeinference/onde-cli/releases/latest/download/onde-macos-arm64
chmod +x onde && mv onde /usr/local/bin/onde
| Platform | File |
|---|---|
| macOS Apple Silicon | onde-macos-arm64 |
| macOS Intel | onde-macos-amd64 |
| Linux x64 | onde-linux-amd64 |
| Linux arm64 | onde-linux-arm64 |
| Windows x64 | onde-win-amd64.exe |
| Windows arm64 | onde-win-arm64.exe |
Usage
onde
This opens the TUI. You can sign up or sign in right there.
| Key | What it does |
|---|---|
Tab |
Move between fields |
Enter |
Submit or sign out |
Ctrl+L |
Go to the sign-in screen |
Ctrl+N |
Go to the new account screen |
Ctrl+C |
Quit |
MCP server
Run onde as a Model Context Protocol server over stdio instead of the TUI:
onde --mcp
This exposes Onde account and model-catalog operations as MCP tools — login, me, apps_list, app_create, app_rename, models_list, model_register, model_assign, hf_search — returning structured JSON. stdout is the JSON-RPC channel; tools run non-interactively and reuse the token from a TUI sign-in (or the login tool). Point any MCP client at the command onde --mcp.
Fine-tuning
onde includes a LoRA fine-tuning pipeline for Qwen2, Qwen2.5, and Qwen3 models. It runs locally: Metal on Apple Silicon, CPU elsewhere. No cloud setup. No Python environment.
The flow is straightforward: download a safetensors base model, fine-tune it with LoRA, merge the adapter back into the base weights, then export to GGUF for use in the Onde SDK.
If you want a quick refresher on what the model is actually doing at inference time, Onde has a short note on the forward pass.
Training data format
Each line should be one complete conversation in Qwen's chat template:
{"text": "<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n<|im_start|>user\nWhat is LoRA?<|im_end|>\n<|im_start|>assistant\nLoRA adds small trainable matrices to frozen layers, letting you fine-tune large models without updating all the weights.<|im_end|>"}
Save the file wherever you want. The TUI lets you point to it directly.
Running it
onde
→ Models tab (Tab from Apps)
→ Select a safetensors model (↑↓, Enter)
→ Press f
Only safetensors models can be fine-tuned. GGUF models are already quantized, so their weights are not differentiable.
Configure the run:
| Field | Default | Notes |
|---|---|---|
| Training data | ~/.onde/finetune/train.jsonl |
Path to your JSONL file |
| LoRA rank | 8 |
Higher means more capacity and more memory use |
| Epochs | 3 |
Full passes over the dataset |
| Learning rate | 0.0001 |
AdamW default |
Press Enter to start. In a healthy run, loss usually starts dropping by epoch 2. If it stays flat, try 0.0003.
After training
For rank 8 on a 0.6B model, the adapter is about 1.5 MB. From the fine-tune complete screen:
mto merge the adapter into the base modelgto export the merged model to GGUF
The resulting GGUF loads directly in the Onde SDK for on-device AI inference.
Supported base models
| Model | Size | Notes |
|---|---|---|
Qwen/Qwen3-0.6B |
~1.2 GB | Smallest and quickest to train |
Qwen/Qwen2.5-1.5B-Instruct |
~3.0 GB | Good default for instruction tuning |
Qwen/Qwen3-1.7B |
~3.4 GB | Newer small Qwen3 model |
Qwen/Qwen3-4B |
~8.0 GB | Best quality, better suited to macOS |
You can search for any of these from the Models tab with /.
Debug
Logs are written to ~/.cache/onde/debug.log.
If you installed through pub.dev, the launcher cache lives under ~/.onde/cli.
License
Dual-licensed under MIT and Apache 2.0.
Copyright
© 2026 Splitfire AB (Onde Inference).
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。