MCP server for Codex, Claude, and other AI agents to build, deploy, and debug FTC robot code
34 tools with consistent verb-noun naming and detailed descriptions (avg 180 chars). All tools have input schemas with type definitions and parameter descriptions. However, output schemas are not documented in the visible code, responses are text-wrapped without structured field definitions. Error handling is present via ToolError but lacks recovery guidance. No tool annotations (readOnlyHint/destructiveHint) despite clear risk stratification. Parameter constraints are well-specified (enums, descriptions), but some tools accept optional projectPath with implicit defaults that could cause silent misuse.
Connect to an Android device via adb over TCP/IP (e.g. 192.168.1.100:5555).
List all Android devices visible to adb (connected via USB or network).
Build the project and deploy the APK to a connected Android device in one step.
Run Gradle build on the project (./gradlew build). Requires Android SDK and local.properties.
Read-only pre-competition audit for duplicate Driver Station names, orphaned generated file pairs, broken subsystem-doc links, incompatible hardware types, stale or missing APKs, disabled OpModes, TODOs, and uncommitted Git changes.
Clear the Robot Controller's logcat buffer.
Scaffold a new calculation helper class (stateless utility) in a specified package group.
Output schemas not documented. All tools return text-wrapped responses without structured field definitions. LLMs cannot plan downstream tool calls or extract typed data reliably.
Tool 'build_and_deploy' violates single-responsibility principle. Combines build + deploy into one tool, preventing agent composition. Should split into separate tools.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk stratification (READ_ONLY, WRITE, REVERSIBLE). Agents cannot distinguish safe from destructive operations.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 63 | 2026-07-28+ | v2 |
Scaffold a new OpMode (TeleOp or Autonomous) with subsystem injection, gamepad input, and telemetry.
Clone a fresh FtcRobotController SDK project (the standard FTC season starting point) into the workspace. Skip this if the team already has a project — pass its path to the other tools instead.
Scaffold a new subsystem class with motors, servos, sensors, constants, and method stubs. Generates a Java class in TeamCode and a markdown doc template.
Scaffold a new TeleOp OpMode with gamepad controls, subsystem injection, and field-centric or robot-centric drive.
Deploy the built APK to a connected Android device via adb install.
Create or update a subsystem markdown documentation file with hardware, constants, methods, and usage examples.
Return a full Pedro Pathing documentation page as markdown, by id from search_docs (e.g. 'pathing/examples/auto').
Return the full Java source of an official FTC sample OpMode by name (from list_samples).
Return the full Java source of a subsystem class by name.
Return the robot's hardware configuration (config names, types, and device names) from RobotController.java and all hardware map files.
Start here when entering a robot project or debugging setup. Summarizes the resolved project path, SDK, Git state, OpModes, subsystem docs, Pedro setup, hardware-name collisions, latest APK, reference library, and Android SDK, then gives next actions.
Add Pedro Pathing to the project: clone the SDK, update build.gradle, and generate Constants.java.
List project-scoped recovery snapshots created automatically before ftc-toolchain overwrites files, including each backup ID and contained relative paths.
Inventory Java and robot-doc files marked as scaffolded by ftc-toolchain, grouped by kind. Markers identify origin only—team edits are expected and must be preserved.
List all @TeleOp/@Autonomous OpModes in the project's TeamCode module.
List the official FtcRobotController sample OpModes (drive code, sensors, AprilTag vision, gamepad, telemetry...). Start here to find working reference code for any FTC hardware or SDK feature.
List all subsystem classes in the project with their hardware and method counts.
Report local FTC sample and Pedro documentation counts, Git branches, commits, dates, and cache location without using the network.
Restart the Robot Controller app on the connected device.
Restore a project-scoped recovery snapshot created automatically before ftc-toolchain overwrites files. Previews by default; pass confirm: true to restore.
Stream the Robot Controller's logcat output (last 100 lines by default).
Check if the Robot Controller is running and responsive (ping via adb).
Keyword search across the Pedro Pathing documentation and the official FTC sample OpModes. Use for questions about path following, tuning, localization, coordinates, and SDK features.
Start a background worker to deploy the APK to a Robot Controller over WiFi (returns a deployId for polling).
Fast-forward the local official FTC SDK samples and Pedro docs checkouts. Refuses to touch a reference checkout with local changes.
Check for hardware configuration errors: duplicate config names, incompatible device types, and missing device names.
Poll the status of an in-progress WiFi deployment by deployId.
Optional projectPath parameter with implicit fallback to env var + workspace default. Silent defaults can cause operations on wrong projects without explicit user confirmation.
Error handling via ToolError returns messages but lacks recovery guidance. Errors do not categorize as retryable/user-fixable/fatal or suggest next steps.