Local Testing
Prerequisites
Install dependencies including test extras:
cd mcp_pykingenie
uv sync --extra test
Run all tests
uv run pytest -vv
Run a specific test
uv run pytest tests/test_app.py::test_mcp_server -vv
Inspect registered MCP tools
To verify which tools are registered on the live mcp instance:
uv run python - <<'PY'
import asyncio
from fastmcp import Client
import mcp_pykingenie
async def main():
async with Client(mcp_pykingenie.mcp) as c:
tools = await c.list_tools()
print([t.name for t in tools])
asyncio.run(main())
PY
Test with MCP Inspector
To launch the MCP Inspector against a local checkout, run:
npx @modelcontextprotocol/inspector uv --directory /Users/oburastero/Desktop/arise/mcp_pykingenie run mcp_pykingenie