igorssh/mcp-python
3.1
If you are the rightful owner of mcp-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.
This repository contains a simple MCP server implementation for testing.
mcp-python (local test harness)
This repository contains a simple MCP server implementation for testing.
Helper scripts
scripts/run-server.sh— run the server in the foreground using the project's.venvPython.scripts/run-server-bg.sh— start the server in the background and redirect logs tomcp.log.scripts/run-tests.sh— run pytest with the.venvfirst on PATH so subprocesspythonresolves to the venv Python.
Usage examples
Run server in foreground:
scripts/run-server.sh
Run server in background:
scripts/run-server-bg.sh
# check logs
tail -f mcp.log
Run tests:
scripts/run-tests.sh
# Or run a single test
scripts/run-tests.sh tests/test_server.py::test_mcp_server_connection -q