Back to MCP Catalog

Arduino Robotics Control MCP Server

Developer ToolsJavaScript
Control Arduino-based robots with AI using the Model Context Protocol
Available Tools

blinkLED

Blink an LED for a specified duration

duration

buzz

Activate the buzzer for a certain duration

duration

runMotor

Start the motor at a given speed for a set period

speedduration

moveServo

Move the servo motor to a specified angle

angle

controlFan

Turn the fan on or off

state

toggleRelay

Switch a relay module on or off

state

readTemperature

Get the current temperature reading from the sensor

readDistance

Measure the distance using the ultrasonic sensor

moveChotu

Move the robot in specific steps

stepsdirection

startChotu

Start the robot and get ready to operate

stopChotu

Stop the robot and shut down operations

turnChotu

Turn the robot to a specified direction (left or right)

direction

setChotuSpeed

Set the speed for the robot

speed

Chotu Robo is an integration framework that connects Arduino-based robotics (using NodeMCU ESP32 or Arduino Nano 368 boards) with AI systems through the Model Context Protocol. It enables seamless control of hardware components like LEDs, motors, servos, and sensors via AI commands. The system operates in two modes: Wired Mode using Arduino Nano 368 for pre-programmed operations, and Wireless Mode using ESP32 for real-time control over Wi-Fi. This setup allows for sophisticated AI-powered robotics applications where hardware can be controlled through natural language commands processed by AI assistants like Claude.

Installation

To set up the Arduino Robotics Control MCP, follow these steps:

Prerequisites

  • NodeMCU ESP32 or Arduino Nano 368 board
  • Various sensors and actuators (LEDs, motors, servos, etc.)
  • Node.js installed on your computer
  • Basic knowledge of Arduino and JavaScript

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/vishalmysore/choturobo.git
    cd choturobo
    
  2. Install dependencies:

    npm install
    
  3. Hardware Setup:

    • Connect your NodeMCU ESP32 or Arduino Nano 368 to your computer
    • Wire up the components according to your project needs:
      • LEDs to digital pins
      • Motors to motor driver pins
      • Servos to PWM pins
      • Sensors to appropriate analog/digital pins
  4. Configure the MCP Server:

    • Update the Wi-Fi credentials in the ESP32 code if using Wireless Mode
    • Modify pin assignments in the code to match your hardware setup
  5. Upload the code:

    • For Wired Mode (Arduino Nano 368): Upload the code directly via USB
    • For Wireless Mode (ESP32): Upload the code and ensure it connects to your Wi-Fi network
  6. Start the MCP Server:

    npm start
    

Usage

The Arduino Robotics Control MCP provides a bridge between AI systems and physical hardware. Here's how to use it:

Basic Operation

  1. Connect to the robot:

    • In Wired Mode: The robot runs pre-programmed code
    • In Wireless Mode: The ESP32 connects to Wi-Fi and starts a web server
  2. Send commands:

    • Use the MCP tools to control hardware components
    • Commands can be sent programmatically or through AI assistants
  3. AI Integration:

    • Connect the MCP server to Claude or other AI assistants
    • Use natural language to control the robot (e.g., "turn Chotu left" or "set speed to 5")

Example Workflows

Basic LED Control:

Use the blinkLED tool to make an LED blink for 3 seconds

Complex Movement:

1. Use the startChotu tool to initialize the robot
2. Use the setChotuSpeed tool to set speed to 5
3. Use the moveChotu tool to move forward 10 steps
4. Use the turnChotu tool to turn right
5. Use the stopChotu tool to stop the robot

Sensor Reading:

Use the readTemperature tool to get the current temperature
Use the readDistance tool to measure distance to an object

Troubleshooting

  • Connection Issues: Ensure the ESP32 is connected to the correct Wi-Fi network
  • Hardware Problems: Check wiring connections and pin assignments
  • Command Failures: Verify that the commands match the available tools
  • Power Issues: Ensure adequate power supply for motors and servos

Advanced Configuration

For advanced users, the system can be customized by:

  1. Adding new sensors and actuators
  2. Creating custom commands in the MCP server
  3. Implementing additional AI prompts for specific actions
  4. Extending the hardware capabilities with additional components

Related MCPs

Apple Shortcuts
Developer ToolsJavaScript

Control Apple Shortcuts automations from AI assistants

Clojars Dependency Lookup
Developer ToolsJavaScript

Fetch dependency information from Clojars, the Clojure community's artifact repository

Simple Timeserver
Developer ToolsPython

Provides Claude with current time and timezone information

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.