API Reference¶
This section contains comprehensive documentation for all napari MCP server functions.
Organization¶
The API is organized into logical categories:
- Session & Viewer - Viewer lifecycle and GUI management
- Layer Management - Creating and managing layers
- Viewer Controls - Camera and navigation controls
- Utilities - Advanced features and tools
Complete Reference¶
For a single page with all functions, see the Complete API Reference.
Function Overview¶
Category | Functions | Description |
---|---|---|
Session | 4 functions | Viewer creation, detection, and session info |
Layers | 8 functions | Image, label, point layers with full control |
Navigation | 5 functions | Camera, dimensions, display modes |
Utilities | 5 functions | Screenshots, timelapse, code execution, packages |
Total: 22 MCP tools available