
smat-dev/jinni
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
smat-dev/jinni는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요
smat-dev/jinni는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요(AI 번역)
Jinni는 대형 언어 모델에 프로젝트의 맥락을 효율적으로 제공하는 도구입니다. 관련 프로젝트 파일을 통합하여 파일을 하나씩 읽는 데 따른 한계와 비효율성을 극복합니다. 각 파일의 내용은 경로를 나타내는 간단한 헤더가 앞에 붙어 있습니다:
path=src/app.py 인쇄(“안녕”)
JSON { “mcpServers”: { “지니”: { “명령”: “UVX”, “ARGS”: [“지니-서버”] } } }
path=src/app.py). 이 기능은 list_only로 비활성화할 수 있습니다.
- 인코딩 처리: 여러 일반적인 텍스트 인코딩(UTF-8, Latin-1 등)을 시도합니다.
- 목록 전용 모드: 포함된 파일의 상대 경로만 나열할 수 있는 옵션, 내용은 포함하지 않습니다.
사용
MCP 서버 ([read_context 도구)
- 설정: MCP 클라이언트(예: Claude Desktop의
claude_desktop_config.json)를uvx를 통해jinni서버를 실행하도록 설정하세요. - 호출: MCP 클라이언트를 통해 LLM과 상호작용할 때, 모델은
read_context도구를 호출할 수 있습니다.
project_root(문자열, 필수): 프로젝트 루트 디렉터리로 가는 절대 경로. 규칙 탐색과 출력 경로는 이 루트에 상대적입니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Jinni: Bring Your Project Into Context
Jinni is a tool to efficiently provide Large Language Models the context of your projects. It gives a consolidated view of relevant project files, overcoming the limitations and inefficiencies of reading files one by one. Each file’s content is preceded by a simple header indicating its path:
```path=src/app.py
print("hello")
The philosophy behind this tool is that LLM context windows are large, models are smart, and directly seeing your project best equips the model to help with anything you throw at it.
There is an MCP (Model Context Protocol) server for integration with AI tools and a command-line utility (CLI) for manual use that copies project context to the clipboard ready to paste wherever you need it.
These tools are opinionated about what counts as relevant project context to best work out of the box in most use cases, automatically excluding:
* Binary files
* Dotfiles and hidden directories
* Common naming conventions for logs, build directories, tempfiles, etc
Inclusions/exclusions are customizable with complete granularity if required using .contextfiles – this works like .gitignore except defining inclusions. .gitignore files themselves are also respected automatically, but any rules in .contextfiles take priority.
The MCP server can provide as much or as little of the project as desired. By default the scope is the whole project, but the model can ask for specific modules / matching patterns / etc.
MCP Quickstart
MCP server config file for Cursor / Roo / Claude Desktop / client of choice:
{
"mcpServers": {
"jinni": {
"command": "uvx",
"args": ["jinni-server"]
}
}
}
You can optionally constrain the server to only read within a tree for security in case your LLM goes rogue: add "--root", "/absolute/path/" to the args list.
Install uv if it is not on your system: https://docs.astral.sh/uv/getting-started/installation/
Reload your IDE and you can now ask the agent to read in context.
If you want to restrict this to particular modules / paths just ask - e.g. “Read context for tests”.
In action with Cursor:
Note For Cursor Users
Cursor can silently drop context that is larger than the allowed maximum, so if you have a sizable project and the agent acts like the tool call never happened, try reducing what you are bringing in (“read context for xyz”)
Components
jinniMCP Server:- Integrates with MCP clients like Cursor, Cline, Roo, Claude Desktop, etc.
설치
uvx jinni-server설정
{
"mcpServers": {
"jinni": {
"command": "uvx",
"args": ["jinni-server"]
}
}
}