
igiamronit/justbetter-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
고성능, 토큰 효율적인 모델 Context Protocol (MCP) 게이트웨이 프록시. context bloat를 방지하고 신속한 및 semantically를 제외하고 다중 회전 도구 발견 대기 시간을 제거 ...
개요
JustBetter의 MCP 동적인 MCP 게이트웨이, retrieval 기반 도구 주입. 표준 모델 Context Protocol (MCP) 서버에 LLM 연결 (파일 시스템, 웹 검색기 및 데이터베이스와 같은) 덤프 수십 개 또는 수백 개의 도구가 LLM의 컨텍스트 창에 있습니다. 이 Token-bloat 문제는 node modules blowups, context limits가 breached, 심한 degraded 도구 선택 정확도로 이동합니다. JustBetter MCP는 Gateway/proxy로 동작하여 이것을 해결합니다. 모든 연결 서버의 도구를 모든 요청에 덤프 대신 동적, Retrieval 기반 도구 주입을 사용하여 LLM으로 전송되는 도구를 제한합니다. 그것은 두 가지 주요 모드에서 작동 : Anthropic의 MCP 도구 검색 또는 OpenAI Codex의 도구 검색에 필수적으로 해당, LLM이 원자로 도구 중계에 대한 요청. 첫 번째 LLM 통화 전에 원시 프롬프트에서 semantic retrieval을 수행하는 우리의 사용자 정의 접근법입니다.
개요(AI 번역)
JustBetter의 MCP 동적인 MCP 게이트웨이, retrieval 기반 도구 주입.
npx 단베터 mcp
문제: 표준 모델 Context Protocol (MCP) 서버 (파일 시스템, 웹 검색기 및 데이터베이스와 같은) LLM을 표준 모델 Context Protocol (MCP) 서버로 연결하면 LLM의 컨텍스트 창에 수십 개 이상의 도구가 있습니다. · 이 토큰-블로트 문제는
node_modulesblowups, context limits는 breached, 및 심각하게 degraded 도구 선택 정확도로 이동합니다.
솔루션: JustBetter MCP는 Gateway/proxy로 동작하여 이것을 해결합니다. 모든 연결 서버의 도구를 모든 요청에 덤프 대신 동적, Retrieval 기반 도구 주입을 사용하여 LLM으로 전송되는 도구를 제한합니다. · 그것은 두 가지 주요 모드에서 작동 : ** Mode 2 **는 Anthropic의 MCP Tool Search 또는 OpenAI Codex의 도구 검색에 필수적으로 해당되며, LLM은 원자로 도구 중간 대화를 요청합니다. Mode 1는 원시 프롬프트 before의 첫 번째 LLM 통화에 semantic retrieval을 수행하는 맞춤형 접근법입니다. · Measured 결과 : 벤치 마크 ↓
설치
첫 번째 실행은 설정 마법사를 엽니 다 : 공급자를 선택, API 키를 붙여 (에 대한 인증)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
The Problem: Connecting an LLM to standard Model Context Protocol (MCP) servers (like a file system, a web searcher, and a database) dumps dozens or hundreds of tools into the LLM’s context window.
This token-bloat problem leads to
node_modulesblowups, context limits being breached, and severely degraded tool selection accuracy.
The Solution: JustBetter MCP solves this by acting as a gateway/proxy. Instead of dumping every connected server’s tools into every request, it uses dynamic, retrieval-based tool injection to limit the tools sent to the LLM.
It operates in two main modes: Mode 2 is essentially equivalent to Anthropic’s MCP Tool Search or OpenAI Codex’s tool search, where the LLM reactively asks for tools mid-conversation. Mode 1 is our custom approach that performs semantic retrieval on the raw prompt before the first LLM call.
Measured results: Benchmarking ↓
Install
npx justbetter-mcp
The first run opens a setup wizard: pick a provider, paste an API key (verified against the provider before it is saved), choose a model, and choose which folder the agent is allowed to read and write. There is no JSON to hand-author.
Mode 2 — Claude Desktop, Cursor, or any MCP client. Add this to the client’s MCP config:
{
"mcpServers": {
"justbetter": {
"command": "npx",
"args": ["-y", "justbetter-mcp", "gateway"]
}
}
}
The client starts with request_tools, batch_call and your pinned tools. Everything else is
retrieved on demand: when request_tools finds something, its schema is added to the server’s
tool list and the client is notified — that is the whole point.
Mode 1 needs a client that lets you set an OpenAI-compatible base URL. The bundled TUI is the reference client and always works. Cline, Roo, Continue, aider and Zed accept a custom base URL; Cursor is inconsistent across versions; Claude Desktop cannot, and is Mode 2 only.
설치
npx -y justbetter-mcp gateway설정
{
"mcpServers": {
"justbetter": {
"command": "npx",
"args": ["-y", "justbetter-mcp", "gateway"]
}
}
}