Skip to main content
Wiring Studio
DOCUMENTATION

From an empty sheet to a finished cut list

How Wiring Studio models a harness, what it calculates from that model, and how each view feeds the bill of materials and cut list.

Ctrl+K
Chapters
MCP SERVER

The MCP server

The MCP server lets an AI assistant work inside your Wiring Studio account. Point Claude, ChatGPT, Codex or any other MCP client at one hosted address and sign in once in the browser. The assistant can then list your projects, read a sheet, place components, wire cavities, run the design rule checks and look at what it has drawn. It acts as you, with the same access you already have.

What it is

The Model Context Protocol (MCP) is a standard way for an AI assistant to call tools in another application. Wiring Studio runs its MCP server at a fixed address, so there is nothing to install, host or keep running. You give a client the address and sign in, and the assistant gets 87 tools covering the same project data you work with on the canvas.

Every call is made under your own account. The assistant sees the workspaces you belong to and nothing else. Its edits are your edits: they appear on the canvas straight away, for you and for everyone else in the project, through the same real-time sync your team uses. Workspace, project and sheet are arguments on the tools, so the assistant has to name the sheet it is working on. It never works on whatever sheet you happen to have open.

NOTE

There is no API key to generate and no token to paste. The first time a client contacts the server, the server refuses it and tells it where to sign in. The client registers itself and opens a browser window with the same Wiring Studio sign-in you use everywhere else. The client stores the result, so you never handle a credential.

What you can do

The 87 tools fall into thirteen groups. Read tools return structured data the assistant can work with. Write tools change the project.

GroupTools
Workspaceslist_workspaces, get_workspace_settings, set_workspace_settings
Projects and sheetslist_projects, get_project, create_project, rename_project, duplicate_project, create_revision, list_revisions, restore_revision, create_sheet, rename_sheet, duplicate_sheet, set_project_settings, renumber_wires
Parts librarysearch_parts, get_part, list_manufacturers, upsert_part
Componentsget_sheet, add_component, update_component, delete_component, set_pin_layout, set_mating_connectors, add_extra_part, update_extra_part, delete_extra_part
Wiring and pinslist_wires, connect_wire, update_wire, delete_wire, set_twisted_pair, clear_twisted_pair, rename_network, set_pin, fill_pins, swap_pins, move_pin, get_pin_config
Cables, shielded cables and labelslist_cables, add_cable, update_cable, delete_cable, set_cable_layers, list_shielded_cables, add_shielded_cable, update_shielded_cable, delete_shielded_cable, add_label, update_label, delete_label
Reports and rulesget_bom, get_cutlist, run_drc, list_drc_rules, set_drc_rules, auto_layout, derive_cables_from_wires
Layoutget_layout, move_components, transform_components, group_components, ungroup, rename_group, set_route, split_cable, scale_layout, set_pinout_table, show_pinout_tables, show_wire_count_labels
Drawing noteslist_drawing_notes, add_drawing_note, update_drawing_note, delete_drawing_note, set_drawing_note_settings, save_standard_note, delete_standard_note
Sharingcreate_share_link, list_share_links, revoke_share_link
Assembliesinsert_assembly, save_as_assembly
Buildslist_builds, get_build (read-only, one sheet per build, with build order, sections and order warnings; see Assembly)
Screenshotsscreenshot_sheet

The server sends each tool's name, arguments and description over the connection, so the list your client shows is the authoritative one. Use the table above as an overview, not as a schema to code against.

What to ask for

The jobs below suit an assistant well. They are slow because they are wide rather than difficult: someone has to go through every row. Each one names the tools it uses and what can trip it up. The last two are questions rather than edits, ones you would otherwise answer by tracing the drawing by eye.

Fill the library from a catalog

Filling a parts library is slow work: cavity counts, contact gauge ranges, seals and prices, typed in from supplier PDFs. Point an assistant at the catalog or datasheet instead, and it can add the parts with upsert_part, one call per part number, in any of the sixteen categories. Only the part number, category and manufacturer are required. Library parts are not plan-limited, so a Free personal workspace can hold a full catalog.

