Vignette: Connect a coding assistant to R through MCP

オープン
#232 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
r
領域
ai, documentation

調査の方向性

Start by reviewing the existing documentation, btw_mcp_server(), btw_mcp_session(), and the CLI vignette, then verify one MCP-capable client against the current upstream instructions. Draft one end-to-end setup with a concrete documentation or package-development request, explaining process and session boundaries, working-directory assumptions, tool risks, and when CLI or session access is appropriate. Done means readers can establish the connection and understand its R-session and capability boundaries.

索引モデルが issue の本文から書いたものです。

説明

documentation

Goal and audience

Help users of an existing MCP-capable coding assistant connect to btw's R capabilities. Begin with R documentation and package tools, then optionally connect the assistant to an existing interactive R session.

The destination is a working connection whose R-session and capability boundaries the reader understands.

Proposed coverage — reassess before drafting

This is a starting proposal, not a fixed outline or required section order. Before writing, reassess the scope, example, and teaching sequence against the current implementation, existing documentation, and reader needs. Adjust, combine, or drop items as appropriate.

  • Configure one representative MCP client end to end using btw_mcp_server(). Select and verify that client before drafting.
  • Start with a focused tool set rather than duplicating the coding assistant's existing capabilities.
  • Demonstrate a concrete documentation or package-development request.
  • Explain the server's R process versus the reader's interactive R session.
  • Connect an existing session with btw_mcp_session() and demonstrate the difference.
  • Cover working-directory assumptions, tool selection, and risks of granting code execution or write capabilities.
  • Briefly distinguish when the CLI suffices from when session access makes MCP useful.

Suggested boundaries

Avoid MCP protocol internals and exhaustive client-configuration instructions. Teach one working setup and link to the broader reference/client documentation. Keep the CLI comparison short and cross-link the CLI vignette.

Writing guidance

Verify external client configuration against current upstream documentation as well as btw source. Be explicit about which process/session runs each operation and which setup is interactive versus blocking. Do not imply that restricted tool groups create a sandbox.

主要言語
R
スター
150
フォーク
13
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

posit-dev/btw のほかの issue

posit-dev/btw の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。