Skip to content

[TESTING]: Add integration tests using companion test MCP server #2

Description

@jonpspri

Background

The source worktree (mcp-context-forge branch cyberfraud-reverse-proxy-support) contains a companion test MCP server at tests/mcp-servers/python/test_reverse_proxy_mcp_server/ — a FastMCP-based multi-transport (stdio/HTTP/SSE) server designed for exercising the reverse proxy end-to-end.

Evaluation outcome (initial import, #1)

Excluded from the initial package import. Rationale:

  1. None of the 8 package unit-test files reference it (verified by grep) — unit coverage is self-contained.
  2. It is a standalone mini-project (own pyproject.toml/hatchling build, uv.lock, Makefile, test_server.sh) with a fastmcp dependency the library itself does not need.
  3. Importing it as-is would complicate CI for the initial import (nested package, extra dependency, no automated tests consuming it yet).

Proposed follow-up

  • Port the server (or a minimal equivalent) into tests/integration/ as a pytest fixture
  • Add fastmcp to an integration optional-dependency extra
  • Add an integration CI job (can be optional/non-blocking initially)
  • Source reference: tests/mcp-servers/python/test_reverse_proxy_mcp_server/ in mcp-context-forge

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingTesting: unit, manual, or new tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions