longhao 576652571c fix: correct FastMCP interface usage and resolve lint issues
- Fix FastMCP server interface to use correct mcp.run() instead of app.run(host, port)
- Remove unnecessary host and port parameters, use standard STDIO transport
- Fix all ruff lint issues including import sorting and blank lines
- Update ruff configuration to new lint configuration format
- Fix type annotation issues using Union syntax (int | None)
- Ensure uvx pypi-query-mcp-server works correctly
- All tests pass and lint checks pass
2025-05-27 13:44:28 +08:00

14 lines
300 B
Python

"""PyPI Query MCP Server.
A Model Context Protocol (MCP) server for querying PyPI package information,
dependencies, and compatibility checking.
"""
__version__ = "0.1.0"
__author__ = "Hal"
__email__ = "hal.long@outlook.com"
from pypi_query_mcp.server import mcp
__all__ = ["mcp", "__version__"]