Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Products Server

FreeNot checked

Enables product management (add, fetch) through natural language using Claude Desktop and GitHub Copilot.

GitHubEmbed

About

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+
  • uv package 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

from github.com/lokesh1382/mcp-products-demo

Installing Products Server

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/lokesh1382/mcp-products-demo

FAQ

Is Products Server MCP free?

Yes, Products Server MCP is free — one-click install via Unyly at no cost.

Does Products Server need an API key?

No, Products Server runs without API keys or environment variables.

Is Products Server hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Products Server in Claude Desktop, Claude Code or Cursor?

Open Products Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Products Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs