Single-board computer management.
## Raspberry Pi MCP Server: Single-Board Computer Control The **Raspberry Pi MCP Server** integrates Raspberry Pi management into Google Antigravity, enabling AI-assisted GPIO control, system administration, and IoT project development on Raspberry Pi hardware. ### Why Raspberry Pi MCP? - **GPIO Access**: Control pins for sensors, LEDs, motors, and more - **System Management**: Monitor and manage Pi system resources - **Camera Support**: Access Pi Camera for vision projects - **I2C/SPI**: Interface with sensors and peripherals - **Python Integration**: Native Python scripting support ### Key Features #### 1. GPIO Control ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Set GPIO pin 17 as output and turn on LED" }] ) ``` #### 2. System Status ```python # Check system response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Show Raspberry Pi system status including CPU temp and memory" }] ) ``` #### 3. Sensor Reading ```python # Read sensors response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Read temperature and humidity from DHT22 sensor on GPIO 4" }] ) ``` #### 4. Camera ```python # Use camera response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Capture image from Pi Camera and save to file" }] ) ``` ### Configuration ```json { "mcpServers": { "raspberry-pi": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-raspberry-pi"], "env": { "RPI_HOST": "192.168.1.100", "RPI_SSH_KEY": "~/.ssh/id_rsa" } } } } ``` ### Use Cases **IoT Projects**: Build custom IoT devices and sensors. **Home Automation**: Create DIY smart home controllers. **Education**: Learn electronics and programming. **Prototyping**: Rapid hardware prototyping. The Raspberry Pi MCP Server brings single-board computing into your workflow.
{
"mcpServers": {
"raspberry-pi": {}
}
}