WARNING

upsert_part replaces a part; it does not patch it. The description, the price and the category's required properties, such as cavities, gauges and colors, go back to their defaults when you leave them out. A price-only update on a twelve-way connector resets it to one cavity, with no warning, and clears its mates in every project that uses it. Read the part with get_part first and send back the full set of required properties, the description and the price. Part images, contact arrangement drawings and 3D models are not available through MCP, so parts added this way have none.

NOTE

Optional catalog specs, such as a connector's gender or pitch and a wire's outer diameter, keep their stored value when you leave them out, as long as the category is unchanged. details (lifecycle, weight, dimensions, temperature range, material and datasheet link) is merged one member at a time. MCP cannot clear a spec or a detail.

NOTE

Each tool accepts only the part categories that make sense for it, and refuses the rest with a message naming what is allowed and where the part belongs. add_component takes a boot, connector, custom part, diode, heat shrink, resistor, ring terminal, splice or transition, and leaving out partNumber places a part-less branch point. update_component keeps a swap inside its group: a branch point's transition, boot or heat shrink swaps only for another of those three, and a connector, custom part, diode, resistor, ring terminal or splice only for another of those six. A component with no part, or with a part that does not belong on a component (a covering or label placed as a node), can take any component part. add_extra_part takes anything but a connector, diode, resistor, ring terminal or splice. set_pin and fill_pins take a contact and a wire seal, connect_wire and update_wire a wire part, add_cable and update_cable a covering or heat shrink (for several layers on one cable, coveringPartNumbers lists them inner to outer), and add_label a label.

Replace a part that has gone end of life

When a connector is discontinued, the hard part is not choosing the replacement. It is finding every place the old part is used before one slips through to production. An assistant can go through list_projects and get_project, then read each sheet with get_sheet, list_wires, list_cables and get_pin_config. It then repoints each use in turn: update_component for components, update_wire for wires, set_pin and fill_pins for contacts and seals, update_cable for coverings, and update_label, update_extra_part and update_shielded_cable for the rest.

NOTE

There is no single find-and-replace call. Each of those objects holds its own part reference, so a widely used part needs one write per use, against a limit of 60 calls a minute. Repointing a component does not move or remove its wires. Swap a twelve-way for an eight-way and the wires on cavities 9 to 12 stay, flagged as errors. Finish with run_drc and fix what it reports.

Build a project from your own spreadsheet

Excel import reads a workbook it has never seen and works out what the columns mean. You already know your own wire list: that column D is the cavity, say, or that a dash in the reference means a splice. Write those conventions down once as a prompt or a saved skill. An assistant can then read the file your way and build the project with create_project, add_component, connect_wire, fill_pins, add_cable and add_label.

NOTE

Parts must exist before the components that use them, so add the parts first. create_project already creates the first sheet and returns it. Calling create_sheet for it wastes a call, and on Free it fails, because Free allows one sheet per project. A project that Excel import is still building is read-only until the import finishes, and get_project reports it as importing.

Re-price a library and re-quote

Prices go out of date between revisions, and a bill of materials retyped by hand goes out of date faster. Price is stored on the library part, which every project in the workspace shares, so one upsert_part per part updates it everywhere. get_bom and get_cutlist then report what the harness costs, and set_project_settings sets each project's priceMultiplier and cutlistMultiplier, which turn cost into a quote, its cutlistLayerMultiplier for wires in outer cable layers, and its cut-length allowances (cutlistEndAllowanceMm or cutlistEndAllowanceInches, and cutlistJunctionAllowanceMm or cutlistJunctionAllowanceInches), which get_project returns. Each get_cutlist row carries junctions and terminations counts and a cutLength next to the raw length. get_cutlist also takes an optional mode: "grouped", the default, or "perWire", which returns one row per wire with its pins, gauge, network, cable, and colors as both hex and IEC codes.

