Prerequisites
Node.js requirement
The MCP server requires Node.js 18 or higher. Check your version:If you need to install or update Node.js, visit nodejs.org.
Avala API key
You’ll need an Avala API key to authenticate requests. Get your key from the Avala dashboard.
Installation options
Option 1: Install globally
Install the MCP server as a global npm package:Option 2: Use with npx
Run the server directly without installing:Using npx is recommended for testing and one-off usage. For production integrations, install globally for better performance.
Configure your AI assistant
The MCP server uses stdio (standard input/output) for communication. Configuration varies by client:- Claude Desktop
- Cline (VS Code)
- Other clients
Add the Avala MCP server to your Claude Desktop configuration file.macOS: If you installed globally, use the direct command:Restart Claude Desktop for changes to take effect.
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows: %APPDATA%\Claude\claude_desktop_config.jsonVerify the connection
Once configured, test the connection by asking your AI assistant:Troubleshooting
Authentication failed
Authentication failed
Error:
AVALA_API_KEY environment variable is requiredSolution: Verify that your API key is correctly set in the environment configuration. Check for:- Typos in the environment variable name
- Missing or incorrect API key value
- Extra whitespace around the key
Command not found
Command not found
Error:
avala-mcp-server: command not foundSolution:- If using npx, ensure you have internet connectivity
- If installed globally, verify npm’s global bin directory is in your PATH
- Try reinstalling:
npm install -g @avala-ai/mcp-server
Node version error
Node version error
Error:
This package requires Node.js 18 or higherSolution: Update Node.js to version 18 or later:Server not responding
Server not responding
Problem: AI assistant doesn’t show Avala toolsSolution:
- Restart your AI assistant application
- Check the configuration file syntax (valid JSON)
- Review application logs for connection errors
- Test the server manually by running the command in your terminal
Next steps
Configuration
Learn how to enable write operations and configure server options