Example proposal: opt-in Parallel Search MCP with btw_client()

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

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
r
Área
ai

Línea de trabajo

The proposal adds an opt-in example that loads remote MCP tools with mcptools::mcp_tools() over Streamable HTTP and passes them to btw_client(tools = ...) alongside btw_tools(). Start by reading how btw_client() accepts extra tools and where existing examples live. Done means a runnable example, documented package versions, and a tested anonymous search and fetch through the chat tool-calling path. Maintainers should first confirm they accept a vendor-sourced example, and the codemode proposal (#237) is out of scope.

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

Descripción

Would a small, opt-in example of using Parallel Search MCP with btw_client() fit here? It would let an R assistant search the web and fetch pages without a Parallel API key. The anonymous endpoint is free for light use and has rate limits.

I propose a runnable example that loads the remote tools with mcptools::mcp_tools() over Streamable HTTP, then combines them with btw_tools() through the existing btw_client(tools = ...) argument. It would leave default tools, client selection, and saved configuration unchanged. I would document the required package versions and test anonymous search and fetch through that configuration and the chat tool-calling path.

This complements the R-as-server setup proposed in #232; it would show R as the MCP client. It does not depend on the codemode proposal in #237. No particular LLM provider or model would be required by the example.

I work at Parallel.

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.