NOTE

search_parts returns the best 25 matches by default and at most 100, with no pagination, so narrow with a category or more words rather than paging the whole library. Every word must match, in any order, across part number, description, manufacturer, series, category and props; part numbers ignore case and punctuation, so dt064s finds DT06-4S. A search result carries lifecycle (active, nrnd or obsolete) only when the part records one. The part-no-price and part-no-number checks are the quickest way to find what is missing from a quote. Both check the whole project, not one sheet.

NOTE

get_part returns the part's props with any optional catalog specs it records, its details, and, for a part imported from the crimpedia.org catalog, a read-only crimpedia reference with id, mfr and partNumber. MCP can read that reference but cannot write it. An absent spec or detail means unknown, not zero.

Make the naming consistent

Signal names drift: a net gets renamed on one sheet but not the next, or a naming convention changes halfway through a program. rename_network works on the whole project, not one sheet, so one call renames every wire in the net on every sheet and reports how many it changed. Use list_wires to review the names first. Run it after any pass that moves wire ends, because moving an end does not update the net name.

Fix what the design rule checks find

A fault is far cheaper to fix at the desk than at the crimp bench. run_drc returns every violation with its rule, severity, message and subject, and most rules map to a write tool: cable-no-length to update_cable, cavity-no-contact to fill_pins, part-no-price to upsert_part, and wire-no-route to derive_cables_from_wires, then update_cable for the lengths. Ask for a pass, and the assistant can sort the list and fix the mechanical ones.

NOTE

Violations name what they flag, such as a component name, rather than an internal id. A wire's subject starts with its wire number, when it has one, and spells each end with the cavity label, as in #024 X1/1 → X2/3. list_wires reports cavity numbers instead, so fixing a wire usually needs get_pin_config to map the label back to the cavity number. One call returns at most 100 violations. The counts stay complete, and truncated tells you when the list was cut. Projects with more than 600 components are refused; run the checks in the app instead.

Reuse a sub-harness across programs

If you draw the same power branch or ground stud arrangement for every program, save it once. save_as_assembly saves the components you name, or a whole sheet, with their wiring, pin assignments, shielded cables, labels and extra parts. insert_assembly copies it into any project at the position you give, and reports any component it had to rename to avoid a name clash. Each saved assembly counts towards your plan's reusable component limit. If you insert an assembly into a different workspace, its library parts will not be found there.

Shield a cable

Shielded cables have their own tools, and several wiring tools take a cable:

  • list_shielded_cables — each cable with its name (W1, W2 and so on), whether it is a multicore cable or a custom shield, its cores numbered from 1, the cores still free, and for each end where the shield lands: a pin, a connector's housing, another cable's shield or nothing, with any parts fitted at that end and the termination each one is on. A termination that lands on an end but belongs to another shield end is marked landedFrom with that end, and is edited from there, through that cable's update_shielded_cable. Shields nest, an overall shield around cables or an inner screen around some cores of a multicore cable, so each cable also lists its parent and children.
  • add_shielded_cable — a multicore cable from a wire part and the cores to connect, or a custom shield over wires you name in wires and whole cables you name in cables. Shield ends land on a pin, on a connector's housing with housing: true, or float.
  • connect_wire — takes cable and core to make a new wire a core of an existing cable, and housing: true on either end to land it on a connector's housing.
  • set_route — takes a cable to set the straight section its cores share in the Wiring view, or one core with its cable end to shape that core's route to its pin.
  • delete_shielded_cable — without keepWires, deletes the member wires, any draft reserving a core and every cable nested in it. With it, the wires move one level out and nested cables move up. Either way it deletes every drain wire leaving the cable's shield and lists their numbers in deleted.drains.
  • update_extra_part and delete_extra_part — reach a cable's per-end parts.
  • get_pin_config — a draft that reserves a core names its cable and 1-based core.

Turn a wire list into a drawing

