UR

userfrm/rpg-encoder

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

31 stars 7 forks 품질 72 트렌드 15MIT

MCP 서버는 어떤 codebase의 AI 코딩 대리인 semantic 이해를 줍니다. intent의 검색, 편집에 자동 동기화, 한 통화의 전체 저장소 컨텍스트. Rust + 트리 - 시터, 15 언어, 28 도구.

개요

당신의 AI 대리인에게 당신의 codebase를 위한 두뇌를 주십시오. AI 코딩 에이전트는 대부분의 도구가 grep, cat, find 및 file read를 사용하여 코드를 떼어냅니다. rpg-encoder 수정. 그것은 트리 시터와 코드의 구축 - 그냥 무슨 전화,하지만 모든 기능은 - 그리고 단일 도구 호출에서 MCP를 통해 당신의 AI 조력 전체-repo 이해를 제공합니다. 1개의 명령. Claude Code, Cursor, opencode, Windsurf 또는 MCP 호환 에이전트와 함께 작동합니다. Rust 도구 체인 없음, 복제 없음, 건물 없음 — npx는 당신의 플랫폼을위한 사전 제작 된 바이너리를 다운로드합니다. 당신의 대리인은 모든 것을 취급합니다: 색인 entities (둘째로)는, 각 기능을 읽고 intent 수준 특징 (몇 분)를 추가하고, semantic hierarchy로 그(것)들을 편성하고, 당신의 팀을 위한 .rpg/graph.json를 투입합니다. ~100 개 이상의 엔티티티티로 리포지트를 위해 lift status는 서브 시약 또는 더 싼 모델로 리프팅 루프를 delegate하기 위해 에이전트를 알려줍니다. - 기능 추출은 패턴 매칭, 소설 이유입니다.

개요(AI 번역)

rpg 엔코더

당신의 AI 대리인에게 당신의 codebase를 위한 두뇌를 주십시오.

AI 코딩 에이전트는 도구의 대부분을 낭비 grep], cat], find, 및 파일 읽기. rpg-encoder] 그 수정. 그것은 트리 시터와 코드의 ** 세마틱 그래프 **를 구축 - 그냥 *what 호출 무엇 *, 하지만 what 모든 기능 does — 그리고 당신의 AI 조수 전체-repo 이해 MCP 단일 도구 통화.


빠른 시작

1개의 명령. Claude Code, Cursor, opencode, Windsurf 또는 MCP 호환 에이전트와 함께 작동합니다. Rust 도구 체인 없음, 복제 없음, 건물 없음 - npx] 당신의 플랫폼을위한 사전 제작 된 바이너리를 다운로드합니다.

그리고 어떤 repo를 열고 당신의 대리인을 말하십시오:

“이 repo에 대한 RPG를 구축하고”

당신의 대리인은 모든 것을 취급합니다: 색인 entities (둘째로)는, 각 기능을 읽고 intent 수준 특징 (몇 분)를 추가하고, semantic hierarchy로 그(것)들을 편성하고, 당신의 팀을 위해 .rpg/graph.json를 붙입니다.

~100 + 엔티티티티로 리포지트의 경우, lifting_status]는 서브 시약 또는 더 싼 모델로 리프팅 루프를 delegate하기 위해 에이전트를 알려줍니다. - 기능 추출은 패턴 매칭, 소설적인 이유입니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

rpg-encoder

Give your AI agent a brain for your codebase.

AI coding agents waste most of their tool calls fumbling through your codebase with grep, cat, find, and file reads. rpg-encoder fixes that. It builds a semantic graph of your code with Tree-sitter — not just what calls what, but what every function does — and gives your AI assistant whole-repo understanding via MCP in a single tool call.


Quick Start

claude mcp add rpg -- npx -y -p rpg-encoder rpg-mcp-server

One command. Works with Claude Code, Cursor, opencode, Windsurf, or any MCP-compatible agent. No Rust toolchain, no cloning, no building — npx downloads a pre-built binary for your platform.

Then open any repo and tell your agent:

“Build and lift the RPG for this repo”

Your agent handles everything: indexes entities (seconds), reads each function and adds intent-level features (a few minutes), organizes them into a semantic hierarchy, and commits .rpg/graph.json for your team.

For repos with ~100+ entities, lifting_status will tell your agent to delegate the lifting loop to a sub-agent or a cheaper model — feature extraction is pattern-matching, not novel reasoning. If your runtime has no sub-agent mechanism, run rpg-encoder lift --provider anthropic|openai from the terminal with an API key — the CLI drives an external LLM directly with no agent involvement. After the CLI finishes, call reload_rpg in your session to load the updated graph. The CLI lifts entities with no features; re-lifting stale entities (features present but outdated after code changes) is handled by the in-session MCP flow, not the CLI.

Once lifted, try:

GitHub에서 전체 README 보기

설치

npx -y -p rpg-encoder rpg-mcp-server
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

# Claude Code claude mcp add rpg -- npx -y -p rpg-encoder rpg-mcp-server # Cursor — add to ~/.cursor/mcp.json { "mcpServers": { "rpg": { "command": "npx", "args": ["-y", "-p", "rpg-encoder", "rpg-mcp-server"] } } }