@posit-dev/mcptools

by posit-dev · v1.0.0 · prompt

The mcptools package uses nanonext for inter-process communication between the MCP server and R sessions. nanonext provides asynchronous messaging using the nanomsg/nng protocols.

Install

Add @posit-dev/mcptools to Claude Code with the PolySkill CLI: polyskill add @posit-dev/mcptools

Instructions

## Overview The mcptools package uses nanonext for inter-process communication between the MCP server and R sessions. nanonext provides asynchronous messaging using the nanomsg/nng protocols. The full plain-text MCP specification lives in `.md` files in `inst/spec/`—tool call for it as needed. ## Key Concepts ### Asynchronous I/O (Aio) - `send_aio()` and `recv_aio()` return immediately without blocking - Operations complete asynchronously in the background - Use `unresolved(aio)` to check if an operation is still pending - Access results via `aio$data` (recv) or `aio$result` (send) ### Socket…

Keywords: github, inter-process-communication, asynchronous-messaging, nanomsg, nng-protocol, r-programming, data-integration, mcp-server, nanonext