About 🔁 MCP Reverse String Server
A small C# and .NET MCP server that reverses input strings. It serves as a basic example of implementing MCP with .NET.
Key features
- 01Reverses input strings
- 02Implements an MCP server
- 03Built with C# and .NET
Use cases
- 01Reverse text through an MCP client
- 02Explore a basic C# MCP implementation
MCP support
Exposes a string-reversal operation to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project README🔁 MCP Reverse String Server
Bu proje, C# ve .NET kullanılarak geliştirilen basit bir Model Context Protocol (MCP) sunucusudur. Sunucu, kullanıcıdan alınan string ifadeleri tersine çevirerek geri döndürür. Bu, MCP'nin temel işlevselliğini ve C# ile nasıl entegre edilebileceğini gösteren giriş seviyesi bir örnektir.
🚀 Özellikler
- MCP protokolü ile uyumlu basit bir sunucu
- Kullanıcıdan alınan string ifadeleri tersine çevirme işlevi
- Kolay kurulum ve çalıştırma
🛠️ Kurulum
-
Depoyu Klonlayın:
git clone https://github.com/kadirdundar/MCP.git cd mcp-reverse-string-server -
Gerekli NuGet Paketlerini Yükleyin: Proje dizininde aşağıdaki komutu çalıştırın:
dotnet restore -
Projeyi Derleyin ve Çalıştırın:
dotnet runSunucu, MCP istemcilerinden gelen istekleri dinlemeye başlayacaktır.
⚙️ Kullanım
Sunucu çalıştırıldığında, MCP istemcileri aşağıdaki gibi bir istek göndererek string ifadeleri tersine çevirebilir:
{
"method": "ReverseString",
"params": {
"input": "Merhaba Dünya"
}
}
Sunucu, aşağıdaki gibi bir yanıt döndürecektir:
{
"result": "aynüD abahreM"
}
🤖 VSCode Copilot Entegrasyonu
Sunucu çalıştırıldıktan sonra Visual Studio Code'da Copilot eklentisini açarak agent modunda modelle etkileşim kurabilirsiniz. İlgili soruyu sorduğunuzda Copilot, bu sunucuya erişim sağlamak için gerekli MCP isteklerini gönderecek ve sunucudaki yönergelere göre işlemi sürdürecektir.
📁 Proje Yapısı
Program.cs: Sunucunun başlangıç noktası ve yapılandırmasıReverseTool.cs: String tersine çevirme işlevini içeren sınıf
📚 Kaynaklar
🤝 Katkıda Bulunun
Katkılarınızı memnuniyetle karşılıyoruz! Lütfen bir issue açın veya bir pull request gönderin.
📄 Lisans
Bu proje MIT lisansı altında lisanslanmıştır. Daha fazla bilgi için LICENSE dosyasına bakın.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.