Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
Model routing for AI agents: delegate bulk reads & boilerplate to cheap worker models.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"model-shunt": {
"command": "npx",
"args": [
"-y",
"model-shunt"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add model-shunt -- npx -y model-shunt프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"model-shunt": {
"command": "npx",
"args": [
"-y",
"model-shunt"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"model-shunt": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"model-shunt"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 yasmanycastillo 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.2.1)은 44일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv), Node.js도 있어야 해요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, OpenTakeoff
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Construction takeoff for AI agents: load plans, set scale, measure, count, export with provenance.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
A decoupled, zero-dependency, universal implementation of the Shunt model-routing pattern (originally conceived by Spotify Engineering).
Model-Shunt allows AI coding agents (Antigravity, Cursor, Windsurf, Claude Code, Aider, OpenHands, etc.) to delegate token-heavy I/O (bulk file reading/code analysis) and repetitive boilerplate generation (tests, mocks, stubs, configs) to fast, economical, or local worker models (Gemini 2.5 Flash, Groq/Llama, Ollama, DeepSeek, GPT-4o-mini). This cuts primary agent token consumption by up to 90% while keeping the main context window clean.
urllib, json, re, argparse). No pip install, no virtual environment, and no npm required.gemini-2.5-flash, llama-3.3-70b-versatile, gpt-4o-mini).qwen2.5-coder:latest, gemini-2.5-flash, deepseek-chat).stdin, allowing analysis of hundreds of thousands of lines without buffer overflows.bulk_read payload exceeds the direct limit (SHUNT_MAX_DIRECT_TOKENS, default ~200k tokens), Model-Shunt automatically splits the corpus into chunks, maps the question over each chunk (preserving absolute N| line numbers), and reduces the extracts into one cited answer. Giant single-line files (minified JSON/JS) are sliced by characters with explicit position markers. Rate-limit pacing waits out provider quota windows instead of failing.model-shunt/
├── src/model_shunt/ │ ├── worker.py # Universal LLM worker engine with model discovery (zero-deps) │ └── server.py # Stdio MCP server exposing routing tools ├── bin/model-shunt.js # npm/npx launcher shim (requires local Python 3) ├── plugin/ │ ├── .claude-plugin/ # Plugin manifest for hook-compatible agents │ ├── hooks/ # PreToolUse interceptor hooks (check-file-size, check-bash-read) │ ├── scripts/ # Executable streaming CLIs (bulk-read, code-write) │ └── skills/ # Agent skill manifests (/bulk-reader, /code-writer) ├── pyproject.toml # PyPI packaging (uvx / pip install) ├── package.json # npm packaging (npx) ├── config.example.json # Configuration template ├── test_shunt.py # Automated test suite └── .gitignore # Credential and cache protection
Configure your worker model via environment variables or a config.json file (placed in ~/.config/model-shunt/config.json or in the project root):
config.json{
"provider": "gemini", "model": "auto", "timeout": 90, "max_tokens": 8192 }
Tip: Setting
"model": "auto"(or passing--auto-modelin the CLI) will automatically inspect the provider's active models and pick the optimal one for reading vs writing.
Security: Do not put your API key in
config.json— use environment variables instead (e.g.GEMINI_API_KEY,GROQ_API_KEY, orSHUNT_API_KEY). Anapi_keyfield exists as a last-resort fallback, but keeping secrets out of files is strongly recommended.
# Google Gemini (Recommended: 1M token context, high speed, ultra-low cost)
export SHUNT_PROVIDER="gemini" export GEMINI_API_KEY="your-api-key"
export SHUNT_PROVIDER="groq" export GROQ_API_KEY="your-api-key"
export SHUNT_PROVIDER="ollama" export SHUNT_BASE_URL="http://localhost:11434/v1"
export SHUNT_PROVIDER="deepseek" export DEEPSEEK_API_KEY="your-api-key"
Model-Shunt provides a standard stdio MCP server exposing three tools:
name (N|k) is dropped when source line k does not contain that name.target_path is omitted; otherwise creates missing parent directories and writes the code, overwriting an existing target file.bulk_read sends the selected files and question to the configured worker provider; code_write sends the specification and reference file. The provider can be remote or local (such as Ollama). Token savings depend on the input and response.
The MCP server runs locally over stdio. Set provider credentials through environment variables. File access follows resolved paths, so symlinks pointing outside the allowed workspace roots are rejected. Invalid requests return structured errors and leave the server available for subsequent calls.
MCP Registry name: mcp-name: io.github.yasmanycastillo/model-shunt
Universal one-liner (detects uv / pip / pipx / npm, installs the model-shunt command, and registers it with Claude Code if present):
curl -fsSL https://yasmanycastillo.github.io/model-shunt/install.sh | bash
Manual alternatives:
claude mcp add model-shunt -- uvx model-shunt # if you have uv
claude mcp add model-shunt -- npx -y model-shunt # if you have Node + Python
Any MCP client (Cursor, Windsurf, Antigravity, Claude Desktop, etc.) — add to its MCP settings. No clone, no absolute paths:
{
"mcpServers": { "model-shunt": { "command": "uvx", "args": ["model-shunt"], "env": { "SHUNT_PROVIDER": "gemini", "SHUNT_MODEL": "auto", "GEMINI_API_KEY": "your-api-key" } } } }
Fallback (offline / no uv / no npx): run straight from a clone with Python 3.9+ — replace
"command"/"args"with"command": "python3", "args": ["/absolute/path/to/model-shunt/src/model_shunt/server.py"].
Security: by default
bulk_read/code_writeonly operate on files inside the server's working directory (the agent workspace). SetSHUNT_ALLOWED_ROOTS(PATH-style list) to expand the sandbox.
| Variable | Default | Purpose |
|---|---|---|
SHUNT_MAX_DIRECT_TOKENS | 200000 | Payloads above this estimated size switch to map-reduce |
SHUNT_CHUNK_CHARS | 600000 | Chunk size in characters (~150k tokens) |
SHUNT_CHUNK_RETRIES | 3 | Retries per chunk on rate limits |
SHUNT_CHUNK_RETRY_DELAY | 60 | Seconds to wait out a provider quota window (free-tier TPM) |
For agents supporting pre-execution hooks (e.g., Claude Code, custom agent loops):
SHUNT_MIN_LINES), the hook blocks the call and instructs the agent to delegate to bulk-read.offset and limit are allowed, preserving surgical context for code editing.cat, less, or more on large files directly in the terminal context.You can also use Model-Shunt directly from the command line or from agent bash sessions:
python3 src/model_shunt/worker.py --list-models --provider gemini
./plugin/scripts/bulk-read \
--question "How does the token refresh cycle work?" \ --paths src/auth.py src/tokens.py \ --auto-model
./plugin/scripts/code-write \
--spec "Create unit tests for the BillingService covering charge and refund" \ --reference tests/test_user.py \ --target tests/test_billing.py \ --auto-model
Run the built-in test suite to verify your environment:
python3 test_shunt.py
The test suite validates:
MIT. Inspired by Spotify Engineering's Shunt architecture.
See PRIVACY.md for filesystem scope, provider data handling, and credential practices.