mcp-server-demo
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 mcp-server-demo is a project designed to test and validate the MCP functionality of Dify using the MCP SSE/StreamableHTTP plugin. It provides a simple implementation to query CPU utilization on a Linux server.
The mcp-server-demo is a sample MCP server built using the streamable_http transport mode. It is designed to test and validate the MCP functionality of Dify by implementing a simple feature to query CPU utilization on a Linux server. The project demonstrates how to set up and run an MCP server that can interact with the MCP SSE/StreamableHTTP plugin. The server is implemented in Python and uses Flask and psutil libraries to handle HTTP requests and monitor system resources. The project includes instructions for setting up the environment, running the server, and configuring the MCP plugin for authorization.
Features
- Streamable HTTP Transport: Utilizes streamable_http mode for data transmission.
- CPU Utilization Query: Implements a simple function to query CPU usage on a Linux server.
- Python Environment: Supports Python versions 3.10, 3.11, and 3.12.
- Flask Integration: Uses Flask to handle HTTP requests.
- MCP Plugin Configuration: Provides guidance on configuring the MCP SSE/StreamableHTTP plugin.