Environment variables
Required configuration
Your Avala API key. Get yours from the API keys page.Example:
sk_live_1234567890abcdefOptional configuration
Enable write operations (create, update, delete). When disabled, the server runs in read-only mode.Accepted values:
true, 1, yes, on (case-insensitive)Example: AVALA_MCP_ENABLE_MUTATIONS=trueRead-only vs. write mode
By default, the MCP server operates in read-only mode for safety. This allows AI assistants to explore and analyze your workspace without making changes.Read-only mode (default)
WhenAVALA_MCP_ENABLE_MUTATIONS is not set or is false:
- List and get operations for all resources
- Query workspace statistics
- Test storage configurations
- View exports, quality metrics, and consensus data
- Creating datasets, agents, or webhooks
- Updating annotation issues or quality targets
- Deleting any resources
- Triggering exports or consensus computation
Write mode
WhenAVALA_MCP_ENABLE_MUTATIONS=true:
Additional capabilities:
- Create datasets, agents, webhooks, and storage configurations
- Update annotation issues and their status
- Delete agents, webhooks, and storage configurations
- Trigger data exports and consensus computation
- Register fleet devices and acknowledge alerts
Configuration examples
Claude Desktop (read-only)
Safe exploration without modification:claude_desktop_config.json
Claude Desktop (write enabled)
Full access including create/update/delete:claude_desktop_config.json
Cline (VS Code)
Configuration for the Cline extension:MCP Server Settings
Manual execution
Run the server from the command line for testing:API key management
Getting your API key
Navigate to settings
Go to the Avala API keys page in your workspace settings.
Create a new key
Click “Create API Key” and give it a descriptive name (e.g., “MCP Server - Claude Desktop”).
Copy and store securely
Copy the key immediately after creation. You won’t be able to view it again.
Security best practices
- Use separate keys for different integrations (development, production, different AI assistants)
- Rotate keys regularly to limit exposure from potential leaks
- Revoke compromised keys immediately from the API keys page
- Start with read-only and only enable mutations when necessary
- Monitor usage through your workspace’s API activity logs
Permission scoping
The MCP server respects your API key’s permissions. If your API key has restricted access to certain projects or datasets, the MCP server will inherit those restrictions.API key scoping is managed in the Avala dashboard. The MCP server cannot bypass these restrictions.
Server information
The MCP server identifies itself to clients with:- Name:
avala - Version:
0.4.0(updates with package version) - Protocol: Model Context Protocol (MCP) via stdio transport
Next steps
Available tools
Explore all available MCP tools and their parameters