A schematic that is electrically complete is not yet something a bench can build from. derive_cables_from_wires draws the cables your wires imply as a harness tree: each connector gets one cable, cables meet at branch points by the components most wires run to, splices sit inside a branch point, and cables already drawn are kept. It is safe to run again. add_cable and update_cable set real lengths on cables, and scale_layout redraws the sheet so each cable's drawn length is in proportion to its real length. auto_layout rearranges the sheet so it is easier to read, split_cable inserts a branch point or an inline part such as a splice partway along a cable, group_components, ungroup and rename_group manage the design canvas's groups; get_layout reports each component's groups, and move_components and transform_components accept a group name to move or turn the whole group about its centre. screenshot_sheet shows you and the assistant the result.

Annotate the drawing

Drawing notes have seven tools. list_drawing_notes returns a sheet's numbered notes in NOTES-block order with their numbers and flags, and its free notes with position, width, text size, background and what each leader points at. add_drawing_note places a free note at a position, or a numbered note at a 1-based place in the block, and can add flags. Pass standardNoteId to copy a library entry's text instead of typing it. update_drawing_note and delete_drawing_note work on a note by its id. set_drawing_note_settings shows or hides a sheet's notes and places and sizes its NOTES block. save_standard_note and delete_standard_note manage the workspace's standard-note library.

A leader or flag aims at a component by name, or at a cable by id with a position from 0 to 1 along it. Both must be on the same sheet. The tools never identify a note by its number, because numbers shift as notes are added, moved or deleted. A number is only accepted as the place to put a note, and every note is otherwise addressed by its id. The assistant can read the result with screenshot_sheet.

Trace a color-coded wire

At the bench the question is concrete: someone is holding a red wire with two white bands and wants to know where the other end goes. list_wires returns every wire on a sheet, with both ends given as a component name and a cavity number, plus the wire part and its marking bands. An assistant can find the wire and tell you where it goes. get_pin_config turns the cavity number into the label printed on the connector, and screenshot_sheet shows it on the drawing. Wire colors and marking covers how colors are set. Each wire also carries its number and numberLabel (the zero-padded text, such as 024), so an assistant can look up wire 24 directly. Wire numbering covers renumber_wires and the other tools.

NOTE

Color is stored on the library part, not on the wire. list_wires gives you wirePartNumber, and get_part returns the color as a hex value in props.wire.color and as an IEC 60757 code, such as WH/BU, in props.wire.colorIec. Heat shrink, covering and label colors get the same IEC code fields. search_parts matches color names too (red, blue), read from the part's stored color, so asking for the red wire works without knowing the part number. The bands in colorCodePartNumbers are separate heat shrink parts. The color on a twisted pair's group belongs to the pair, not to either wire.

Answer what a network connects

Most questions about a harness are about nets: what else is on CAN-H, what shares this ground, what stops working if this cavity is wrong. list_wires includes networkName on every wire, so an assistant can group a sheet's wires by net and list the members, with both ends already named. get_sheet gives each connector its mate, which is how a net continues onto another sheet.

NOTE

No single call returns a whole network. list_wires covers one sheet at a time, so a net that crosses a mated connector pair needs one call per sheet, with the results joined together. A mate connects pin to pin by number, including across sheets. Wires that were never named come back with networkName set to null, and have to be followed end to end. Network names are not unique, so two unrelated nets can share a name. rename_network is the only tool that acts on a whole net, and it reports how many wires it changed.

Before you start

  • Any plan can connect, Free included. There is no separate purchase and no MCP seat.
  • The assistant sees every workspace you belong to, personal and organization. It cannot reach a workspace you are not a member of.
  • Writing to an organization workspace needs the Team plan. Without it, the organization is read-only over MCP, as it is in the app, and creates and edits are refused.
  • It can read and write. It can create, edit and delete, and Wiring Studio does not ask you to confirm any of it.
  • Your plan limits still apply, and the assistant is refused in the same way and for the same reasons as you are in the app. See Pricing and plans.
  • A project that Excel import is still building is read-only until the import finishes.

