jf2021070309/mcp-server-python
If you are the rightful owner of mcp-server-python 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 MCP Server Python Demo provides a basic implementation of a Model Context Protocol (MCP) server and an automated client for testing, with continuous integration using GitHub Actions.
🖧 MCP Server Python Demo
A simple implementation of an MCP server and an automated client for testing, featuring continuous integration with GitHub Actions.
Author:
📝 Jaime Elias Flores Quispe
📁 Files
| File Path | Description |
|---|---|
mcp_server.py | Basic MCP server implementation. |
mcp_client_auto.py | Automated MCP client for server testing. |
.github/workflows/test-mcp.yml | GitHub Actions workflow for automated tests. |
▶️ Local Testing
Step 1: Start the MCP server
python mcp_server.py
Step 2: In another terminal, start the automated client
python mcp_client_auto.py
⚙️ Automated CI Workflow
Every time you push code or open a pull request,
the GitHub Actions workflow will automatically:
- Start the MCP server.
- Run the automated MCP client.
- Verify that the server responds correctly.
You can monitor the results under the Actions tab of your repository.