mcp-server-demo

mcp-server-demo

3.2

If you are the rightful owner of mcp-server-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This guide provides a step-by-step process to create and test a Model Context Protocol (MCP) server using Python, with tools like MCP Inspector and Claude Desktop.

The MCP Server Demo is a comprehensive guide designed to help users set up a Model Context Protocol (MCP) server. It includes detailed instructions on environment setup, server creation, and testing using MCP Inspector and Claude Desktop. The guide is based on the modelcontextprotocol/python-sdk and provides additional notes for clarity. Users will learn how to create a simple MCP server, add tools and resources, and test them using different platforms. The guide also covers installation and configuration of the MCP server in Claude Desktop, along with troubleshooting tips and FAQs.

Features

  • Step-by-step environment setup using uv package manager.
  • Creation of a simple MCP server with tools and resources.
  • Testing server functionality with MCP Inspector.
  • Integration and testing with Claude Desktop.
  • Troubleshooting and FAQs for common issues.

Tools

  1. add tool

    Used to calculate the sum of two numbers

  2. get_greeting resource

    Used to generate personalized greetings