The awaBerry MCP Server client facilitates secure access and management of remote devices (Mac, Linux, Windows, Docker) registered within an awaBerry project. It enables developers to connect to devices, execute terminal commands, and manage persistent terminal sessions using project keys, secrets, and session tokens. The client integrates with environments like Claude Desktop, offering robust capabilities for automation and remote device interaction through natural language or direct tool invocations.
Access to the awaBerry platform via an MCP Server is provided via project key and project secret. Either setup own projects for your own devices or receive the credentials.
An account at app.awaberry.com and a device linked to awaBerry Remote.
Read more about awaBerry at www.awaberry.com
You have received project key and secret, e.g. via company IT or a friend.
The awaBerry mcp consists of the following tools:
connect_to_deviceConnects to a remote device (Mac, Linux, Windows, or Docker) registered in your awaberry project.
projectKey (optional): Project authentication key (defaults to AWABERRY_PROJECT_KEY env var).projectSecret (optional): Project authentication secret (defaults to AWABERRY_PROJECT_SECRET env var).deviceName (required): Name of the device to connect to.sessionToken (string): Authentication token for the session.status (string): Connection status ("connected" or "notconnected").deviceuuid (string): Unique identifier for the device.The sessionToken is valid for 30 minutes from connection start.
execute_terminal_commandExecutes terminal commands on a connected device to manage files, connect to databases and execute terminal commands in a persistent long running terminal session.
On reconnecting to the device, the last state of the terminal is available - this allows also to start long running commands and get the results ones available.
sessionToken (required): Session token from the device connection.deviceuuid (required): Device UUID to execute the command on.command (required): Terminal command to execute.success (boolean): Indicates if the command was accepted for execution.result.commandResult (string): Output from the command.result.lastCommandEndedOnTerminal (boolean): Indicates if the command process has completed.Open a terminal and optionally create a folder for the awaBerry mcp server
# optionally
cd $HOME
mkdir awaberry
cd awaberry
# Clone the repository
git clone https://github.com/awaberry/mcp_server_awaberry.git
cd mcp_server_awaberry
# Install dependencies
npm install
PWD
# outputs the absolute path to mcp_server_awaberry which will be required in the later configuration setup
Please read the file MCPSERVER.md for setup instructions of an awaBerry MCP Server in local environments or as a Cloudflare worker.
To use awaBerry with Claude Desktop, add the server configuration to your claude_desktop_config.json file.
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"awaberry": {
"command": "node",
"args": [
"/absolute/path/to/mcp_server_awaberry/mcp_server_awaberry/mcpclients/start-awaberry-mcp.js"
]
}
}
}
Important: Replace /absolute/path/to/mcp_server_awaberry with the actual absolute path to your installation (e.g., /Users/username/projects/mcp_server_awaberry).
To the awaBerry MCP server, add the following configurations
To setup of server url, project key and project secret, copy the file awaberry-config.json.example to awaberry-config.json.
In a terminal type
cd /absolute/path/to/mcp_server_awaberry/mcp_server_awaberry/mcpclients
cp awaberry-config.json.example awaberry-config.json
Edit the file awaberry-config.json.
{
"serverUrl": "",
"env": {
"AWABERRY_PROJECT_KEY": "",
"AWABERRY_PROJECT_SECRET": ""
}
}
Important: Replace - serverUrl: with the server your company IT team has installed for you or your local mcp server. Start your local mcp server as follow:
For connecting via a local mcp server, use
cd /absolute/path/to/mcp_server_awaberry/mcp_server_awaberry/
npm run start:mcp:json
To monitor the mcp server log open another terminal and type
cd /absolute/path/to/mcp_server_awaberry/mcp_server_awaberry/
tail -f activitylog.log
Once configured, restart Claude Desktop and use natural language to interact with your devices:
Connect to my device "laptop-macos"
Show me all files in my home directory
Read the contents of file
Find all text files files modified in the last 7 days in my home directory
Execute the backup script at ~/scripts/backup.sh
All activity is logged to activitylog.log in the project root directory. Logs include:
Example log output:
2025-01-15 10:30:45 [INFO]: 📥 [Tool] connect_to_device called
2025-01-15 10:30:45 [INFO]: 📋 [Tool] Device name: laptop-macos
2025-01-15 10:30:46 [INFO]: ✅ [Tool] connect_to_device successful - Session: a1b2c3d4...
Rate limits are enforced by the awaberry platform:
Check your plan details at awaberry Agentic for specific limits.
node --versionnpm installclaude_desktop_config.json is absolute and correct.activitylog.log for detailed error messages.activitylog.log.claude_desktop_config.json./) or properly escaped backslashes (\).AWABERRY_PROJECT_KEY and AWABERRY_PROJECT_SECRET securely.Contributions are welcome! Please feel free to submit a Pull Request or contact us.
For documentation and questions: