A .NET-based Model Context Protocol (MCP) server application that compares grocery product prices across different markets in Turkey in real-time.
- Real-time price tracking for grocery products in Turkish markets
- Most affordable price identification with multi-market comparison
- Integration with MCP-compatible clients (like Claude and Cursor)
- .NET 8.0 Framework
- ModelContextProtocol package for data context management
git clone https://github.com/Eneswunbeaten/MarketPricesMCP.git
cd MarketPricesMCP
dotnet restore
dotnet build
This is an MCP server, not a traditional API. To use it, you need to integrate it with MCP-compatible client applications (like Claude or Cursor).
Add the following configuration to your claude_desktop_config.json
:
{
"mcpServers": {
"MarketPrices": {
"command": "dotnet",
"args": [
"run",
"--project",
"PATH_TO_YOUR_PROJECT/MarketPricesMCP/MarketPricesMCP/MarketPricesMCP.csproj",
"--no-build"
]
}
}
}
Replace PATH_TO_YOUR_PROJECT
with the actual path to your project directory.
For example: C://Users/username/Downloads
Cursor also supports MCP as a client. Follow these steps to integrate:
-
Open Cursor AI IDE
-
Go to Settings → Features → MCP
-
Click on Add New MCP Server
-
Fill in the configuration:
- Name:
MarketPrices
(or any name you prefer) - Type:
command
(for local process) - Command: Add the following command:
dotnet run --project "PATH_TO_YOUR_PROJECT/MarketPricesMCP/MarketPricesMCP/MarketPricesMCP.csproj" --no-build
Replace
PATH_TO_YOUR_PROJECT
with your actual project path - Name:
-
Click Add to save
-
Verify that the server indicator in Cursor turns green (indicating successful connection)
Troubleshooting Cursor Integration:
- If you encounter a "no tools found" error, make sure you have Node.js installed (includes npm)
- Verify the MCP server is running correctly
- Check that the path to your project file is correct
Configure the system to point to the MCP server's executable or project file according to the system's requirements.
How to use:
- Enter only the product name in Turkish (e.g., "salatalık", "domates", "süt")
- The tool will search across major Turkish grocery markets to find the best price
- Results include price comparison across multiple stores
The Market Prices MCP server provides the following context types:
Title
- Information about a specific productBrand
- Brand informationPrice
- Product Price AmountMarket
- Name from Product's market

Working principle in Visual Studio Code Copilot

Output in Visual Studio Code Copilot
Model Context Protocol (MCP) kullanılarak .NET ile geliştirilmiş, Türkiye'deki farklı marketlerdeki ürün fiyatlarını gerçek zamanlı olarak karşılaştıran bir sunucu uygulaması.
- Türk marketlerindeki market ürünleri için gerçek zamanlı fiyat takibi
- En uygun fiyat tespiti ile çoklu market karşılaştırması
- MCP uyumlu istemcilerle (Claude ve Cursor gibi) entegrasyon
- .NET 8.0 Framework
- Veri context yönetimi için ModelContextProtocol paketi
git clone https://github.com/Eneswunbeaten/MarketPricesMCP.git
cd MarketPricesMCP
dotnet restore
dotnet build
Bu bir MCP sunucusudur, geleneksel bir API değildir. Kullanmak için MCP uyumlu istemci uygulamalarla (Claude veya Cursor gibi) entegre etmeniz gerekmektedir.
claude_desktop_config.json
dosyanıza aşağıdaki yapılandırmayı ekleyin:
{
"mcpServers": {
"MarketPrices": {
"command": "dotnet",
"args": [
"run",
"--project",
"PROJE_YOLUNUZ/MarketPricesMCP/MarketPricesMCP/MarketPricesMCP.csproj",
"--no-build"
]
}
}
}
PROJE_YOLUNUZ
kısmını kendi proje dizininizin gerçek yolu ile değiştirin.
Örneğin: C://Users/kullaniciadi/Downloads
Cursor da MCP protokolünü desteklemektedir. Entegrasyon için şu adımları izleyin:
-
Cursor AI IDE'yi açın
-
Ayarlar → Özellikler → MCP yolunu izleyin
-
Yeni MCP Sunucusu Ekle düğmesine tıklayın
-
Yapılandırmayı doldurun:
- İsim:
MarketPrices
(veya istediğiniz bir isim) - Tür:
command
(yerel işlem için) - Komut: Aşağıdaki komutu ekleyin:
dotnet run --project "PROJE_YOLUNUZ/MarketPricesMCP/MarketPricesMCP/MarketPricesMCP.csproj" --no-build
PROJE_YOLUNUZ
kısmını gerçek proje yolunuzla değiştirin - İsim:
-
Kaydetmek için Ekle'ye tıklayın
-
Cursor'daki sunucu göstergesinin yeşil olduğunu doğrulayın (başarılı bağlantı anlamına gelir)
Cursor Entegrasyonu Sorun Giderme:
- "araç bulunamadı" hatası alırsanız, .Net'in kurulu olduğundan emin olun.
- MCP sunucusunun doğru çalıştığını kontrol edin
- Proje dosya yolunun doğru olduğundan emin olun
Sistemi, MCP sunucusunun yürütülebilir dosyasına veya proje dosyasına işaret edecek şekilde sistemin gereksinimlerine göre yapılandırın.
Nasıl kullanılır:
- Sadece Türkçe olarak ürün adını girin (örn. "salatalık", "domates", "süt")
- Araç, en iyi fiyatı bulmak için büyük Türk marketlerini tarayacaktır
- Sonuçlar, birden fazla mağaza arasında fiyat karşılaştırması içerir
Market Fiyatları MCP sunucusu aşağıdaki bağlam türlerini sağlar:
Title
- Belirli bir ürün hakkında bilgiBrand
- Marka bilgisiPrice
- Ürün fiyat tutarıMarket
- Ürünün market adı

Visual Studio Code Copilot Üzerindeki Çalışma prensibi

Visual Studio Code Copilot Üzerindeki Çıktısı