Model Context Protocol for R


[Up] [Top]

Documentation for package ‘mcpr’ version 0.0.3.9001

Help Pages

add_capability Add a capability to an MCP object
client Create a new mcp IO
ellmer_to_mcpr_tool Convert ellmer tools to mcpr tools
get_name Get the name of a client
initialize Initialize the server with protocol information
mcp_roclet MCP Roclet for Generating MCP Servers
new_client_http Create a new mcp IO
new_client_io Create a new mcp IO
new_mcp Create a new MCP object
new_prompt Create a new prompt
new_resource Create a new resource
new_server Create a new MCP object
new_tool Create a new tool
prompts_get Get a prompt with the given parameters
prompts_list List all available prompts
properties Create a new properties list
property_array Create an array property definition
property_boolean Create a boolean property definition
property_enum Create an enum property with predefined values
property_number Create a number property definition
property_object Create an object property definition
property_string Create a string property definition
read Read a JSON-RPC response from a client provider
register_mcpr_tools Register MCPR tools with an ellmer chat
resources_list List all available resources
resources_read Read a resource with the given parameters
response Create a response object
response_audio Create a response object
response_error Create a response object
response_file Create a response object
response_image Create a response object
response_item Create a response object
response_resource Create a response object
response_text Create a response object
response_video Create a response object
roclet_output.roclet_mcp Generate MCP server output
roclet_process.roclet_mcp Process blocks for MCP roclet
roxy_tag_parse.roxy_tag_mcp Parse @mcp tag
roxy_tag_parse.roxy_tag_type Parse @type tag
roxy_tag_rd.roxy_tag_mcp Roxygen2 tag for @mcp This function is called by Roxygen2 to generate documentation for the @mcp tag
roxy_tag_rd.roxy_tag_type Roxygen2 tag handler for @type This function is called by Roxygen2 to generate documentation for the @type
schema Create a new input schema
serve_http Serve an MCP server over HTTP using ambiorix
serve_io Serve an MCP server using stdin/stdout
tools_call Call a tool with the given parameters
tools_list List all available tools
write Write a JSON-RPC request to a client provider