Vignette: Connect a coding assistant to R through MCP

Abierto
#232 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
52/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
r
Área
ai, documentation

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
R
Estrellas
150
Forks
13
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de posit-dev/btw

Todos los issues de posit-dev/btw

Issues similares

Más issues de R

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.