WIP simplifying load/startup

This commit is contained in:
John Lancaster
2026-07-26 17:23:39 -05:00
parent 5e20f69cfe
commit 42ea105bee
30 changed files with 855 additions and 766 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
from fastapi import FastAPI
from personal_mcp.mcp import mcp
from personal_mcp.mcp import create_mcp
from personal_mcp.web.app import create_app as create_fastapi
__all__ = ["create_app", "main", "mcp"]
__all__ = ["create_app", "main"]
def create_app() -> FastAPI:
@@ -13,7 +13,7 @@ def create_app() -> FastAPI:
def main() -> None:
"""Run the root MCP server."""
mcp.run()
create_mcp().run()
if __name__ == "__main__":