Başlatma El Sıkışması
İstemciyle sunucunun sürüm ve özellikler konusunda nasıl anlaştığını öğrenin.
Başlatma El Sıkışması, CoddyKit'te ücretsiz bir MCP Academy dersidir. Bu, 4 dersinin 3. dersidir. Aşağıdan dersin tamamını ücretsiz okuyabilir, sonra tarayıcıda yerleşik kod editörü ve 7/24 yapay zeka koçu ile uygulamalı olarak pratik yapabilirsin. Bu, MCP Academy öğrenme yolunun bir parçasıdır ve ilerlemeniz web ve CoddyKit uygulaması arasında senkronize olur. MCP Academy kursu toplamda 4 dersten oluşur.
Bu dersin bazı bölümleri henüz çevrilmemiş olup İngilizce olarak gösterilmektedir.
First Words Matter
Before any tool runs, client and server must meet. That opening exchange is the initialize handshake, and nothing else happens until it finishes.
The Client Speaks First
The handshake always starts with the client sending an initialize request. The server stays quiet and waits to be greeted before it replies.
{"jsonrpc": "2.0", "id": 0, "method": "initialize"}Agreeing on a Version
The client offers a protocolVersion so both sides speak the same MCP edition. The server confirms a version it can support in its reply.
{"params": {"protocolVersion": "2025-06-18"}}Declaring Capabilities
Each side lists its capabilities, such as tools, resources, or sampling. This tells the other party which features it may safely use.
{"capabilities": {"tools": {}, "resources": {}}}Introducing Yourself
The client also sends clientInfo with its name and version. It is a friendly nameplate so the server knows exactly who connected.
{"clientInfo": {"name": "claude-desktop", "version": "1.0"}}The Server Responds
The server replies with its own chosen version, its capabilities, and serverInfo. Now both sides know what the other can do.
{"result": {"protocolVersion": "2025-06-18",
"serverInfo": {"name": "my-server", "version": "0.1"}}}Sealing the Deal
After the reply, the client sends a final notifications/initialized message. It has no id and no answer, simply signaling that setup is complete.
{"jsonrpc": "2.0", "method": "notifications/initialized"}Only Then, Real Work
Until that initialized notification arrives, the server should refuse other calls. The handshake gates everything that follows it.
Why Negotiate at All
Versions and features evolve, so the handshake lets a new client and an old server negotiate common ground instead of crashing on mismatch.
Capabilities Shape the Session
If the server never advertised resources, a polite client will not ask for them. Declared capabilities quietly define the rules of the whole session.
The Handshake in Three Beats
Remember the rhythm: client sends initialize, server responds, client confirms with initialized. Three beats and the connection is live.
Quick Check
What does the client send to finish the initialize handshake?
Recap: Saying Hello
You traced the handshake end to end: the client offers a version and capabilities, the server confirms, and a final initialized note opens the session for real work.
Sıkça Sorulan Sorular
“Başlatma El Sıkışması” dersi ücretsiz mi?
Evet — “Başlatma El Sıkışması” dersin tüm metni burada web'de ücretsiz olarak okunabilir. Etkileşimli olarak pratik yapmak (yerleşik kod editörü ve 7/24 yapay zeka koçu) ve MCP Academy kursunun geri kalanını açmak için CoddyKit PRO'ya yükselt. MCP Academy kursu toplamda 4 dersten oluşur.
“Başlatma El Sıkışması” dersinde ne öğreneceğim?
İstemciyle sunucunun sürüm ve özellikler konusunda nasıl anlaştığını öğrenin. MCP Academy ile uygulamalı kodu tarayıcıda doğrudan çalıştırarak pratik yaparsın ve 7/24 yapay zeka koçu dersi çalışırken sorularını yanıtlar.
MCP Academy öğrenmeye başlamak için deneyim gerekli mi?
Önceden deneyim gerekmez. CoddyKit'te MCP Academy, başlangıçtan ileri seviyeye kadar yapılandırıldığı için buradan başlayabilir veya başından başlayıp kendi hızında ilerleme yapabilirsin. Bu, 4 dersinin 3. dersidir.
“Başlatma El Sıkışması” dersi ne kadar sürer?
Çoğu CoddyKit dersi yaklaşık 5–10 dakika sürer. Her biri kısa ve etkileşimli olduğu için sabit ilerleme yaparsın ve web ile uygulama arasında tam olarak bıraktığın yerden devam edebilirsin.
Bu MCP Academy dersinde kod yazıp çalıştırabilir miyim?
Evet. Her MCP Academy dersi yerleşik bir kod editörü içerir, bu sayede tarayıcıda gerçek kod yazıp çalıştırabilir ve anlık yapay zeka geri bildirimi alırsın — yerel kurulum gerekli değildir.
Bu kursun tüm dersleri
- İstekler, Yanıtlar ve Bildirimler
- Bir JSON-RPC Çağrısının Anatomisi
- Başlatma El Sıkışması
- Hataları İletim Sırasında Okuma