← Files Soprano ConnectARCHIVED FILE

src/mems_mcp/__init__.py

553 Bytes · Dec 5, 2026 · 01:22 UTC

↓ Download file

"""mems-mcp - Soprano Connect API MCP server.

Deliberately does NOT eagerly import `mems_mcp.server` here: that module has
process-wide import-time side effects (`truststore.inject_into_ssl()`,
building the `FastMCP` app, parsing `MCP_CLIENT_AUTH_MODE` env vars), which
should only happen when the server is actually being run/imported directly -
not merely because some other submodule was imported. The `mems-mcp` console
script points directly at `mems_mcp.server:main` (see pyproject.toml
`[project.scripts]`), so no re-export is needed here.
"""

SHA-256: 2790c132f6726639c708678900c4809c9febf495a8c5cd5eca427d1a76d1f98f