NOTLAR — 02 / MCP
Ajanlar tezgâhta: SaraçCAD ve MCP
Bir ölçüyü değiştirmek kalıbın yarısını yeniden çizmek demekse, tezgâhta en pahalı şey tekrardır. SaraçCAD'in MCP sunucusu aynı parametrik araçları yapay zekâ ajanlarına açıyor: ajanlar kalıbı sıfırdan kurabiliyor, mevcut bir kalıbı klonlayıp özelleştirebiliyor — ama son söz yine sizde.
NOTES — 02 / MCP
Agents at the bench: SaraçCAD and MCP
If changing one measurement means redrawing half the pattern, repetition is the most expensive thing at the bench. SaraçCAD's MCP server opens the same parametric tools to AI agents: they can build a pattern from scratch or clone and customize an existing one — with the final word still yours.
Deri işinde asıl iş çizmek değil, değiştirmektir. Bir cüzdanın kart gözünü genişletmek, dikiş sayısını yeniden hesaplamak, aynı gövdenin üç ayrı varyantını çıkarmak... Her seferinde aynı çizgileri tekrar çizmek, ölçüleri tekrar girmek zorunda kalırsınız. Tekrar, zanaatın en sessiz maliyetidir.
SaraçCAD'i baştan parametrik yazdım: çizgi, katman ve ölçü aynı modelde durur; dikiş ve çıktı bu modelden türetilir. MCP sunucusu bu modeli bir adım daha ileri taşıyor. Ajan, tuvali sizin yerinize kullanan bir el değil; aynı parametrik araçları çağırabilen bir muhatap.
01 / KÖPRÜ
MCP tam olarak ne yapıyor?
MCP (Model Context Protocol), yapay zekâ istemcilerinin bir uygulamanın araçlarına standart bir dille bağlanmasını sağlayan bir köprü. SaraçCAD tarafında bu köprü bir sunucu olarak duruyor: Claude Desktop, Claude Code, Cursor ve OpenCode, Pro Max aboneliğiyle aynı araçlara bağlanıyor.
Kurulum uygulamanın içinde başlıyor. Hesap menüsü → MCP / API penceresinden bir
anahtar oluşturuyorsunuz; anahtar scad_live_ ile
başlıyor ve ham hâli yalnızca bir kez gösteriliyor. Sunucuda yalnızca SHA-256
hash'i ve ilk on dört karakterlik öneki saklanıyor. Aynı anda en fazla beş aktif
anahtar tutabiliyorsunuz; dakikada en fazla altmış istek kabul ediliyor. Tamamı
MCP Entegrasyonu
sayfasında.
Protokolün anlamı bu: aynı sunucu, farklı istemciler. Aynı araç kümesi, aynı güvenlik kuralları; kalıp sizin hesabınızda kalır.
02 / ARAÇLAR
Ajanın elindeki araçlar
Ajanın elinde ayrı bir sihir yok; tuvalde kullandığınız araçların programatik
karşılıkları var. Önce okuma:
list_projects,
get_project,
get_project_summary. Sonra üretim:
create_wallet_pattern,
create_bag_pattern,
build_custom_pattern. Ardından özelleştirme:
clone_and_modify_project ve
update_project. Kontrol tarafında
validate_project ile
render_preview, ayarlar için
set_project_settings duruyor.
Kalıba başlamadan önce
get_leathercraft_standards çağrılıyor: deri
kalınlığı matrisi ve atölyenin altı kuralı okunuyor. Yani ajan, ölçüyü
uydurmadan önce derinin dilini dinliyor.
Bir projeyi açtığında ise önce özeti okur: kaç parça var, hangi katmanlar kullanılmış, dikiş ayarları ne. Böylece sizin kalıbınızı bir yabancı gibi değil, dosyayı bilen biri gibi ele alır.
Ajan hızlı bir çırak gibidir: ölçüyü siz verirsiniz, kalemi o çevirir.
03 / SIFIRDAN
Sıfırdan kalıp: ölçüyle konuşmak
En görünür fayda, yeni bir kalıbı sıfırdan kurmakta. Ajan
create_wallet_pattern veya
create_bag_pattern ile ilk parametrik taslağı
çıkarıyor; build_custom_pattern ise daha serbest
bir tarif için duruyor. Siz ölçüleri ve kısıtları veriyorsunuz: kaç kart gözü, ne
kadar dikiş payı, hangi deri kalınlığı, hangi delik ucu.
Diyelim ki ince bir deriden kartlık istiyorsunuz. Ajan kalınlık matrisini okur, katmanları ve dikiş payını buna göre kurar; siz yalnızca kaç göz istediğinizi ve hangi delik ucunu seçtiğinizi söylersiniz. Ölçü sizden, geometri ondan.
Burada mesele ajanın sizin yerinize karar vermesi değil. İlk taslağı hemen görmek, asıl kararı daha erken vermenizi sağlıyor. Kalıbın katmanları, dikiş delikleri ve 1:1 çıktısı aynı modelden doğduğu için denemek ucuz; yanlış ölçü, kesilmiş deri değil, ekranda kalan bir taslak oluyor.
Denediğiniz varyantı beğenmezseniz ölçüyü değiştirirsiniz; dikiş dizisi kendini yeniden hesaplar. Artık kalıbı değil, fikri tartışırsınız.
04 / MEVCUT KALIP
Mevcut kalıbı özelleştirmek: asıl güç burada
Bence MCP'nin en güçlü olduğu yer, sıfırdan çizmek değil, zaten var olan bir
kalıbı özelleştirmek. Ajan bir projeyi doğrudan değiştiremiyor; önce
clone_and_modify_project ile kopyasını alıyor,
sonra update_project ile kopya üzerinde
çalışıyor. Bu bir kısıt gibi görünebilir; oysa en sağlıklı akış: orijinal
kalıbınız yerinde kalıyor, varyant ayrı bir proje olarak doğuyor.
Diyelim ki üç kart gözlü bir kartlığı dört gözlüye çevirmek istiyorsunuz. Ajan
kopyayı alır, göz aralığını ve dikiş hattını yeni ölçüye göre günceller,
validate_project ile kontrol eder ve
render_preview ile önizleme çıkarır. Siz
bakarsınız; beğenmezseniz ölçüyü söylersiniz, o yeniden hesaplar.
Aynı gövde, farklı kart sayısı. Aynı çanta, farklı körük. Aynı kemer, farklı uç. Kalıp ailesi böyle büyür: her varyant için tezgâhın başına dönmek yerine, elinizdeki kalıbın bir kopyasını konuşturursunuz.
Bu akış, aynı kalıbın farklı müşteriler için farklı ölçülerde üretildiği atölyelerde özellikle işe yarıyor: her sipariş için sıfırdan çizmek yerine, onaylı bir kalıbın kopyasından başlıyorsunuz. Orijinal yine yerinde; yeni ölçü yeni bir proje. Böylece her deneme arşivde temiz bir iz bırakır; geri dönmek istediğinizde orijinal hep oradadır.
05 / DÖNGÜ
Önizleme, onay, imza
Ajanın ürettiği şey bir öneri. render_preview ile
gelen görüntü, 3D montajdaki prova gibi: kesimden önce bakılacak yer. Dikiş
deliklerinin hizası, kenar payı, katman sırası — hepsi gözden geçer. Beğendiğiniz
taslağı projeye yazarsınız; beğenmediğinizi bir tur daha konuşursunuz.
Son söz elde kalıyor. Ajan kalemi tutuyor, imzayı atmıyor. Bir kalıbın 1:1 çıktısını, lazer dosyasını veya montaj kılavuzunu yine siz kontrol ediyorsunuz; MCP bu kontrolü ortadan kaldırmıyor, yalnızca deneme sayısını artırıyor.
validate_project yapısal bir kontrol;
render_preview ise gözle kontrol. İkisi
birbirinin yerini tutmuyor: biri dosyanın tutarlılığına, diğeri ürünün nasıl
göründüğüne bakar.
06 / SINIRLAR
Ne değil?
MCP bir sihir değil. Pro Max aboneliği istiyor; ücretsiz ve standart Pro hesapları MCP isteklerinde 403 alıyor. Ajan yalnızca sizin hesabınızdaki projelerle çalışıyor, başkasının projesine dokunamıyor. Ve en önemlisi: ölçüyü, oranı, derinin nasıl davrandığını hâlâ siz biliyorsunuz.
Bu yüzden aracı bir vekil gibi değil, hızlı bir çırak gibi düşünmek daha doğru. Çırak kalemi iyi çevirir; hangi derinin büküleceğini, hangi dikişin ürünün imzası olacağını usta bilir.
Bir kalıbı üretime göndermeden önce son bakışı yine siz yapıyorsunuz; MCP'nin işi, o son bakışa daha çok malzeme bırakmak.
SaraçCAD'i kendi tezgâhımdaki tekrarı azaltmak için yazdım. MCP, o tezgâhı bir de ajana açıyor: kalıbı sıfırdan kurabilen, mevcut kalıbı klonlayıp özelleştirebilen, ama her adımda onay isteyen bir muhatap. Zanaatla teknolojinin aynı odada olduğunu zaten biliyordum; bu sefer aradaki cetveli bir ajana verdim — kalemi değil.
Kendi kalıbınızı sıfırdan tasarlamak da, elinizdeki bir kalıbı yeni bir ölçüye uyarlamak da aynı modelde kalıyor. Ajan yalnızca iki ucun arasındaki tekrarı üstleniyor; kararı, ölçüyü ve imzayı yine siz taşıyorsunuz.
Kurulum ve güvenlik kuralları MCP Entegrasyonu sayfasında; genel akış için SaraçCAD Nedir? ve ilk yazı iyi bir başlangıç. Diğer notlar /blog/ altında toplanacak.
In leatherwork the real work is not drawing but changing. Widen a wallet's card slot, recompute the stitch count, produce three variants of the same body — and you redraw the same lines and re-enter the same measurements every time. Repetition is the quietest cost in craft.
That is why I wrote SaraçCAD parametric from the start: line, layer and measurement live in one model; stitches and exports are derived from it. The MCP server takes that model one step further. The agent is not a hand that uses the canvas for you; it is a counterpart that can call the same parametric tools.
01 / BRIDGE
What MCP actually does
MCP (Model Context Protocol) is a bridge that lets AI clients connect to an application's tools in a standard language. On the SaraçCAD side that bridge is a server: Claude Desktop, Claude Code, Cursor and OpenCode connect to the same tools with a Pro Max subscription.
Setup starts inside the application. In the Account menu → MCP / API you create a
key; it begins with scad_live_ and the raw key is
shown only once. The server stores only its SHA-256 hash and the first fourteen
characters as a prefix. You can hold at most five active keys, and the server
accepts up to sixty requests a minute. The full setup is on the
MCP Integration
page.
That is what the protocol means: one server, different clients. The same tool set and the same security rules; the pattern stays in your account.
02 / TOOLS
The tools in the agent's hands
There is no separate magic in the agent's hands; it gets programmatic
counterparts of the tools you use on the canvas. Reading first:
list_projects,
get_project,
get_project_summary. Then creation:
create_wallet_pattern,
create_bag_pattern,
build_custom_pattern. Then customization:
clone_and_modify_project and
update_project. For review there is
validate_project and
render_preview; for settings,
set_project_settings.
Before it starts a pattern,
get_leathercraft_standards is called: the
leather-thickness matrix and the workshop's six rules are read first. The agent
listens to the language of leather before it touches a measurement.
When it opens a project, it reads the summary first: how many parts, which layers are in use, what the stitch settings are. It treats your pattern not as a stranger's file but as one it has read.
An agent is a fast apprentice: you give the measurement, it turns the pencil.
03 / FROM SCRATCH
From scratch: speaking in measurements
The most visible benefit is building a new pattern from nothing. The agent
produces a first parametric draft with
create_wallet_pattern or
create_bag_pattern;
build_custom_pattern is there for a freer brief.
You give the measurements and constraints: how many card slots, how much stitch
margin, which leather thickness, which hole tip.
Suppose you want a card holder in a thin leather. The agent reads the thickness matrix and builds the layers and stitch margin around it; you only say how many slots you want and which hole tip you prefer. The measurement is yours, the geometry is its.
The point is not that the agent decides for you. Seeing the first draft immediately lets you make the real decision earlier. Because the pattern's layers, stitch holes and 1:1 output are born from the same model, trying is cheap; a wrong measurement stays a draft on screen, not cut leather.
If you don't like the variant, you change the measurement and the stitch row recomputes itself. You argue about the idea, not the pattern.
04 / EXISTING PATTERN
Customizing an existing pattern: the real strength
To me the strongest use of MCP is not drawing from scratch but customizing a
pattern that already exists. The agent cannot modify a project directly; it first
takes a copy with
clone_and_modify_project, then works on that copy
with update_project. That may sound like a
restriction, but it is the healthiest flow: your original stays where it is, and
the variant is born as a separate project.
Suppose you want to turn a three-slot card holder into a four-slot one. The agent
clones it, updates the slot spacing and stitch line to the new measurement,
checks the result with validate_project and
renders a preview with render_preview. You look;
if you don't like it, you give a new measurement and it recomputes.
Same body, different slot count. Same bag, different gusset. Same belt, different tip. A pattern family grows this way: instead of returning to the bench for every variant, you let a copy of the pattern in your hand do the talking.
This flow is especially useful in a workshop that produces the same pattern at different measurements for different customers: instead of drawing from scratch for every order, you start from a copy of an approved pattern. The original stays put; the new measurement becomes a new project. Every attempt leaves a clean trace in the archive, and the original is always there to return to.
05 / THE LOOP
Preview, approval, signature
What the agent produces is a proposal. The image from
render_preview is like a rehearsal in 3D
assembly: the place to look before cutting. Stitch alignment, seam allowance,
layer order — all pass review. You write the draft you like into the project; the
one you don't gets another round.
The final word stays in your hand. The agent holds the pencil, not the signature. You still check a pattern's 1:1 output, laser file or assembly guide; MCP does not remove that check, it only raises the number of attempts.
validate_project is a structural check;
render_preview is a check by eye. One does not
replace the other: one looks at the file's consistency, the other at how the
product looks.
06 / LIMITS
What it is not
MCP is not magic. It requires a Pro Max subscription; free and standard Pro accounts get a 403 on MCP requests. The agent works only with the projects in your own account and cannot touch anyone else's. And most importantly: you still know the measurement, the proportion, and how leather behaves.
So it is better to think of the tool as a fast apprentice rather than a stand-in. An apprentice turns the pencil well; the master knows which leather will fold and which stitch will become the product's signature.
You still take the last look before a pattern goes to production; MCP's job is to leave more material for that look.
I wrote SaraçCAD to reduce repetition at my own bench. MCP opens that bench to an agent as well: a counterpart that can build a pattern from scratch, clone and customize an existing one, and ask for approval at every step. I already knew craft and technology belong in the same room; this time I handed the ruler between them to an agent — not the pencil.
Designing your own pattern from scratch and adapting an existing one to a new measurement both stay in the same model. The agent only takes on the repetition between the two ends; the decision, the measurement and the signature remain yours.
Setup and security rules are on the MCP Integration page; the general flow is in What Is SaraçCAD? and the first note. Other notes gather under the blog.