Skip to content

[codex] harden python mcp server starter#45

Merged
heznpc merged 1 commit into
mainfrom
codex/python-mcp-server-starter-hardening-20260622
Jun 22, 2026
Merged

[codex] harden python mcp server starter#45
heznpc merged 1 commit into
mainfrom
codex/python-mcp-server-starter-hardening-20260622

Conversation

@heznpc

@heznpc heznpc commented Jun 22, 2026

Copy link
Copy Markdown
Member

Summary

  • tighten package metadata and console-script startup so installed runs use the tested wrapper
  • make MCP stdio startup explicit and normalize blank-looking tool/prompt inputs
  • add runtime contract tests and align README/CI commands with the actual validation surface

Verification

  • .venv/bin/python -m pytest -v --cov=my_mcp_server --cov-report=term-missing --cov-fail-under=70
  • .venv/bin/python -m ruff check .
  • .venv/bin/python -m ruff format --check .
  • .venv/bin/python -m mypy src/
  • .venv/bin/python -m build
  • .venv/bin/pip-audit . --strict
  • .venv/bin/pip-licenses --fail-on="GPL-2.0;GPL-3.0;AGPL-3.0"
  • printf "" | .venv/bin/python -m my_mcp_server
  • printf "" | .venv/bin/my-mcp-server

@heznpc heznpc merged commit fcf11b8 into main Jun 22, 2026
10 checks passed
@heznpc heznpc deleted the codex/python-mcp-server-starter-hardening-20260622 branch June 22, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant