Skip to contents

All functions

HttpTransport
HTTP Transport for MCP
MCPServer
MCP Server Class
can_serialize()
Check if an R object can be safely serialized to JSON
create_example_config()
Create Example Configuration File
create_mcp_example()
Create a source file with example decorated functions
decorators
Parse MCP Decorators from R Source
decorators_to_mcp_params()
Convert decorator metadata to MCP registration parameters
from_mcp_json()
Convert JSON data back to R objects
generate_from_config()
Generate Server from Configuration File
generate_mcp_server()
Generate MCP Server Package
get_mcp_serializers()
Get all registered custom serializers
load_server_config()
Load Server Configuration from File
mcp-source
Enhanced Source File Handling for MCP
mcp()
Create a new Model Context Protocol server
mcp_deserialize()
Deserialize JSON string to R object from MCP
mcp_hello_world()
Start a minimal MCP hello world server
mcp_hello_world_http()
Start an HTTP MCP hello world server
mcp_http()
Create an HTTP MCP server
mcp_serialize()
Serialize R object to JSON string for MCP
mcp_source_directory()
Load all MCP elements from a directory
parse_function_signature()
Parse function signature to extract parameter information
parse_mcp_decorators()
Parse decorators from a source file
register_decorated_elements()
Register decorated elements with an MCP server
register_mcp_serializer()
Register a custom serializer for a specific class
scan_mcp_directory()
Scan directory for R files with MCP decorators
stream_dataframe()
Create a streaming converter for large data frames
to_mcp_json()
Convert R objects to JSON-compatible format for MCP
validate_against_schema()
Validate R object against JSON schema