Skip to contents

Register decorated elements with an MCP server

Usage

register_decorated_elements(server, elements, env = parent.frame())

Arguments

server

An MCPServer instance

elements

List of parsed elements from parse_mcp_decorators

env

Environment containing the function definitions

Value

The server (invisibly) for chaining