drio
Open app

Robot Control Service

Source

mcp server for johnny-five

Catalog onlyCatalog onlySTDIO

Overview

Robot Control Service is a Model Context Protocol (MCP) service designed to control a robot arm equipped with a servo motor, which plays an audio clip when the servo moves.

To use the Robot Control Service, connect an Arduino board via USB, attach a servo motor to pin 10, and run the service using Node.js. The service exposes an MCP tool called moveMyServo that accepts a degrees parameter (0-180) to control the servo position.

  • Control a servo motor with precise angle adjustments. - Play audio clips in response to servo movements. - Easy integration with Arduino and JavaScript robotics frameworks.
  1. Automating robotic arms for educational purposes.
  2. Creating interactive installations that respond to user inputs.
  3. Developing prototypes for robotics projects.

Add to your AI client

Use these steps to connect Robot Control Service in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "robot-mcp-monteslu": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-robot-mcp-monteslu"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "robot-mcp-monteslu": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-robot-mcp-monteslu"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "robot-mcp-monteslu": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-robot-mcp-monteslu"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "robot-mcp-monteslu": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-robot-mcp-monteslu"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "robot-mcp-monteslu": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-robot-mcp-monteslu"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "robot-mcp-monteslu": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-robot-mcp-monteslu"
      ]
    }
  }
}

FAQ

What are the requirements to run the Robot Control Service?

You need Node.js, an Arduino or compatible board, a servo motor connected to pin 10, and a speaker for audio output.

How do I install the Robot Control Service?

You can install it by running `npm install` in your project directory.

Can I use this service with other types of motors?

The service is specifically designed for servo motors, but you can modify the code to work with other motor types.