rhoegg
MCP Serverrhoeggpublic

ufo mcp server

MCP server for Dynatrace UFO

Repository Info

2
Stars
0
Forks
2
Watchers
0
Issues
Go
Language
Apache License 2.0
License

About This Server

MCP server for Dynatrace UFO

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

UFO MCP Server

Control your Dynatrace UFO device through MCP-compatible clients like Claude Desktop.

Version 1.0.1 - MCP Specification 2024-11-05

🚀 Quick Start

Prerequisites

  • A Dynatrace UFO device on your network
  • Find your UFO's IP address (check your router or use ufo.local if mDNS is available)

📦 Installation

# macOS (Apple Silicon)
curl -L https://github.com/starspace46/ufo/releases/download/v1.0.1/ufo-mcp-darwin-arm64 -o /usr/local/bin/ufo-mcp
chmod +x /usr/local/bin/ufo-mcp

# macOS (Intel)
curl -L https://github.com/starspace46/ufo/releases/download/v1.0.1/ufo-mcp-darwin-amd64 -o /usr/local/bin/ufo-mcp
chmod +x /usr/local/bin/ufo-mcp

# Linux
curl -L https://github.com/starspace46/ufo/releases/download/v1.0.1/ufo-mcp-linux-amd64 -o /usr/local/bin/ufo-mcp
chmod +x /usr/local/bin/ufo-mcp

Option 2: Docker

docker pull starspace46/ufo-mcp:latest

# Run with Docker
docker run -d \
  --name ufo-mcp \
  -e UFO_IP=YOUR_UFO_IP_HERE \
  -v ~/.ufo-effects:/data \
  starspace46/ufo-mcp:latest

Option 3: Build from Source

git clone https://github.com/starspace46/ufo-mcp-server.git
cd ufo-mcp-server
go build -o ufo-mcp ./cmd/server
sudo mv ufo-mcp /usr/local/bin/

🔧 Client Setup

For multi-agent coordination where multiple Claude Desktop instances share the same UFO state, use the Desktop Extension:

1. Build the Extension

make dxt

2. Start HTTP Server

docker run -d --name ufo-mcp-shared -p 8080:8080 -v "$(pwd)/data:/data" ufo-mcp:local --transport http --port 8080

3. Install Extension

  1. Open Claude Desktop
  2. Go to Settings > Extensions
  3. Drag build/ufo-mcp.dxt into the extensions area

Benefits:

  • ✅ Multiple Claude Desktop instances share UFO state
  • ✅ Real-time coordination between agents
  • ✅ Centralized effect stack management
  • ✅ No configuration file editing required

See extension/README.md for detailed documentation.

Option B: Direct MCP Configuration

For single-agent use or when you prefer traditional MCP server configuration:

Claude Desktop

Add to your Claude Desktop configuration:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

Direct Installation

{
  "mcpServers": {
    "ufo": {
      "command": "/usr/local/bin/ufo-mcp",
      "args": [
        "--transport", "stdio",
        "--ufo-ip", "YOUR_UFO_IP_HERE"
      ]
    }
  }
}

Docker Installation

{
  "mcpServers": {
    "ufo": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i",
        "-e", "UFO_IP=YOUR_UFO_IP_HERE",
        "-v", "~/.ufo-effects:/data",
        "starspace46/ufo-mcp:latest",
        "--transport", "stdio"
      ]
    }
  }
}

Cline (VS Code Extension)

Add to VS Code settings.json:

Direct Installation

{
  "mcp.servers": {
    "ufo": {
      "command": "/usr/local/bin/ufo-mcp",
      "args": ["--transport", "stdio", "--ufo-ip", "YOUR_UFO_IP_HERE"]
    }
  }
}

Docker Installation

{
  "mcp.servers": {
    "ufo": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i",
        "-e", "UFO_IP=YOUR_UFO_IP_HERE",
        "-v", "~/.ufo-effects:/data",
        "starspace46/ufo-mcp:latest",
        "--transport", "stdio"
      ]
    }
  }
}

MuleSoft Anypoint Code Builder

The UFO MCP server includes legacy SSE support for MuleSoft's MCP Connector (0.1.0-BETA).

  1. Start the server in HTTP mode:
# Direct
ufo-mcp --transport http --port 8080 --ufo-ip YOUR_UFO_IP_HERE --effects-file ./data/effects.json

# Docker
docker run -d \
  --name ufo-mcp-http \
  -p 8080:8080 \
  -e UFO_IP=YOUR_UFO_IP_HERE \
  -v ~/.ufo-effects:/data \
  starspace46/ufo-mcp:latest \
  --transport http
  1. In Anypoint Code Builder, configure your MCP connection:
    • Server URL: http://localhost:8080
    • SSE Endpoint Path: /sse
    • The server will automatically handle session persistence across reconnections

Other MCP Clients

For standard HTTP/2 MCP clients, connect to http://localhost:8080/mcp

The server supports multiple transport modes simultaneously:

  • stdio: Standard I/O for desktop clients (Claude, Cline)
  • http: HTTP/2 + SSE for web-based clients
  • Legacy SSE: Bidirectional SSE for MuleSoft compatibility

💡 Usage Examples

Once configured, ask Claude to:

  • "Turn the UFO red" - Sets all LEDs to red
  • "Play the rainbow effect" - Starts a colorful animation
  • "Make the top ring blue and bottom ring green" - Independent ring control
  • "Set brightness to 50%" - Adjust overall brightness
  • "Add rotation to the top ring" - Animate ring patterns
  • "Show current UFO state" - See what's currently displayed

🎨 Built-in Effects

The server includes pre-configured effects:

  • rainbow - Rotating rainbow colors (perpetual)
  • breathingGreen - Calming green pulse (perpetual)
  • policeLights - Emergency light pattern (30 seconds)
  • oceanWave - Soothing blue waves (perpetual)
  • fireGlow - Flickering fire effect (perpetual)
  • alertPulse - Red alert flash (20 seconds)

🛠️ Available Tools

  • configureLighting - Set entire UFO lighting (top ring, bottom ring, logo) in one command
  • sendRawApi - Send raw API commands directly to the UFO
  • playEffect - Play a named lighting effect from the library
  • stopEffect - Stop current effect and resume previous one from the stack
  • getLedState - Query current LED state
  • listEffects - Show all available effects (built-in and custom)

📝 Configuration Options

Command Line Arguments

  • --transport or -t: Transport type (stdio or http, default: stdio)
  • --port: HTTP port when using http transport (default: 8080)
  • --ufo-ip: UFO device IP address (overrides UFO_IP env var)
  • --effects-file: Path to effects JSON file (default: /data/effects.json)

Environment Variables

  • UFO_IP: UFO device IP address or hostname (e.g., 192.168.1.100 or ufo.local)

🐛 Troubleshooting

  1. Can't find UFO: Check your UFO's IP address in your router's admin panel
  2. Connection refused: Ensure UFO is powered on and connected to your network
  3. Effects not saving: Check write permissions for the effects file location
  4. Docker permission issues: Ensure the effects directory is writable

📄 License

MIT License - See LICENSE file for details

Quick Start

1

Clone the repository

git clone https://github.com/rhoegg/ufo-mcp-server
2

Install dependencies

cd ufo-mcp-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerrhoegg
Repoufo-mcp-server
LanguageGo
LicenseApache License 2.0
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation