Sunucu: Araçların Yaşadığı Yer
Yeteneklerinizi tanıtan ve çalıştıran süreç.
Sunucu: Araçların Yaşadığı Yer, 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.
What Is a Server?
An MCP server is a standalone program that offers capabilities to AI. It is where your tools, data, and prompts actually live and run.
The Server Has No Model
A server never contains a language model. It just advertises what it can do and waits for a client to ask it to act.
Tools Live Here
The headline capability is tools: functions the model can invoke, like searching a database or sending an email. The server defines and executes them.
Resources Live Here Too
Beyond tools, a server can expose resources: read-only data such as files or records the model can pull in as context.
And Prompts
A server may also publish prompts: reusable, templated instructions a user can trigger. Tools, resources, and prompts are its three offerings.
A Tiny Server in Python
With the Python SDK you create a named server in one line. This FastMCP object will hold every tool you add.
from mcp.server.fastmcp import FastMCP
mcp = FastMCP("weather")Adding a Tool
You turn a plain function into a tool with a decorator. The tool decorator tells MCP this function is callable by the model.
@mcp.tool()
def get_temp(city: str) -> str:
return "21C"Servers Advertise, Then Wait
A running server lists its capabilities on request, then sits idle. It only does work when a client sends it a call.
Servers Can Run Anywhere
A server might run as a local process on your machine or live remotely on the web. Either way, the protocol it speaks stays the same.
One Server, One Focus
Good servers stay focused. A weather server handles weather; a file server handles files. Small, clear servers are easy to trust and combine.
The Server Completes the Trio
Host, client, and server are the three MCP roles. The server is the worker that holds the real capabilities behind the scenes.
Quick Check
Pick what an MCP server is responsible for.
Recap
You learned the server: a focused, model-free program that advertises and runs tools, resources, and prompts for clients to use. Well done!
Sıkça Sorulan Sorular
“Sunucu: Araçların Yaşadığı Yer” dersi ücretsiz mi?
Evet — “Sunucu: Araçların Yaşadığı Yer” 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.
“Sunucu: Araçların Yaşadığı Yer” dersinde ne öğreneceğim?
Yeteneklerinizi tanıtan ve çalıştıran süreç. 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.
“Sunucu: Araçların Yaşadığı Yer” 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
- Ana Makine: Claude Desktop ve IDE'ler
- İstemci: Sunucu Başına Bir Bağlantı
- Sunucu: Araçların Yaşadığı Yer
- Bir İsteği Baştan Sona İzleme