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.shRun server in background:
scripts/run-server-bg.sh
# check logs
tail -f mcp.logRun tests:
scripts/run-tests.sh
# Or run a single test
scripts/run-tests.sh tests/test_server.py::test_mcp_server_connection -q