- Added support for
ellmer::tool - Added MCP roclet for automatic server generation:
- New
@mcptag for marking functions as MCP tools - New
@typetag for specifying parameter types (string, number, boolean, array, object, enum) mcp_roclet()function integrates with roxygen2 to generate complete MCP servers- Automatically creates
inst/mcp_server.Rwith tool definitions and handlers - Supports all standard JSON Schema types and enum values
- New
- Added comprehensive client support for interacting with MCP servers:
new_client()for creating client connections to both local process and HTTP serversinitialize()for initializing client connectionstools_list()andtools_call()for discovering and using server toolsprompts_list()andprompts_get()for working with server promptsresources_list()andresources_read()for accessing server resources
- Renamed
new_mcp()(deprecated) tonew_server()for clarity - Added example implementations for both server and client
- Added client usage vignette
- Fix major issue with
serve_http()
- Initial CRAN submission.