ehabhamdy/mcp-client-server-host-demo
3.2
If you are the rightful owner of mcp-client-server-host-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 dayong@mcphub.com.
The Model Context Protocol (MCP) server is a versatile tool designed to facilitate communication between models and clients, enabling efficient data exchange and processing.
MCP Server
Install the MCP server with:
fastmcp install claude-desktop --server-spec math_mcp.py:math_mcp
Run the MCP inspector with:
fastmcp dev --server-spec math_mcp.py:math_mcp
Run server with:
fastmcp run math_mcp.py:math_mcp
Run server with http transport:
fastmcp run math_mcp.py:math_mcp --transport http --port 8000
Run client with:
python client.py