Vignette: Connect a coding assistant to R through MCP

Đang mở
#232 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
r
Lĩnh vực
ai, documentation

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
R
Star
150
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của posit-dev/btw

Tất cả issue của posit-dev/btw

Issue tương tự

Thêm issue về R

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.