server.py•694 B
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.8"
# dependencies = [
# "fastmcp>=0.3.0",
# "bitsight",
# "python-dotenv",
# "httpx"
# ]
# ///
"""
Birre
A Model Context Protocol (MCP) server that provides access to BitSight security rating data.
Can be run easily with uv:
uv run server.py
Or from GitHub:
uvx --from git+https://github.com/boecht/birre server.py
"""
import sys
import os
# Add src directory to Python path to allow imports
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
def main():
"""Main entry point for Birre MCP server."""
from birre.server import mcp
mcp.run()
if __name__ == "__main__":
main()