MCP Products Server
Provides access to product management tools and resources via GitHub Copilot integration.
Supports database operations for product management, including inserting and fetching products.
Click on "Deploy 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 Products Serveradd a new product named 'Wireless Mouse' with price $25.99"
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.
š MCP Products Server
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.mdRelated MCP server: ClickUp MCP Server
āļø 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 managerMySQL 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
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage product translations from Claude and ship reviewed changes as GitHub pull requests.
Bring meeting decisions, tasks and user stories into your AI editor (Claude, Cursor, Copilot).
Manage product ideas, decisions, and customer signals from AI assistants with NLQ
Persistent context for Claude. Your AI always knows your projects and next actions across sessions.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceProduct management copilot that connects Claude to HelpScout support tickets and ProductLift feature requests. Synthesizes customer feedback across sources, scores themes by convergence, and generates prioritized product plans.30MIT
- AlicenseAqualityDmaintenanceEnables natural language management of ClickUp workspaces, including task CRUD operations, task listing, and user profile retrieval via Claude Desktop.61MIT
- FlicenseNot gradedqualityDmaintenanceEnables natural language product management (CRUD) with multiple classification methods, including LLM-based and fast ML classifiers, for product creation, listing, updating, and deletion via a chat interface.1-
- FlicenseNot gradedqualityDmaintenanceTurns Claude Desktop into a Cursor-like assistant for code browsing, editing, searching, linting, formatting, and version control.-