mcp_project
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp_projectshow me the top selling products"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Satış Danışmanı Agent (Gemini + FastMCP + Prisma)
agent.py ──stdio──> server.py (FastMCP) ──Prisma──> data.db (SQLite)
Gemini 8 tool synthetic_ecommerce_datasetAgent, MCP sunucusunu alt süreç olarak başlatır. Tool şemaları doğrudan Gemini'ye verilir; tool çağrılarını google-genai SDK'sının otomatik fonksiyon çağırma (AFC) mekanizması yürütür — elle bir tool döngüsü yazmaya gerek yok.
Kurulum
uv sync
uv run prisma generate # şema değiştiğinde tekrar çalıştır.env dosyasına Gemini anahtarını ekle:
DATABASE_URL="file:../data.db"
GEMINI_API_KEY="..."
GEMINI_MODEL="gemini-2.5-flash" # opsiyonelRelated MCP server: VTION E-Commerce MCP Server
Çalıştırma
uv run agent.py # sohbet arayüzü
uv run server.py # sadece MCP sunucusu (Claude Desktop vb. için)Tool'lar (server.py)
Tool | Ne yapar |
| 20 kategori, ürün sayısı, ortalama fiyat |
| Kategoriye göre ürünler + fiyat aralığı, satış adedi |
| İsim/kategori/bütçe filtresiyle arama |
| Tek ürün: fiyat, ciro, popüler şehirler, ödeme yöntemleri |
| En çok satanlar (adet veya ciro bazlı) |
| E-postaya göre sipariş geçmişi + özet |
| Sipariş no ile tek sipariş |
| Genel mağaza istatistikleri |
Hepsi salt-okunur. Yeni tool eklemek için server.py içine @mcp.tool ile bir
async fonksiyon yaz — docstring'i Gemini'nin gördüğü açıklamadır, o yüzden
tool'u ne zaman kullanacağını docstring'de anlat.
SDK notları (google-genai 2.15.0)
Canlı bir MCP ClientSession'ı Gemini'ye tool olarak vermek iki yerde patlıyor.
agent.py ikisini de baypas ediyor:
configdict olarak veriliyor,GenerateContentConfigobjesi olarak değil. SDK, config objesi aldığında MCP session'ını ayıklamadan önceconfig.model_copy(deep=True)yapıyor; canlı session deepcopy edilemediği içinTypeError: cannot pickle '_asyncio.Future'alıyorsun. Dict dalında bu kopyalama yok. Aynı sebepleclient.aio.chatskullanılamıyor (config'i her zaman objeye çevirir) — bu yüzden sohbet geçmişi elle yönetiliyor.SanitizedClientSessiontool şemalarını temizliyor. FastMCP şemaya"additionalProperties": falsekoyuyor; SDK'nın şema dönüştürücüsü bu alanı her zaman iç içe bir şema sanıpFalse.items()çağırıyor →AttributeError: 'bool' object has no attribute 'items'. Wrapper değil alt sınıf kullanmak şart, çünkü SDK session'ıisinstanceile tespit ediyor.
SDK sürümünü yükseltirken bu ikisinin hâlâ gerekli olup olmadığını kontrol et.
Veri notları
Tek tablo, 10.000 sipariş satırı (2024-03-20 → 2025-03-20), 20 kategori, 80 ürün.
Ayrı ürün/müşteri tablosu yok: katalog ve müşteri profili sipariş satırlarından türetiliyor. Bu yüzden "fiyat" sabit değil, geçmiş siparişlerin ortalaması.
Stok bilgisi yok — agent stok sorusuna cevap veremez.
Sentetik veri: aynı e-posta farklı isimlerle görünebilir.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables AI agents to explore and query a mock e-commerce store's data including customers, products, inventory, and orders through conversational interactions backed by PostgreSQL.Last updated
- Flicense-qualityCmaintenanceProvides secure, read-only access to VTION e-commerce analytics data through MCP protocol. Enables AI agents to query PostgreSQL databases, discover schemas, and analyze product, order, and customer data with automatic query validation and parallel execution.Last updated
- Flicense-qualityDmaintenanceProvides AI-powered tools for querying customer and order analytics, enabling order counting, customer listing by country, and spend calculation.Last updated
- Flicense-qualityCmaintenanceEnables querying ecommerce data (customers, products, orders, reviews) using natural language via Cortex Analyst and Cortex Search, with SQL execution capability, all exposed as MCP tools.Last updated
Related MCP Connectors
Read-only MCP server for Muovi, Argentina's trust-first local services marketplace (6 tools).
Run SOQL queries to explore and retrieve Salesforce data. Access accounts, contacts, opportunities…
Read-only access to your VortexIQ store data: audits, KPIs, alerts, Brand DNA, reports, Ask VIQ.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Farukomer21/mcp_project'
If you have feedback or need assistance with the MCP directory API, please join our Discord server