Repository navigation
MCP Tools
Everything a person can do in the window, an agent can do through the MCP server. The UI and MCP share the same
validated commands, checks and undo history. The server has about 370 operations. Through the
Compact endpoint an agent finds them with search_tools,
reads one schema with describe_tool and runs it with execute_tool. Through the Full endpoint each operation is
its own tool. The names are the same either way.
The window lists every operation under Tool catalog in the Connect an AI Agent dialog. This page groups
representative names. All of them exist in the source (src/server/mcp/).
| Tool | Purpose |
|---|---|
search_tools |
Find operations by exact name or keywords; an empty query browses all. Up to 12 results per page. |
describe_tool |
One operation's description, input schema and hints (whether it writes). |
execute_tool |
Run one operation by name with an arguments object. |
read_guide |
Read the studio's workflow guides by topic, in short pages. |
The guides (36 topics) cover, among others: workflow, conventions, groups, wires, schematic,
board-components, bearings, fasteners, pcb, board-in-robot, drawings, part-making, workshop-design,
workshop, printing, addons, assembly, design-feedback, annotations, ai-models, training,
extensions and project-package.
| Category | Representative tools |
|---|---|
| Project and files |
get_project_summary, get_project, new_project, open_sample, open_project, export_project, list_project_files, read_project_file, set_project_info, undo, redo, list_recent_projects
|
| Settings |
get_settings, set_settings
|
| Project versions (Git) |
enable_project_versions, checkpoint_project, get_project_git_history, get_project_git_diff, push_project_git, pull_project_git
|
| Catalog and libraries |
search_catalog, get_module, define_module, find_fastener, find_bearing, standard_component, list_libraries, install_library, get_dimension_drawing
|
| KiCad parts and design blocks |
search_kicad_symbols, get_kicad_symbol, add_kicad_symbol, search_kicad_footprints, define_component, save_design_block, place_design_block
|
| Parts and solids |
add_part, update_part, remove_parts, duplicate_part, swap_part_module, list_templates, create_parametric_part, create_solid_part, get_faces, import_step, export_part, measure_clearance
|
| Assemblies and groups |
create_assembly, duplicate_assembly, transform_assembly, move_to_assembly, list_groups, set_part_group, show_group
|
| Mates and joints |
mate_parts, set_joint, move_joints, check_joint_travel, list_joints
|
| Wires |
add_wire, route_wire, set_wire, list_wires, check_wiring, settle_wires
|
| Motion and physics |
set_motion, set_keyframe, play_motion, check_motion, simulate_motion, simulate_stand, get_actuator_model, set_actuator_model, set_sim_sensor, set_drive_base, simulate_base, export_mjcf, export_robot_description
|
| Controls |
list_controls, set_control, set_connection
|
| Schematic |
connect_pins, list_nets, get_schematic_structure, write_schematic_page, review_schematic_sheet, get_schematic_sheet, draw_schematic_wires, mark_no_connect, set_schematic_appearance, run_schematic_erc, review_electrical
|
| Boards and PCB |
create_board, list_boards, get_pcb, set_pcb_outline, set_pcb_mounting_hole, place_on_pcb, route_pcb_path, autoroute_pcb, begin_native_pcb_route, set_pcb_zone, fill_pcb_zones, set_pcb_configuration, check_pcb, run_pcb_drc, place_board_in_robot, sync_board_3d
|
| PCB outputs and KiCad |
get_kicad_status, export_board_files, export_kicad_fabrication, export_pcb_3d, export_kicad_schematic, get_kicad_job
|
| Code and firmware |
write_firmware, read_firmware, list_firmware, get_pin_map, get_code_model, get_toolchain, install_toolchain, build_firmware, upload_firmware, read_serial, search_code, code_rename
|
| Python and Linux controllers |
list_python_interpreters, run_python, read_run_output, set_deploy_target, deploy_controller, list_python_environments, install_python_package
|
| AI models and training |
list_ai_models, import_ai_model, search_model_hub, download_hub_model, set_ai_model, run_ai_model, simulate_policy, list_compute_boards, check_compute_budget, list_trainers, start_training, generate_learning_task
|
| Making and drawings |
get_process_guide, set_making, set_tolerances, list_hole_presets, get_drawing, add_drawing_dimension, set_drawing_sheet, export_drawing
|
| Build |
get_build_plan, get_bom, set_assembly_steps, set_purchase_details, list_making_guides, set_making_guide, export_build
|
| Workshop and printing |
get_workshop, set_machine, set_machine_calibration, set_machine_material, export_calibration_gauge, get_slicer, install_slicer, list_slicer_profiles, slice_part, simulate_gcode, find_printers, send_to_printer
|
| Add-ons and extensions |
list_addons, install_addon, list_extensions, set_extension, run_extension
|
| Checks |
run_checks, get_diagnostic_log
|
| The window |
capture_view, get_ui_state, set_ui_state, list_windows, open_window
|
| Background work |
list_background_jobs, cancel_background_job
|
| Notes from the person |
list_annotations, acknowledge_annotations
|
open_project also opens a KiCad schematic (.kicad_sch or .kicad_pro) as a new project.
Some tools change what real hardware does, download programs or run code on your computer. They wait until you click Allow in the window. If no Robot Studio window is open to ask in, they fail with a message saying so. An unanswered request is refused after three minutes.
| Approval | Tools that ask for it |
|---|---|
| Upload | upload_firmware |
| Install (download) |
install_toolchain, install_slicer
|
| Run |
run_python, choose_python_interpreter, run_extension, start_training
|
| Deploy |
deploy_controller, deploy_ai_model
|
| Files from your computer |
import_ai_model, set_extension (when it copies files from a path) |
| Library | install_library |
send_to_printer |
|
| Add-on | install_addon |
| Git push | push_project_git |
| Python package | install_python_package |
| Model download | download_hub_model |
For uploads, installs, runs, deploys, file copies and libraries, the dialog can allow the same kind of request without asking until Robot Studio restarts. Prints, add-ons, Git pushes, Python packages and model downloads ask every time.
After every change the studio analyses the design: electrical rules, interference between the real solids, joints
moved through their travel, the robot stood up under gravity in MuJoCo, and wires against the solids. When a tool
call changes the design and that creates or fixes a problem, the answer carries a design_feedback object:
-
new_issues: each with the parts involved and, for a collision, the shared volume and where it is; -
resolved: the issues the change fixed; - the number of issues still open, and
pendingwhile the analysis is still running.
run_checks returns the full list at any time. The window's health pill and Problems panel show the same
issues.
With the purple AI Annotate button a person clicks a part, a connection, a track, a line of code or a page and
writes or says what they want done. While notes are queued, every tool answer carries them after its own
answer as user_annotations. Each note has its id (AN1, AN2 …), its text, what it is about and the ids the
other tools take.
The agent calls acknowledge_annotations with the ids and the status received or working so they leave the
queue, then done with a one-sentence reply when finished, including when it will not or cannot do it.
list_annotations lists all notes at once.
- Strict arguments. A tool refuses an argument it does not take and names it, instead of silently dropping it.
- Activity log. Every call is logged with a summary of its arguments, whether it succeeded and how long it took. The window shows the log in Agent activity.
-
Background work. Long work, such as pour fills, KiCad jobs and training, runs in the background. Tools answer
with a pending state or a job to follow (
get_kicad_job,get_pcb_zone_fill_job,get_training_run), andlist_background_jobsandcancel_background_joblist and stop the server's background work. -
Units and names. Millimetres and degrees, Z up, Euler XYZ rotations. Part ids are reference designators (
U1,M2) that never change. Pins arePART.PIN(U1.D13), mechanical portsPART.PORT(M1.shaft). -
From a shell.
node scripts/mcp-call.mjs <tool> [json]calls one tool while the app is running, for examplenode scripts/mcp-call.mjs get_project_summary.
AGPL-3.0 · github.com/Niomatic/robot-studio · niomatic.com
Get started
Using the studio
Reference