Perfboard Designer
Design perfboard and stripboard layouts, check the wiring and get a link to open them in the editor.
사용해야 할까요
품질 및 안전성
발견 사항 (1)
- LOWget_pin_positions에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"perfboard-designer-mcp"
]
}
}
}실행 가능한 패키지
0.1.0stdio원격 엔드포인트
https://mcp.perfboarddesigner.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (12)
🟢list_parts(query, kind)
Lists the parts a project can place. Without a query: every part, grouped by category, as its id with its name and pin count; call it this way once to see what there is. With a query: the parts whose id, name, category or keywords contain all its words, or the closest ones when none do. Each part's `id` is its definitionId in the project file; use get_part for its pins and how to place it.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"description": "Words to match, e.g. \"capacitor\", \"555\", \"header\", \"relay\". Leave it out to list every part.",
"type": "string"
},
"kind": {
"description": "standard-component: two-lead parts placed between two holes. advanced-component: fixed-footprint parts. ic: dual-row chips and modules.",
"type": "string",
"enum": [
"standard-component",
"advanced-component",
"ic"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_part(ids, id)
Everything needed to place parts: for each, which project file list it goes in, its pins (offsets from pin 1 at rotation 0) and pin labels, polarity, value unit, holes its body covers, and an example entry. Ask for every part you use in one call with `ids`.
입력 스키마
{
"type": "object",
"properties": {
"ids": {
"description": "Part ids from list_parts, e.g. [\"resistor\", \"ne555\", \"header-pins\"].",
"type": "array",
"items": {
"type": "string"
}
},
"id": {
"description": "One part id, instead of `ids`.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡new_project(cols, rows, type, strips, name, ...)
Starts a project kept here under a projectId: a blank board, or one of the example projects (perfboard://examples/...) to copy from. Returns the projectId and the project file. Then add parts and wires with edit_project, and pass the projectId to every other tool instead of the whole file.
입력 스키마
{
"type": "object",
"properties": {
"cols": {
"description": "Holes across. 30 when left out.",
"type": "integer",
"minimum": 1,
"maximum": 500
},
"rows": {
"description": "Holes down. 20 when left out.",
"type": "integer",
"minimum": 1,
"maximum": 500
},
"type": {
"description": "perfboard (default): a separate pad per hole. stripboard: copper strips joining every hole along each row (or column).",
"type": "string",
"enum": [
"perfboard",
"stripboard"
]
},
"strips": {
"description": "A stripboard's strips: along rows (horizontal, default) or columns.",
"type": "string",
"enum": [
"horizontal",
"vertical"
]
},
"name": {
"description": "The project's name, used by make_share_link.",
"type": "string"
},
"example": {
"description": "Start from an example instead of a blank board: \"555-led-blinker\" (555 LED blinker (perfboard)), \"555-led-blinker-stripboard\" (555 LED blinker (stripboard)).",
"type": "string",
"enum": [
"555-led-blinker",
"555-led-blinker-stripboard"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴edit_project(projectId, project, ops, expectNets)
Changes a project kept here, by a list of ops applied in order: add_part, update_part (move, turn, change value or ref), remove_parts, add_wire (from/to, or a `path` of holes made into one wire per leg), update_wire, remove_wires, set_board, add_cuts / remove_cuts (stripboard), set_pad (a note on a hole). If any op can't be done, none are. Returns what changed, where the pins of added or moved parts landed, and the board checked as validate_project does (with any expectNets remembered for it); when it has no errors, also its nets. get_project returns the whole file. The goal is a board that's right, looks neat and is easy to solder, not just the shortest wires: parts in tidy rows near what they connect to, connectors at the edges, straight wires with few corners and no crossing you can avoid, none over a part's body. Before giving the user the link, look at it (render_board with format "png"), rework what's messy and check it again.
입력 스키마
{
"type": "object",
"properties": {
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
},
"project": {
"description": "A whole project file to start from instead of a projectId: it's kept here and the reply gives its new projectId.",
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "string"
}
]
},
"ops": {
"minItems": 1,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "add_part"
},
"part": {
"type": "string",
"description": "The part's id from list_parts (\"resistor\", \"ne555\", \"header-pins\"), or the name of one of the project's customIcs."
},
"ref": {
"description": "Its reference designator. The next free one (R1, R2...) when left out.",
"type": "string"
},
"from": {
"description": "Two-lead parts: the hole of lead 1. On a polarized part get_part's leadLabels say which that is: K for a diode or LED, - for an electrolytic.",
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"to": {
"description": "Two-lead parts: the hole of lead 2.",
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"at": {
"description": "Other parts: pin 1's hole (a chip's or pin block's top-left pin).",
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"rotation": {
"description": "Other parts: 0 (default), 90, 180 or 270, clockwise.",
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 90
},
{
"type": "number",
"const": 180
},
{
"type": "number",
"const": 270
}
]
},
"rows": {
"description": "Pin blocks (header-pins): rows of pins.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"cols": {
"description": "Pin blocks (header-pins): pins per row.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"value": {
"description": "E.g. \"10k\", \"100n\".",
"type": "string"
},
"color": {
"description": "Two-lead parts, e.g. an LED's \"#ef4444\".",
"type": "string"
}
},
"required": [
"op",
"part"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "update_part"
},
"ref": {
"type": "string"
},
"by": {
"description": "Move it by [columns, rows].",
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"from": {
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "A hole, [column, row]."
},
"to": {
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "A hole, [column, row]."
},
"at": {
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "A hole, [column, row]."
},
"rotation": {
"description": "Turns about `at`; a chip's widthPin and heightPin are swapped to match.",
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 90
},
{
"type": "number",
"const": 180
},
{
"type": "number",
"const": 270
}
]
},
"rows": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"cols": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"value": {
"description": "\"\" removes it.",
"type": "string"
},
"color": {
"description": "\"\" removes it.",
"type": "string"
},
"newRef": {
"type": "string"
}
},
"required": [
"op",
"ref"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "remove_parts"
},
"refs": {
"minItems": 1,
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"op",
"refs"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "add_wire"
},
"from": {
"anyOf": [
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
{
"type": "string"
}
],
"description": "A hole [column, row], or a pin by name: \"U1.7\", \"U1.DISCH\", \"D1.K\", \"R2.1\" (the hole that pin is in)."
},
"to": {
"anyOf": [
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
{
"type": "string"
}
],
"description": "A hole [column, row], or a pin by name: \"U1.7\", \"U1.DISCH\", \"D1.K\", \"R2.1\" (the hole that pin is in)."
},
"via": {
"description": "With from/to: the holes the wire bends at on its way, in order, to route it around things as one wire. A bend joins nothing, like a hole the wire passes over, so it's soldered only at its two ends.",
"type": "array",
"items": {
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "A hole, [column, row]."
}
},
"path": {
"description": "Instead of from/to: holes (or pins) to run through in order, made into one wire per leg. Each corner is a wire end, so it joins whatever is in that hole. For corners that only bend, use from/to with via.",
"minItems": 2,
"type": "array",
"items": {
"anyOf": [
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
{
"type": "string"
}
],
"description": "A hole [column, row], or a pin by name: \"U1.7\", \"U1.DISCH\", \"D1.K\", \"R2.1\" (the hole that pin is in)."
}
},
"color": {
"type": "string"
},
"width": {
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"op"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "update_wire"
},
"wire": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "A hole, [column, row]."
}
}
],
"description": "A wire by its index in wires, or by its two end holes [[c, r], [c, r]] (either way round)."
},
"from": {
"anyOf": [
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
{
"type": "string"
}
],
"description": "A hole [column, row], or a pin by name: \"U1.7\", \"U1.DISCH\", \"D1.K\", \"R2.1\" (the hole that pin is in)."
},
"to": {
"anyOf": [
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
{
"type": "string"
}
],
"description": "A hole [column, row], or a pin by name: \"U1.7\", \"U1.DISCH\", \"D1.K\", \"R2.1\" (the hole that pin is in)."
},
"via": {
"description": "Its bends, replacing the ones it has; [] makes it straight. Left out, its bends stay.",
"type": "array",
"items": {
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "A hole, [column, row]."
}
},
"color": {
"type": "string"
},
"width": {
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"op",
"wire"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "remove_wires"
},
"wires": {
"minItems": 1,
"type": "array",
"items": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "A hole, [column, row]."
}
}
],
"description": "A wire by its index in wires, or by its two end holes [[c, r], [c, r]] (either way round)."
},
"description": "Indexes are as they stand before this op, so list several in one op."
}
},
"required": [
"op",
"wires"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "set_board"
},
"cols": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"rows": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"type": {
"type": "string",
"enum": [
"perfboard",
"stripboard"
]
},
"strips": {
"description": "A stripboard's strips.",
"type": "string",
"enum": [
"horizontal",
"vertical"
]
}
},
"required": [
"op"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "add_cuts"
},
"at": {
"minItems": 1,
"type": "array",
"items": {
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "A hole, [column, row]."
},
"description": "Stripboard holes to cut the strip at."
}
},
"required": [
"op",
"at"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "remove_cuts"
},
"at": {
"minItems": 1,
"type": "array",
"items": {
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "A hole, [column, row]."
}
}
},
"required": [
"op",
"at"
]
},
{
"type": "object",
"properties": {
"op": {
"type": "string",
"const": "set_pad"
},
"at": {
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "A hole, [column, row]."
},
"note": {
"description": "A label on the hole, such as \"+9V\", \"GND\" or \"to battery\". Left out (or \"\") removes it.",
"type": "string"
}
},
"required": [
"op",
"at"
]
}
]
}
},
"expectNets": {
"description": "The nets the board should make: each a list of pins written REF.pin, e.g. [[\"U1.8\", \"U1.4\", \"R1.1\", \"J1.1\"], [\"U1.2\", \"U1.6\", \"C1.+\"]]. A pin can also be named by its label (\"U1.VCC\", \"D1.K\") or as get_nets writes it (\"U1.8 VCC\"). List every net of two or more pins: a pin in none of them should connect to nothing. With a projectId it's remembered for that project, so later checks use it too; [] forgets it.",
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"required": [
"ops"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_project(projectId)
The whole project file of a project kept here, as the editor would save it (version 3, or 4 once a wire bends), one entry per line.
입력 스키마
{
"type": "object",
"properties": {
"projectId": {
"type": "string"
}
},
"required": [
"projectId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪validate_project(project, projectId, expectNets)
Checks a project file and lists every problem with where it is: entries the editor would leave out, unknown parts, pins off the board, two parts' pins or leads in one hole, overlapping parts, wires that connect nothing (a loose end, or no pins on their net), duplicate wires, a two-lead part with both leads on one net (shorted out), a wire passing over a pin or lead without ending there (so not joined to it), IC pins and two-lead parts' leads connected to nothing, supply rails shorted together, and on a stripboard, pins shorted by a strip or sitting in a cut hole. With expectNets, every connection missing from the board or extra on it is an error. Wires crossing each other are fine (insulated jumpers) and only listed in notes. Fix all errors before making a link. A project sent whole is kept here: the reply's projectId stands for it in every other tool.
입력 스키마
{
"type": "object",
"properties": {
"project": {
"description": "The whole project file: a version 3 or 4 project object, or its JSON text (see the perfboard://docs/project-file resource). Give this or projectId.",
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "string"
}
]
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
},
"expectNets": {
"description": "The nets the board should make: each a list of pins written REF.pin, e.g. [[\"U1.8\", \"U1.4\", \"R1.1\", \"J1.1\"], [\"U1.2\", \"U1.6\", \"C1.+\"]]. A pin can also be named by its label (\"U1.VCC\", \"D1.K\") or as get_nets writes it (\"U1.8 VCC\"). List every net of two or more pins: a pin in none of them should connect to nothing. With a projectId it's remembered for that project, so later checks use it too; [] forgets it.",
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_nets(project, projectId)
Which pins the board connects: every net with its name (from its pins, e.g. GND), its pins ("U1.8 VCC" for a chip's pin, "D1.K" or "C1.+" for a polarized lead, "R1.1" otherwise) and the wires on it (indexes into wires). Also pins connected to nothing, wires that connect no pins, junctions (holes where three or more things are joined) and crossings (where a wire goes over another wire or over a hole without joining it). Wires are insulated jumpers: a wire joins only the holes at its two ends, so crossings are information, not connections or shorts. On a stripboard the strips connect too.
입력 스키마
{
"type": "object",
"properties": {
"project": {
"description": "The whole project file: a version 3 or 4 project object, or its JSON text (see the perfboard://docs/project-file resource). Give this or projectId.",
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "string"
}
]
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_pin_positions(project, projectId, refs)
Where every placed part's pins land, as [column, row] holes, with pin numbers and labels (e.g. U1 pin 8 VCC), after rotation, plus holes a part's body covers. Use it to route wires to the right holes. The project file doesn't store these: they follow from each part's anchor, rotation and footprint.
입력 스키마
{
"type": "object",
"properties": {
"project": {
"description": "The whole project file: a version 3 or 4 project object, or its JSON text (see the perfboard://docs/project-file resource). Give this or projectId.",
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "string"
}
]
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
},
"refs": {
"description": "Only these parts, e.g. [\"U1\", \"R2\"]. All parts when omitted.",
"type": "array",
"items": {
"type": "string"
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢render_board(project, projectId, area, format)
Draws the board as text, one cell per hole with column and row numbers: each part's pins by a key letter and pin number (a1, a2...), holes under a part's body, wire ends, the holes a wire runs over without joining them, strip cuts and holes with notes. Below it, which part each key is and every wire with its ends and net. Use it to see where there's free space and how wires run before placing parts or routing more. With format "png", a picture of the board as the editor draws it instead, to see how it looks: parts' bodies and where they reach, labels, wire colours. To show the user the board, use show_board.
입력 스키마
{
"type": "object",
"properties": {
"project": {
"description": "The whole project file: a version 3 or 4 project object, or its JSON text (see the perfboard://docs/project-file resource). Give this or projectId.",
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "string"
}
]
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
},
"area": {
"description": "Only this part of the board: two opposite corner holes. The whole board when left out.",
"type": "object",
"properties": {
"from": {
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "A hole, [column, row]."
},
"to": {
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "A hole, [column, row]."
}
},
"required": [
"from",
"to"
]
},
"format": {
"description": "\"text\" (default): the board as text. \"png\": a picture of it, 50 px per hole, scaled down to fit 1000 px.",
"type": "string",
"enum": [
"text",
"png"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢make_share_link(project, projectId, name, expectNets, allowErrors, ...)
Turns a project into a link that opens it in Perfboard Designer: the project travels inside the link, so it works without any server. Give the link to the user. Also returns `image`, the address of an SVG picture of the board (as the editor draws it), for showing it where images from links display, e.g. in Markdown (not in Claude or ChatGPT, which don't load them: show_board shows the board there). With store, the project is also stored on the Perfboard Designer server under a short id, and `stored` gives a short link to it, its file and its pictures (SVG and PNG): give the user both links. The project is validated first (against expectNets too, given or remembered for its projectId); a project with errors gets the list of problems instead of a link, unless allowErrors is set.
입력 스키마
{
"type": "object",
"properties": {
"project": {
"description": "The whole project file: a version 3 or 4 project object, or its JSON text (see the perfboard://docs/project-file resource). Give this or projectId.",
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "string"
}
]
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
},
"name": {
"description": "The project's name in the editor, e.g. \"555 LED blinker\". Defaults to the name it was given in new_project or came with from read_share_link.",
"type": "string"
},
"expectNets": {
"description": "The nets the board should make: each a list of pins written REF.pin, e.g. [[\"U1.8\", \"U1.4\", \"R1.1\", \"J1.1\"], [\"U1.2\", \"U1.6\", \"C1.+\"]]. A pin can also be named by its label (\"U1.VCC\", \"D1.K\") or as get_nets writes it (\"U1.8 VCC\"). List every net of two or more pins: a pin in none of them should connect to nothing. With a projectId it's remembered for that project, so later checks use it too; [] forgets it.",
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
},
"allowErrors": {
"description": "Make the link even if validation finds errors.",
"type": "boolean"
},
"editorUrl": {
"description": "The editor's address. Defaults to https://perfboarddesigner.com/app/ (set PERFBOARD_EDITOR_URL in the server's environment to change it); use e.g. http://localhost:3000/app/ for a local copy.",
"type": "string"
},
"store": {
"description": "Also store the project at https://projects.perfboarddesigner.com, for a short link. A stored project never changes (store again for a new id) and is deleted after a year unopened.",
"type": "boolean"
},
"storeAs": {
"description": "The id you'd like it stored under, e.g. \"led-blinker\" (made lowercase letters, digits and dashes); if another board has it, a few characters of this board's hash are added. Implies store. Defaults to the project's name.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡read_share_link(link)
Reads the project out of a Perfboard Designer share link (any of its forms: z=, json= or src=, which is downloaded; a stored project's short link too), so you can look at or change a board the user shared. Returns the project as a project file (version 3, or 4 when a wire bends), kept here under the projectId it returns: change it with edit_project.
입력 스키마
{
"type": "object",
"properties": {
"link": {
"type": "string",
"description": "The whole link, or just the part after #."
}
},
"required": [
"link"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢show_board(project, projectId, name)
Shows the user a picture of the board right in the conversation, as the editor draws it, with a button that opens it in Perfboard Designer. Only in clients that show MCP Apps (e.g. Claude, ChatGPT); elsewhere the user sees nothing, so give them make_share_link's link too. The picture goes to the user, not to you: to look at the board yourself, use render_board.
입력 스키마
{
"type": "object",
"properties": {
"project": {
"description": "The whole project file: a version 3 or 4 project object, or its JSON text (see the perfboard://docs/project-file resource). Give this or projectId.",
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "string"
}
]
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
},
"name": {
"description": "The project's name, shown under the picture and in the editor. Defaults to the name it was given in new_project or came with from read_share_link.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}커뮤니티
증거