
userfrm/rpg-encoder
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP サーバーは、AI コーディングエージェントが任意のコードベースを意味する理解を与える。 意図して検索, 編集の自動同期, 全リポジトリのコンテキストを呼び出します. Rust +ツリーシッター、15言語、28ツール.
概要
あなたのAIエージェントにあなたのコードベースのための脳を与えます。 AI コーディングエージェントは、コードベースを grep, cat, find, file read で呼び出すツールのほとんどを無駄にしています。 rpg-encoder はそれを修正します。 これは、ツリー・シッターでコードをビルドするだけでなく、すべての関数が何を呼ぶだけでなく、単一のツールコールでMCPを介してAIアシスタント全体レポの理解を与えます。 1つのコマンド。 Claudeコード、Cursor、opencode、Windsurf、またはMCP互換のエージェントで動作します。 Rustツールチェーン、クローニングなし、ビルドなし — npx は、プラットフォームのビルド済みのバイナリをダウンロードします。 エージェントは、インデックスのエンティティティ(秒)をすべて処理し、各関数を読み込み、インテントレベルの機能(数分)を追加し、それらをセマンティック階層に整理し、チームの .rpg/graph.json をコミットします。 ~100以上のエンティティティティティティティティでreposのために、reporting statusは、リフティングループをサブエージェントまたはより安価なモデルに委任するエージェントに、機能抽出はパターンマッチングで、新しい推論ではありません.
概要(AI 翻訳)
rpgエンコーダ
あなたのAIエージェントにあなたのコードベースのための脳を与えます。
[[T0], cat]], find], ファイル読み込みでコードベースを介して、ツールのほとんどをAIコーディングエージェントが不備を呼び出します。 [rpg-encoder]は、それを修正します。 ツリー・シッターでコードのsemantic graphをビルドします。ただ、whatを呼び出しますが、すべての関数はです。単一のツールコールでMCPを介してAIのアシスタント全体レポの理解を与えます。
お問い合わせ
クイックスタート
1つのコマンド。 Claudeコード、Cursor、opencode、Windsurf、またはMCP互換のエージェントで動作します。 Rust ツールチェーンなし、クローニングなし、ビルドなし — [npx]] は、プラットフォームの既定のバイナリをダウンロードします。
それからrepoを開け、あなたの代理店に指示して下さい:
「このレポのRPGをビルドして持ち上げる」
エージェントは、インデックスのエンティティティ(秒)をすべて処理し、各関数を読み込み、インテントレベルの機能(数分)を追加し、それらをセマンティック階層に整理し、チームの.rpg/graph.json]をコミットします。
~100以上のエンティティティティティティティティティティティティティティで、リフティング・ループをサブ・エージェントまたは安価なモデルに委任するエージェントに「lifting_status」と記載します。機能抽出はパターンマッチングで、新しい推論ではありません.
このページは 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:
インストール
npx -y -p rpg-encoder rpg-mcp-server設定
# 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"]
}
}
}