Products Server
БесплатноНе проверенEnables product management (add, fetch) through natural language using Claude Desktop and GitHub Copilot.
Описание
Enables product management (add, fetch) through natural language using Claude Desktop and GitHub Copilot.
README
A hands-on Python project demonstrating Model Context Protocol (MCP) by building a product management server that integrates with Claude Desktop and GitHub Copilot.
🗂️ Project Structure
create_new_mcp/
│
├── mcp_server.py # MCP Server with tools, resource, and prompt template
├── add_product.py # DB logic to INSERT a product
├── fetch_products.py # DB logic to SELECT all products
├── db_connect.py # Database connection helper
├── .env # API keys and DB credentials (not committed)
├── .gitignore
└── README.md
⚙️ MCP Server — mcp_server.py
🔌 Configuration
Claude Desktop
Update claude_desktop_config.json:
{
"mcpServers": {
"products": {
"command": "uv.exe",
"args": [
"--directory", "C:\\path\\to\\create_new_mcp",
"run", "mcp_server.py"
]
}
}
}
GitHub Copilot
Update mcp.json with the same server details.
🚀 Getting Started
Prerequisites
- Python 3.10+
uvpackage manager- MySQL database
- Claude Desktop or GitHub Copilot
📚 Key Learnings
- ✅ MCP Tools are invoked directly by the LLM
- ✅ MCP Resources are fetched manually via host UI and injected into context
- ✅ Prompt Templates enable consistent prompt generation via
/command - ⚠️ MCP Sampling (server → LLM callback) is not yet supported by Claude Desktop or GitHub Copilot in practice
- 💡 Workaround for sampling: call Anthropic API directly from the MCP server
Установка Products Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/lokesh1382/mcp-products-demoFAQ
Products Server MCP бесплатный?
Да, Products Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Products Server?
Нет, Products Server работает без API-ключей и переменных окружения.
Products Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Products Server в Claude Desktop, Claude Code или Cursor?
Открой Products Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Products Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
