chaitanya1731/mcp-server-demo
3.1
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.
The Model Context Protocol (MCP) server is a versatile tool designed to facilitate the development and testing of server applications using the MCP framework.
MCP Server Demo
Running the Server
There are several ways to run MCP server:
1. Development Mode with MCP Inspector
The easiest way to test server is using the MCP Inspector:
mcp dev server.py
This runs server locally and connects it to the MCP Inspector, a web-based tool that lets you interact with server's tools and resources directly. This is great for testing.
2. Direct Execution (only needed or SSE)
Run the server directly:
# Method 1: Running as a Python script
python server.py
# Method 2: Using UV (recommended)
uv run server.py
Finally run clients:
# Running as a Python script
python client-sse.py