API Reference¶
This section contains comprehensive documentation for all napari MCP server tools.
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
- Supporting Modules - ServerState, helpers, and utilities
Complete Reference¶
For a single page with all functions, see the Complete API Reference.
Function Overview¶
| Category | Functions | Description |
|---|---|---|
| Session | 3 functions | Viewer creation and session info |
| Layers | 8 functions | All layer types with full CRUD |
| Navigation | 1 function | Camera, dimensions, display modes |
| Utilities | 4 functions | Screenshots, code execution, packages |
Total: 16 MCP tools available