Knowledge
Real APIs. Real examples.
Searches official FTC samples and Pedro Pathing docs, so your AI cites working code instead of inventing methods.
search_knowledgeFTC Toolchain gives Codex, Claude, and other MCP clients the tools to scaffold subsystems, wire TeleOp, build with Gradle, and deploy to your Control Hub.
✓ Official FTC SDK ✓ Pedro Pathing ✓ Free & open source
Make an intake subsystem with one motor, spinIn and spinOut, plus a bench test.
I’ll scaffold the subsystem, wire its hardware config, then run a build.
Created subsystems/Intake.java · 48 lines
Created opmodes/IntakeBenchTest.java
START BUILDING
Choose your AI client, enter the FTC SDK project root—the folder containing TeamCode—then copy the generated setup.
codex mcp add --env FTC_TOOLCHAIN_PROJECT_DIR="/Users/team/DecodeRobot" ftc-toolchain -- npx -y ftc-toolchainnpx -y ftc-toolchain setupAsk: “Run inspect_project before changing anything.” It should report the selected path, OpModes, Git state, Gradle, Android SDK, and hardware names.
THE GAP
Every season starts with hardware maps, drive code, and config names that must match the Driver Station.
Chatbots can describe the code. You still copy, paste, fix imports, and chase build errors.
FTC Toolchain closes the loop. The AI runs real tools, builds the code, and tells you exactly what broke.
35 TOOLS. FOUR JOBS.
Purpose-built tools for the repetitive, fragile parts of an FTC codebase. Your AI handles the loop; your team reviews every diff.
Knowledge
Searches official FTC samples and Pedro Pathing docs, so your AI cites working code instead of inventing methods.
search_knowledgeScaffold
Creates one class per mechanism, injects dependencies, and keeps driver bindings in a separate, editable file.
create_subsystemBuild + deploy
Deploys directly over USB-C, or switches to saved Control Hub Wi-Fi and restores your internet automatically.
deploy_robotRobot memory
Maintains a living docs/ knowledge base of your robot, hardware names, and public subsystem commands.
document_robotTHE LOOP
Nothing is hidden. You stay in control, review the code, and decide when it touches hardware.
Say what the mechanism should do.
→Review a clean, FTC-native implementation.
→Gradle runs. Compiler errors come back.
→Send it to the Control Hub when you’re ready.
PROOF, NOT A DEMO
Eight subsystems. Dual TeleOps. A color-sorting spindexer with custom PID. We started with an empty folder and a plain-English description.
The AI wrote the logic. FTC Toolchain guaranteed the structure, wiring, and a buildable result.
subsystems reproduced
public methods matched
real, installable APK
// Driver bindings stay out of robot logic public void bind(GamepadEx driver) { driver.getGamepadButton(A) .whenPressed(intake::spinIn) .whenReleased(intake::stop); }
YOU’RE IN CONTROL
FTC Toolchain proposes and runs local tools. It won’t overwrite existing files by default, and nothing deploys to your Control Hub unless you ask.
FAQ
No. Add the server with one command, run setup, then talk to your AI like you normally would.
No. Pedro is optional, and FTC Toolchain includes a tool to install it when your robot needs it.
Not silently. File-generating tools refuse to overwrite existing work unless you explicitly allow it.
Only for deployment and device logs. Scaffolding, docs, and local builds work without a robot.
Choose direct USB-C when you are near the robot, or automatic saved-Wi-Fi switching when you want to stay cable-free. No phone tether is required.
The MCP server runs locally. Your AI client’s normal privacy and data settings still apply.