0Pricing
MCP Academy · Ders

Akışlanabilir HTTP Aktarımı

MCP'nin tek bir HTTP uç noktası üzerinden nasıl çalıştığını öğrenin.

Akışlanabilir HTTP Aktarımı, CoddyKit'te ücretsiz bir MCP Academy dersidir. Bu, 4 dersinin 2. 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.

Meet Streamable HTTP

MCP's modern remote transport is called Streamable HTTP. It lets your server live behind one web URL that any client on the internet can reach.

One Endpoint to Rule Them All

Unlike older designs, Streamable HTTP uses a single endpoint, often something like /mcp. Both requests and replies flow through that one path.

POST https://api.example.com/mcp

Clients POST Their Messages

To call a tool, the client sends a normal HTTP POST to the endpoint. The body is the same JSON-RPC message you already learned about. 📨

Two Ways to Answer

The server can reply in two shapes: a plain JSON response for quick calls, or an event stream when it wants to send results bit by bit.

The Accept Header Decides

The client's Accept header signals what it can handle. Listing both JSON and the event-stream type lets the server choose the best reply format.

Accept: application/json, text/event-stream

It Is Still JSON-RPC

The transport changed, but the language did not. Every message over HTTP is the same JSON-RPC request, response, or notification you met earlier.

Turning On HTTP in the SDK

With the Python SDK you flip one switch: run your server with the streamable-http transport instead of stdio. The tools stay exactly the same.

mcp.run(transport="streamable-http")

It Speaks Plain HTTP

Because it is ordinary HTTP, it plays nicely with the whole web stack: load balancers, proxies, and TLS all work without anything special. 🌐

Stateful or Stateless

Streamable HTTP can run stateful, remembering a session, or stateless, treating each call fresh. You choose based on how your server holds context.

It Replaced an Older Transport

An earlier HTTP+SSE design used two separate paths and was clunkier. Streamable HTTP replaced it as the recommended way to serve MCP remotely.

Why It Matters

This single-endpoint design is what makes a remote MCP server practical to deploy and easy for any client to connect to from anywhere.

Quick Check

How does a client send a tool call over Streamable HTTP?

Recap: Streamable HTTP

Streamable HTTP serves MCP over one HTTP endpoint: clients POST JSON-RPC, and the server answers with JSON or a live event stream. Same logic, remote reach. 🚀

Sıkça Sorulan Sorular

“Akışlanabilir HTTP Aktarımı” dersi ücretsiz mi?

Evet — “Akışlanabilir HTTP Aktarımı” 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.

“Akışlanabilir HTTP Aktarımı” dersinde ne öğreneceğim?

MCP'nin tek bir HTTP uç noktası üzerinden nasıl çalış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 2. dersidir.

“Akışlanabilir HTTP Aktarımı” 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

  1. stdio Neden Yeterli Değil
  2. Akışlanabilir HTTP Aktarımı
  3. SSE ile Akışlanan Yanıtlar
  4. Oturumlar ve Yeniden Bağlanma
← MCP Academy Sayfasına Dön