API Reference
This page provides detailed API documentation for the Rossum MCP Server.
RossumMCPServer
Main Server Class
Methods
Document Upload
Annotation Retrieval
Queue and Schema
Server Management
The setup_handlers method registers two critical MCP protocol handlers:
list_tools() - Returns the list of available MCP tools:
upload_document- Upload documents to Rossum queuesget_annotation- Retrieve annotation data by IDlist_annotations- List annotations for a queue with filteringget_queue- Get queue details including schema_idget_schema- Get schema details and contentget_queue_schema- Get complete queue schema in one call
call_tool() - Executes the requested tool with provided arguments
Each tool definition includes:
Tool name and description
Input schema (JSON Schema format)
Required and optional parameters
Parameter types and descriptions