
posit-dev/mcp-repl
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
mcp-repl は、エージェントが永続的な Python または R セッションを付与する MCP サーバーで、ツールの呼び出しを介したままです.
概要
mcp-repl は、エージェントが永続的な Python または R セッションを付与する MCP サーバーで、ツールの呼び出しを介したままです。 エージェントは、オブジェクトを調べ、アイデアを試したり、ヘルプを読んだり、プロットを作成したり、反復を続けたりすることができます。 Rscript -e または python -c を実行しているシェルツールは、エージェントがコンテキストを再構築できるように強制します。 mcp-repl は、代わりにセッションを開いたままにします: 変数、ロードされたパッケージ、プロット、およびモデルのリセットまで利用可能な他の状態の滞在。 - バックエンドは、コマンド固有のランタイムルールではなく、プロセスレベルでOSのプリミティブによって強制されるサンドボックスで実行されます。 ネットワークは無効になっています。 書き込みは、ワークスペースのルートと、アクティブなセッションニーズのテンプルパスに制約されます。 Unixでは、メモリガードレールが閾値を超えるとワーカーを殺します。 - スマートエコー(安全時に省略し、大規模なマルチエクスプレッションブロックのために排除)とインバンドヘルプページ.
概要(AI 翻訳)
R、Python、SQLでデータを扱うエージェントのためのインタラクティブなワークベンチです。
データを一度ロードし、質問を調べ、プロットを絞り込み、ヘルプを読み込み、オブジェクトとモデルのデバッグコードをメモリに保存します。 1つの言語を使用するか、中間ファイルなしで同じプロセスでそれらを結合して下さい。
コードはデフォルトでOSレベルのサンドボックスで実行されます。 コンソールは環境とパッケージを自動的に準備します。コンソールの設定ファイルは必要ありません。 Codex や Claude コードなどの MCP 互換クライアントと連携し、特定のモデルプロバイダーに依存しません。
**開発プレビュー:**インターフェイスは変更する場合があります。 macOS、Linux、Windows x64 に対応しています。
クイックスタート
uvをインストールし、コンソールをインストールします。
プラットフォームの前提条件、オプションのRインストール、クライアントのセットアップをカバーします。 ソースからビルドすると、開発バージョンがカバーされます。
クライアントでコンソールを登録する:
コンソールをグローバルに登録し、クライアントがuvx mcp-console serveを起動し、コンソールツールをフロントに読み込みます。
--directory . を追加して、代わりに現在のディレクトリにそれを登録します。
[--dry-run] を使用して、クライアントのデフォルトのツールディスカバリーを維持するために、設定または[--no-auto-loadをプレビューします.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCP Console
An interactive workbench for agents working with data in R, Python, and SQL.
Load data once, explore questions, refine plots, read help, and debug code with objects and models still in memory. Use one language or combine them in the same process, without intermediate files.
Code runs in an OS-level sandbox by default. Console prepares environments and packages automatically; no Console configuration file is required. It works with MCP-compatible clients such as Codex and Claude Code and does not depend on a particular model provider.
Development preview: interfaces may change. macOS, Linux, and Windows x64 are supported.
Quickstart
Install uv, then install Console:
uv tool install mcp-console
Get started covers platform prerequisites, optional R installation, and client setup. Build from source covers the development version.
Register Console with your client:
mcp-console configure-client codex
# Or: mcp-console configure-client claude
This registers Console globally, configures the client to launch uvx mcp-console serve, and loads Console tools up front.
Add --directory . to register it for the current directory instead.
Use --dry-run to preview the settings or --no-auto-load to keep the client’s default tool discovery.
You can also start with uvx mcp-console configure-client codex claude to configure both clients without first installing Console.
Use --pin-version VERSION to select the Console version resolved by uvx, or --no-uvx to configure an absolute executable path.
--pin-version current pins the version running setup.
See client setup for project/global scope and other clients.
Run the client and Console on the same host, with the client’s shell and filesystem tools using the same workspace.
Ask your agent:
Use Console to generate a small dataset, fit a model, and plot the result. Keep the data and model for follow-up.
Where Console fits
- Unattended analysis: run long analyses with limits on filesystem writes and network access.
- Model evaluations: evaluate how an agent explores data, checks its work, and responds to results.
- Conversational analysis: discuss questions and results while the agent works in its own session.
- Large datasets: keep data and intermediate results in memory for follow-up questions.
- Debugging and package development: pause execution and inspect live objects where a failure occurs.
Limits and trust boundaries
The default sandbox permits host-file reads, restricts direct networking, and permits regular-file writes only in private temporary storage. Readable secrets are not protected. Project configuration is trusted input and may widen permissions.
Dependency preparation has its own permissions.
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →