FossilRepo

fossilrepo / mcp_server / __main__.py
Source Blame History 19 lines
c588255… ragelink 1 """Entry point for the fossilrepo MCP server.
c588255… ragelink 2
c588255… ragelink 3 Usage:
c588255… ragelink 4 python -m mcp_server
c588255… ragelink 5 fossilrepo-mcp (via pyproject.toml script entry)
c588255… ragelink 6 """
c588255… ragelink 7
c588255… ragelink 8 import asyncio
c588255… ragelink 9
c588255… ragelink 10 from mcp_server.server import main
c588255… ragelink 11
c588255… ragelink 12
c588255… ragelink 13 def run():
c588255… ragelink 14 """Synchronous entry point for pyproject.toml [project.scripts]."""
c588255… ragelink 15 asyncio.run(main())
c588255… ragelink 16
c588255… ragelink 17
c588255… ragelink 18 if __name__ == "__main__":
c588255… ragelink 19 run()

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button