mcp-server-python

jf2021070309/mcp-server-python

3.1

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 henry@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 PathDescription
mcp_server.pyBasic MCP server implementation.
mcp_client_auto.pyAutomated MCP client for server testing.
.github/workflows/test-mcp.ymlGitHub 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.