Namespace System

The Namespace System organizes Azyrom's 74 MCP tools into 18 logical categories with lazy loading for optimal performance. Only the tools you need are loaded.

How It Works

Instead of loading all 74 tools at startup:

Active by Default (5 Namespaces)

These namespaces load immediately for instant access:

1. document (5 tools)

Purpose: Document-level operations

2. create (7 tools)

Purpose: Basic element creation

3. modify (8 tools)

Purpose: Element modification

4. select (7 tools)

Purpose: Selection and visibility

5. transform (4 tools)

Purpose: Transformations

Available on Demand (13 Namespaces)

These namespaces activate automatically when you use their tools:

6. zorder (6 tools)

Purpose: Z-order and hierarchy

7. style (5 tools)

Purpose: Basic styling

8. gradient (6 tools)

Purpose: Gradient fills

9. effect (6 tools)

Purpose: Visual effects

10. text (5 tools)

Purpose: Text formatting

11. image (6 tools)

Purpose: Image adjustments

12. layout (6 tools)

Purpose: Layout and alignment

13. boolean (5 tools)

Purpose: Boolean operations

14. component (3 tools)

Purpose: Component system

15. variable (6 tools)

Purpose: Design variables

16. prototype (5 tools)

Purpose: Prototyping flows

17. composite (8 tools)

Purpose: Composite UI components

18. template (1 tool)

Purpose: Screen templates

How Lazy Loading Works

Initial Connection

  1. Claude Desktop connects to Azyrom MCP server
  2. Initialization handshake occurs
  3. 5 default namespaces load (~40 tools)
  4. Connection ready in ~2 seconds

On-Demand Activation

  1. You ask: "Add a gradient to this rectangle"
  2. Claude attempts to use set_linear_gradient
  3. gradient namespace activates automatically
  4. Tool executes successfully
  5. Gradient tools now available for rest of session
No Manual Activation

You don't need to manually activate namespaces. Claude handles this automatically when you request features from inactive namespaces.

Performance Benefits

Faster Initial Connection

Reduced Network Payload

Memory Efficiency

Usage Examples

Example 1: Basic Design (Default Namespaces)

"Create 3 rectangles and select them all"

Namespaces Used: create, select (both default)

Activation: None needed, instant execution

Example 2: Styled Design (Mixed Namespaces)

"Create a rectangle with a blue-to-purple gradient and drop shadow"

Namespaces Used: create (default), gradient (on-demand), effect (on-demand)

Activation: gradient and effect namespaces activate automatically

Example 3: Complete UI (Composite Namespace)

"Create a primary button with label 'Submit' and an arrow icon"

Namespaces Used: composite (on-demand)

Activation: composite namespace activates, returns styled button

Checking Active Namespaces

To see which namespaces are currently loaded:

"What MCP tools are available right now?"

Claude will list all tools from active namespaces. Initially you'll see ~40 tools from the 5 default namespaces.

Best Practices

Related Topics