compass-mcp
Provides model recommendations for tasks on OpenAI (ChatGPT, Codex CLI), helping select the optimal model based on task characteristics such as intent, scope, and difficulty.
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., "@compass-mcpfix a typo in the login page"
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.
Compass MCP (compass-mcp)
Purpose
Pick the model that fits the task — not always the cheapest, not locked to one vendor.
Read the task sentence (intent · scope · difficulty) — not keyword spam.
Task | Primary (typical) |
Copy / i18n / typo | Host lightest (see ladder below) |
Small code patch | lightest tier |
UI / multi-file | Sonnet or Fable |
Design / planning / tradeoffs | Fable · Grok · Opus · Sonnet (compete by scope) |
Hard bug / CI | Codex (Terra) |
Lightest is per host — not always Haiku:
Haiku = Claude light example. Cursor light = Composer. GPT light = Mini/Nano.
Host | Lightest id (copy/i18n/tiny) | Mid | High |
cursor |
| Sonnet · Opus · Fable · Grok · Sol | Terra/Codex |
claude | Haiku ( | Sonnet · Opus | — |
openai | Mini/Nano ( | gpt-4.1 · o4-mini | o3 |
Scoring uses logical role Composer 2.5 for the lightest tier; primary_id is host-mapped via list_hosts.
Philosophy: best fit for the job → if unavailable on your host, use the next id in candidates / fallback_chain.
Saving means avoiding overspend (Codex on a one-liner), not under-spending on design.
Local MCP recommends a catalog model. It does not auto-switch the chat UI dropdown.
SSOT for scoring: this MCP. Cursor rules only call tools — they must not paste full MCP dumps into chat (2-line summary).
Related MCP server: MCP Router
Install
Easiest: one command
Clone once, then register MCP for your host — no manual mcp.json paste:
git clone https://github.com/JakeLim17/compass-mcp.git
cd compass-mcp
npm run connect -- cursor # Cursor
npm run connect -- claude # Claude Code (or Claude Desktop fallback)
npm run connect -- codex # OpenAI Codex CLIEach command runs npm install + build, sets COMPASS_MCP_HOST automatically, and writes the server entry (node …/dist/server.js). Existing config is backed up before merge.
Then: restart or refresh MCP in that app (Cursor: Cmd/Ctrl+Shift+J → Tools & MCP → toggle OFF/ON).
Aliases: npm run install:cursor · install:claude · install:codex
Not on npm — clone from GitHub only.
Update later: npm run sync (pull + build + smoke + refresh reminder).
Manual setup (fallback)
git clone https://github.com/JakeLim17/compass-mcp.git
cd compass-mcp
npm run setupPaste into ~/.cursor/mcp.json, then refresh MCP (how_to_refresh_mcp).
Prefer
npm run connect -- cursor— avoids copy/paste errors.
Remote HTTP MCP (Claude.ai / ChatGPT / web)
Same tools as stdio — exposed over MCP Streamable HTTP (GET/POST/DELETE on /mcp).
1. Start locally
cp .env.example .env # optional
export COMPASS_MCP_API_KEY="$(openssl rand -hex 32)" # required before tunneling
npm run start:http
# → http://127.0.0.1:3920/mcp
# → http://127.0.0.1:3920/healthProduction / VPS: set NODE_ENV=production and COMPASS_MCP_API_KEY (server exits without it).
2. HTTPS tunnel (for Claude.ai / ChatGPT connectors)
Connectors require a public HTTPS URL. Use a tunnel to your local port:
# cloudflared (example)
cloudflared tunnel --url http://127.0.0.1:3920
# ngrok (example)
ngrok http 3920Your MCP URL becomes: https://<tunnel-host>/mcp
Auth header: Authorization: Bearer <COMPASS_MCP_API_KEY>
3. Connect clients
Client | Steps |
Claude.ai | Settings → Connectors → Add MCP server → URL |
ChatGPT | Settings → Developer mode → Connectors → Remote MCP URL + API key (when available) |
Cursor (remote) |
|
Cursor (local stdio) | Existing setup — unchanged ( |
Env reference
Variable | Default | Purpose |
| — | Bearer token; required for tunnel/production |
|
| Bind address ( |
|
| HTTP port |
|
| MCP endpoint path |
| claude.ai, chatgpt.com, cursor.com | Comma-separated origins ( |
Without COMPASS_MCP_API_KEY, only localhost requests are accepted (console warning).
OAuth full spec is not included in v0.9.1 — API key + HTTPS URL is the supported path.
Agents: recommend → execute (critical)
Call
recommend_modelorstart_sessionwithtask_descriptionRead
run_hint.ko:다음 Task model=<primary_id> …Read
must_do.kochecklist (4 lines)Launch Task/subagent with
model: primary_idIf host says unavailable →
candidates[1].id, then next infallback_chainlog_model_usage→set_stickyTell the user via
model_persistence— never say “sticky”Optional:
verify_run_complianceafter deploy/update
The agent calling this MCP (e.g. Composer) may differ from the task recommendation (primary_id). That is intentional.
Verbal override: 페이블로 / 코덱스로 / use fable in task_description → that model wins over scoring; if blocked → next candidate + 말 지정 but unavailable in reason.
Cursor catalog (Task-enabled)
We only recommend slugs Cursor can run as Task model. Gray UI models → blocked_models.
Status | Models |
Enabled (Task) | Composer 2.5, Sonnet 5, Opus 4.8, Fable 5, Grok 4.5, Sol, Terra, Kimi (optional) |
Blocked (gray) | GPT-5.5, Sonnet 4.6, Codex 5.3, Opus 4.7, GPT-5.4, Opus 4.6, Opus 4.5 |
Chat only | Haiku 4.5, GPT-5.4 Mini/Nano, Gemini, Luna, Sonnet 4.5 — documented in |
Family | Ladder (cheap → heavy) | Task slugs |
Cursor light | Composer |
|
Claude | Sonnet < Opus < Fable |
|
GPT | Sol < Terra/Codex |
|
Design | Grok · Fable · Opus · Sonnet | scope picks primary |
Optional | Kimi |
|
How to add a model
Add slug to
CURSOR_AGENT_CATALOGandCURSOR_TASK_SLUGinsrc/recommend.tsAdd
ModelId,BASE,COST_TIER,MODEL_TIER, keyword/tag boosts as neededMirror slug in
CURSOR_IDSinsrc/hosts.ts(cursor profile)Add smoke case + example prompt if user-facing
Bump version,
npm test, refresh MCP
Fallback chain (candidates)
recommend_model returns compact JSON including:
{
"primary_id": "composer-2.5-fast",
"candidates": [ … ],
"fallback_chain": ["composer-2.5-fast", "claude-sonnet-5-thinking-high", "…"],
"run_hint": {
"ko": "다음 Task model=… (불가 시 …) → log_model_usage → set_sticky"
}
}On host=claude, copy/i18n tasks still score logical Composer 2.5 but primary_id maps to Haiku.
Tools (complete)
Tool | What |
| Compact work start: version, adopted model, alerts, optional recommend + |
| Alias of |
| Local version + optional git behind hint; links to |
| Host-specific MCP refresh steps (Cursor: Tools & MCP toggle) |
| Task-fit primary + |
| Built-in 3 scenarios — must_do/run_hint/mcp_version/candidates≥2 present |
| Adopted model persistence (internal names; user: “같은 작업이면 모델 유지”) |
| Load |
| Counts + alerts + |
| Append usage JSONL (no secrets) |
| good/bad → ±3 score nudge (recent 25 ×1.5, cap ±16) on next recommend |
| Example KO prompts + expected primaries |
| Host profiles + lightest mapping + Cursor catalog + ladders |
Pass verbose: true only when debugging.
Project config (.compass-mcp.json)
Walk up from cwd for .compass-mcp.json. Copy from .compass-mcp.json.example.
Field | Effect on |
| Whitelist — models not listed are skipped (−200) |
| −200 score; skipped in |
| Boost lightest/Sonnet; penalize overspend |
| Allow Fable/Grok/Codex more often |
| Soft nudge when scores are flat |
| Host-mapped |
|
|
Example blocked list matches Cursor gray models: GPT-5.5, Sonnet 4.6, Opus 4.7, …
Verify: get_project_config then recommend with cwd set to project root.
Behavior cheatsheet
Command signal | Primary |
Copy / i18n / typo | Host lightest (Cursor=Composer, Claude=Haiku, GPT=Mini) |
Small patch (code) | lightest tier |
Normal UI | Sonnet (not Fable) |
Large UI redesign | Fable |
Hard bug / CI | Terra; fallback Sol → Sonnet |
Design / planning / tradeoffs | Fable / Grok / Opus / Sonnet |
Design → implement | switch → lightest (UI impl → Fable) |
“싸게 / 토큰 아껴” | avoid overspend |
“최고 품질 / 비싸도 됨” / | premium OK |
Scripts
npm run connect -- cursor # one-command MCP register (recommended)
npm run connect -- claude
npm run connect -- codex
npm run setup # install + print manual snippets
npm run sync # git pull + build + smoke + refresh reminder
npm start # stdio (Cursor local)
npm run start:http # Streamable HTTP (remote connectors)
npm test # smoke + smoke:http + connect merge tests
npm run smoke:connect # connect merge helpers only
npm run typecheck
npm run buildPractical 10/10 checklist
Verified by npm test (smoke) + verify_run_compliance:
npm run setupprints versionMCP tools include
start_session,check_update,verify_run_compliance,recommend_model,get_project_configrecommend_modelreturnsrun_hint.ko+must_do.kowithprimary_idEvery compact recommend includes
mcp_versioncandidates.length >= 2and catalog slugs only (cursor host)Agent compliance: Task
model=must_do.task_model(not just MCP caller)log_model_usage+set_stickyafter adoptionUser never sees the word “sticky” —
model_persistenceinstead.compass-mcp.jsonenabled_models/blocked_modelsaffect scoringlist_hostsexposes per-host lightest + Cursor enabled/blocked/chat-onlyget_usage_summaryalerts when high-tier overusedfeedback_recommendationnudges next recommend (±3, recency ×1.5)Stale tools →
check_update/how_to_refresh_mcp/npm run syncnpm testall green
Self-score (v0.9.1): usefulness 10 / 10 · completeness 10 / 10 for agents that follow must_do.
Limits
Chat UI dropdown does not auto-switch — intentional ceiling; agents must pass
primary_idto Task/subagentprimary/for_task≠ the model running the MCP callHaiku/Gemini chat models are not Cursor Task slugs unless Cursor adds them — use host mapping
Cost/token_risk are relative, not dollars
Claude/OpenAI host ids are approximate (
src/hosts.ts)
License
한국어: 명령을 정독해 작업에 맞는 모델을 고르는 로컬 MCP. lightest는 호스트마다 다름(Cursor=Composer, Claude=Haiku 예시, GPT=Mini). 추천 후 run_hint.ko대로 Task model=primary_id. compact 응답. 에이전트는 MCP 덤프·「sticky」단어 금지.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/JakeLim17/compass-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server