The client you connect is third-party software with its own terms, and your project data goes to whichever model provider it uses. What a connected client can access is set out in section 1.5 of the privacy policy, and the services involved are listed on the subprocessors page.

WARNING

Edits made over MCP take effect immediately. There is no dry run and no review step: the assistant writes straight into the live project, and everyone else in it sees the change at once. Try a client on a scratch project first, and see how it behaves before you let it near real work.

Connect Claude

Every client needs only one thing: the server address.

Server URL
https://mcp.wiring.studio/mcp

Claude Code

Terminal
claude mcp add --scope user --transport http wiring-studio https://mcp.wiring.studio/mcp
01Run the command above. --scope user makes the server available in every project on your machine.
02In a session, type /mcp, choose wiring-studio and sign in. claude mcp login wiring-studio does the same from the terminal.
03Ask Claude to list your workspaces. It is the quickest way to confirm the connection works.

With --scope project instead, the server is saved to a shareable .mcp.json file in the repository. Colleagues approve it and sign in with their own accounts.

.mcp.json
{ "mcpServers": { "wiring-studio": { "type": "http", "url": "https://mcp.wiring.studio/mcp" } } }

Claude Desktop and claude.ai

01Open Customize ▸ Connectors — on the web that is claude.ai/customize/connectors (opens in a new tab).
02Click + and choose Add custom connector.
03Name it wiring-studio, paste the server address, and leave the advanced settings empty.
04Click Add, then complete the browser sign-in.
05In a chat, open the + menu ▸ Connectors and switch wiring-studio on.
NOTE

Custom connectors are available on Free, Pro, Max, Team and Enterprise, and Free allows one. On Team and Enterprise, an owner first adds the connector under Organization settings ▸ Connectors. Everyone else then clicks Connect and signs in with their own account.

TIP

Claude connects to the server from Anthropic's cloud, not from your machine. That is why there is nothing to run locally, and why the server has a public address.

Connect ChatGPT

ChatGPT

01Open Settings ▸ Security and login and turn Developer mode on.
02Add a custom connector and give it the server address, https://mcp.wiring.studio/mcp.
03Complete the browser sign-in when it appears.

On Plus and Pro you can turn developer mode on yourself. On Business, Enterprise and Edu, a workspace admin has to enable it first, under Workspace Settings ▸ Permissions & Roles. Connectors in ChatGPT work on the web only.

NOTE

ChatGPT can only connect if its connector registers itself with our sign-in service, as the other clients on this page do, and we cannot confirm that from our side. Treat these steps as a preview for now. If the sign-in window never opens, the problem is the connection handshake, not anything you typed. Until then, the other clients on this page are the reliable option.

Codex CLI

Terminal
codex mcp add wiring-studio --url https://mcp.wiring.studio/mcp
codex mcp login wiring-studio

The first command adds the entry below to ~/.codex/config.toml. You can also add it by hand, then run the login command.

~/.codex/config.toml
[mcp_servers.wiring-studio]
url = "https://mcp.wiring.studio/mcp"

Other MCP clients

Any client that supports MCP over streamable HTTP and OAuth 2.1 with dynamic client registration works. Give it the server address and it handles the rest. There are no headers to set, no keys to store and nothing to configure beyond the URL.

mcp.json
{ "mcpServers": { "wiring-studio": { "url": "https://mcp.wiring.studio/mcp" } } }
  • Cursor — the shape above, in ~/.cursor/mcp.json for every project or .cursor/mcp.json for one.
  • VS Code — .vscode/mcp.json, where the top-level key is servers rather than mcpServers, and the entry needs type: http next to the URL.
  • Windsurf — mcp_config.json, where the address goes under serverUrl rather than url.

The server refuses a new client's first request with a 401 response that includes the address of the sign-in service. That is how sign-in starts, and every client on this page handles it automatically. A 401 in a log is not a failure.

