mcpField
🔁
🔁 MCP Reverse String Server

🔁 MCP Reverse String Server

Local
github.com/kadirdundarDeveloper Tools0Updated 80w ago

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

  1. 01Reverses input strings
  2. 02Implements an MCP server
  3. 03Built with C# and .NET

Use cases

  1. 01Reverse text through an MCP client
  2. 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.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

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

  1. Depoyu Klonlayın:

    git clone https://github.com/kadirdundar/MCP.git
    cd mcp-reverse-string-server
    
  2. Gerekli NuGet Paketlerini Yükleyin: Proje dizininde aşağıdaki komutu çalıştırın:

    dotnet restore
    
  3. Projeyi Derleyin ve Çalıştırın:

    dotnet run
    

    Sunucu, 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

Markdown supported

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.