optiq-mcp
io.github.Baukaalm · Updated
Optimise project images locally with verified quality (SSIM or pixel-exact): JPEG, PNG, WebP, AVIF.
At a glance
optiq-mcp is an MCP server in the Dev Tools & Git category. It runs locally over stdio via `npx -y optiq-mcp`, and declares no required credentials. It scores B (75/100) on the MCP Skills Hub health score as of Oct 28, 2026.
One-click install
Opens your editor and pre-fills the config. Your editor will ask before adding it.
How to install optiq-mcp in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install optiq-mcp in Claude CodeAnthropic's agentic CLI
Add the server
bashclaude mcp add optiq-mcp -- npx -y optiq-mcpVerify it's connected
bashclaude mcp listSharing it with your team?
Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).
Use it in a session
Ask Claude to use the tools this server exposes. It discovers them automatically.
How to install optiq-mcp in Claude DesktopDesktop app (MCP config)
Open your MCP config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this server
json{ "mcpServers": { "optiq-mcp": { "command": "npx", "args": [ "-y", "optiq-mcp" ] } } }Restart Claude Desktop
The tools appear under the 🔌 menu once the app reloads.
How to install optiq-mcp in CursorAI-first code editor
Create / edit .cursor/mcp.json in your project
json{ "mcpServers": { "optiq-mcp": { "command": "npx", "args": [ "-y", "optiq-mcp" ] } } }Enable it
Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.
How to install optiq-mcp in Codex CLIOpenAI coding agent
Add to ~/.codex/config.toml
toml[mcp_servers.optiq-mcp] command = "npx" args = ["-y", "optiq-mcp"]Run Codex
Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.
How to install optiq-mcp in WindsurfCodeium's agentic IDE
Edit ~/.codeium/windsurf/mcp_config.json
json{ "mcpServers": { "optiq-mcp": { "command": "npx", "args": [ "-y", "optiq-mcp" ] } } }Reload
Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.
How to install optiq-mcp in ClineVS Code autonomous agent
Open Cline → MCP Servers → Configure
Adds to cline_mcp_settings.json.
Add the server
json{ "mcpServers": { "optiq-mcp": { "command": "npx", "args": [ "-y", "optiq-mcp" ] } } }
How to install optiq-mcp in VS CodeCopilot / MCP support
Create .vscode/mcp.json
json{ "servers": { "optiq-mcp": { "type": "stdio", "command": "npx", "args": [ "-y", "optiq-mcp" ] } } }Start it
VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.
What tools does optiq-mcp expose?
This server runs as a local package. We only query remote servers for their tool list — asking this one would mean executing it, so its tools are listed in the documentation below.
What the code can do
Read from the published package source — never executed. Parsed 1 of 1 source file.
Nothing in this package's own source reaches for the filesystem, the network, or other programs.
How it was published
- Has a provenance attestation tying this artifact to the commit it was built from.
- 1 npm maintainer — a single point of compromise · last published by baur.sha.
Maintainer of this package and think something here is wrong? Tell us and we'll correct it.
Before you install
Signals gathered from the source repo and package registry — not a safety verdict.
What it can reach
- Runs code on your machine — Executes as a local process with your user's permissions, including filesystem access.
- Downloads at launch — The package is fetched from its registry each run unless you pin a version.
- Last commit today — Actively maintained.
- Repository created 2 days ago — Very new project with little track record yet.
- 0 GitHub stars — Very little community usage so far.
Client compatibility
Health score
B · 75Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated
- Maintenance30%100%
Last commit 0 days ago.
- Adoption20%0%
0 stars.
- Transparency20%75%
3/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✗ discoverable tool list.
- Provenance15%100%
Package and registry entry point at the same repository.
- Packaging15%100%
Publishes a pinned version (0.1.0-beta.3).
Documentation
Full READMEOptiq
[Try the demo](https://baukaalm.github.io/optiq/try) · [Documentation](https://baukaalm.github.io/optiq/) · Benchmarks
Browser-side image optimisation for uploads. For every image Optiq encodes a bounded set of candidates (jpegli, libwebp, libavif, oxipng — compiled to WebAssembly), measures each one, and returns the smallest output that satisfies your constraint:
lossless— decoded pixels (including alpha) are verified identical to the input;visually-lossless— pixels may differ; SSIM ≥ 0.99 against the input (configurable);balanced(default) — SSIM ≥ 0.975, smaller search budget, faster AVIF preset.
AVIF is held to a stricter SSIM threshold than JPEG and WebP. It was calibrated against the independent SSIMULACRA2 metric, which showed SSIM is too lenient on AVIF's smoothing.
The same engine also runs in Node and powers:
- a CLI (
npx optiq-image); - a Vite plugin;
- an MCP server for AI agents (`optiq-mcp`, source in
mcp/).
In the browser, work runs in a Web Worker; the main thread only posts a Blob and receives an ArrayBuffer. Results carry the chosen codec/settings, every candidate tried, the measured quality, warnings, fallbacks and unmet constraints.
Benchmarks: see Benchmark results and bench/results/RESULTS.md. Optiq is not uniformly better than the alternatives; the trade-offs (size vs. time vs. memory) are listed there per category.
Install
pnpm add optiq-image # or npm / yarnRequirements: an ES2022 browser with module Workers and WebAssembly (Chrome/Edge 80+, Firefox 114+, Safari 15+). AVIF *output* is only useful where your audience can decode AVIF (Chrome 85+, Firefox 93+, Safari 16.4+); remove it with autoFormats: ["jpeg", "png", "webp"] otherwise.
Bundler setup (Vite 7 and 8)
// vite.config.ts
export default defineConfig({
worker: { format: "es" }, // codecs are loaded with dynamic import() inside the worker
optimizeDeps: { // dev only: pre-bundling breaks `new URL("x.wasm", import.meta.url)`
exclude: ["optiq-image", "@jsquash/jpeg", "@jsquash/png", "@jsquash/webp", "@jsquash/avif", "@jsquash/oxipng", "@jsquash/resize"],
},
});Excerpt — the full document is on GitHub.
Alternatives to optiq-mcp
- PitroomA · 85Hands bounded coding work to cheaper worker agents: verified answers, exact diffs, cost receipts.
- pare-dockerA · 88Pare Docker ג€” Structured Docker operations (ps, images, logs, build, compose) as typed JSON.
- gdharnessA · 84A harness for driving a Godot 4 project from an agent: addons, runtime bridge, MCP server, CLI.
- BrowserAttachA · 91Control existing signed-in Chrome and Edge tabs through a locally paired extension.
Maintain optiq-mcp? Add a badge to your README
Shows its health grade, and links readers to install steps for every client.
[](https://mcp-skills-hub.vercel.app/mcps/io-github-baukaalm-optiq-mcp)Catalog data refreshed . Something wrong? Report it.