For tool discovery and machine-readable documentation, see API and developer resources.

Working with an agent

An assistant finds its way around in the same order you would. list_workspaces returns the workspaces you belong to, list_projects the projects in one of them, and get_project the sheets in a project. On a sheet, get_sheet returns the components, with their cavities if asked, and list_wires and list_cables return the wires and cables. After that, the assistant has the names and ids it needs to change anything.

  • “List my projects and tell me which ones have design rule violations.”
  • “Add a 12-way connector to the engine sheet and wire cavity 1 through to the splice.”
  • “Every wire between X1 and the splice should be black — fix the ones that are not.”
  • “Produce the cut list for this project and tell me the three most expensive parts in the BOM.”
  • “Trace the red wire out of X1 cavity 4 and tell me where it lands.”
  • “What else is on the CAN-H network, and does any of it leave this sheet?”
  • “Rename the network carrying CAN-H and make sure it is twisted with CAN-L.”
  • “Tidy up the layout on sheet 2 and show me what it looks like.”

Names, not ids

Where it can, a sheet tool refers to things by the names you already see: a component by its name, as get_sheet shows it, and a library part by its part number. Renaming a component in the app therefore changes how an assistant has to refer to it. Wires, labels and extra parts have no name, so tools take the id that list_wires, list_cables, get_sheet or list_shielded_cables returns for them. A shielded cable takes its name or its id.

Leave alone or clear

Most edit tools follow one rule. An argument the assistant leaves out is left unchanged; an argument it sets to null is cleared. That is the difference between not changing a value and removing it, and it is worth knowing when you check what an assistant says it did. Two exceptions: a list argument, such as a wire's marking bands, replaces the whole list, and upsert_part replaces a part's required properties, while an optional spec or detail it leaves out keeps its stored value.

TIP

Ask for run_drc after a batch of edits, and for screenshot_sheet once the batch is done. The checks are the same ones the app runs, so when an assistant clears them, it has cleared what you would see on the design rule checks card. A screenshot is the only way it can tell whether its layout looks right.

Limits and safety

LimitWhat it means
Deletes are canvas objects onlyComponents, cables, wires, labels, extra parts and shielded cables. Library parts, projects and sheets cannot be deleted over MCP; only a person can delete them, in the app.
Plan limits apply to creates and editsRefused exactly as they are in the app. Deletes are never plan-limited. See Pricing and plans.
60 tool calls a minuteCounted per person, across every client you have connected. Over the limit, the call returns an error telling the assistant to wait 60 seconds and try again.
6 screenshots a minutescreenshot_sheet has its own limit on top of the general one. A capture takes 10 to 40 seconds and returns a PNG whose longer side is between 512 and 4096 pixels, 1600 by default.
100 design rule violationsrun_drc returns at most 100, and refuses projects with more than 600 components.
100 search resultssearch_parts returns at most 100 library parts per call, and 25 by default.
Imports are read-onlyA project that Excel import is still building cannot be edited until the import finishes.

screenshot_sheet is the only tool that does more than read and write data. It signs a headless browser in to your account, renders the canvas as the app draws it, then signs the browser out again. The browser runs on Cloudflare, which is listed on the subprocessors page.

WARNING

Nothing an assistant does is a draft. Every change is saved to the live project and synced to everyone working in it at once, just like a change you make yourself.

Disconnecting

Wiring Studio has no list of connected clients. The connection is stored in the client, so you end it there.

Terminal
claude mcp remove wiring-studio
  • Claude Code — run the command above. It deletes the stored sign-in along with the server entry.
  • Claude Desktop and claude.ai — remove the connector under Customize ▸ Connectors. On Team and Enterprise, an owner removes it for the whole organization.
  • ChatGPT — remove the custom connector in settings.
  • Everything else — delete the server's entry from the client's configuration file.

Removing the connection discards the sign-in the client was holding, and there is nothing to clean up in Wiring Studio. Once no client is connected, no assistant can reach your account.

Was this page useful?